Musescore 1.2 won't compile - doesn't detect ALSA

• Apr 10, 2012 - 02:43

I'm trying to compile the latest version of Musescore on Fedora 16, and I've hit a roadblock. Here's the output from "make release": http://pastebin.com/0p6Dx7Kf

One of the messages is something like "Fatal Error, Alsa >= 1.0.0 required", but I definitely have the default version of alsa, 1.0.24. Does anyone know why it isn't detecting alsa?


Comments

In reply to by [DELETED] 5

I tried the download link for fedora devel, but it's broken :(
Sure enough, i get...

$ pkg-config --modversion alsa
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
$

Do I have to somehow reinstall ALSA to get pkg-config to recognize it?

In reply to by [DELETED] 5

UPDATE:
Found out the problem was that I didn't have the alsa or jack devel packages installed. That fixes that problem! Now on to the next one:

-- CMAKE_CXX_COMPILER_ID:GNU
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTWEBKIT_INCLUDE_DIR (ADVANCED)
<\code>
I can't make heads or tails of this one... any ideas?

In reply to by [DELETED] 5

cmake version 2.8.7
Installed qtwebkit and qtwebkit-devel and it starts to compile!!!! But another error appears:

make[3]: Entering directory `/home/david/Downloads/mscore-1.2/build'
Scanning dependencies of target bww2mxml
In file included from /usr/include/features.h:387:0,
from /usr/include/stdio.h:28,
from all.h:24:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.
<\code>
I did a whatprovides on */gnu/stubs-32.h and it looks like I've got the package providing stubs-64.h Is it safe to install the i686 package that provides stubs-32 on my x86_64 system? Or is there a way to make it use stubs-64.h?

In reply to by limescout

Hard to tell why it doesn't compile here. You could try to run make release VERBOSE=1.

On the other hand, you might not need to compile the Qt bindings like libqtscript_gui if you have qtscriptbindings installed. Change set(BUILD_SCRIPTGEN TRUE) to set(BUILD_SCRIPTGEN FALSE) in mscore/CMakeLists.txt line 35.

In reply to by [DELETED] 5

Alright, I tried doing it without compiling the QT bindings without much change. I switched that back on and compilied with VERBOSE=1, the log file is attached. Still looks like a bunch of mumbo-jumbo to me. Sorry this is late, I'm greatful that you're helping me so much with this.

Attachment Size
NEW_LOG.txt 1.76 MB

Do you still have an unanswered question? Please log in first to post your question.