Building 1.0 on 64-bit Fedora failed
Hello,
MuseScore 1.0 on 64-bit fedora 14.
I followed the instruction for compiling trunk on Ubuntu, installed qt-sdk, all needed libraries, libsndfile, but compilation failed:
...
Linking CXX shared library libqtscript_gui.so
make[3]: Opuszczenie katalogu `/home/piter/Pobrane/mscore-1.0/build'
[ 95%] Built target qtscript_gui
make[2]: Opuszczenie katalogu `/home/piter/Pobrane/mscore-1.0/build'
make[1]: *** [all] Błąd 2
make[1]: Opuszczenie katalogu `/home/piter/Pobrane/mscore-1.0/build'
make: *** [release] Błąd 2
So, cd to build and tried make:
[piter@localhost build]$ make
[ 0%] Built target al
[ 3%] Built target awl
[ 6%] Built target awlplugin
[ 6%] Built target ltest
[ 6%] Built target bww
[ 6%] Built target bww2mxml
[ 6%] Built target osdabzip
[ 6%] Built target rtf2html
[ 11%] Built target genft
[ 11%] Built target qtsingleapp
[ 12%] Built target fluid
Linking CXX executable mscore
/usr/bin/ld: CMakeFiles/mscore.dir/alsa.cpp.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [mscore/mscore] Błąd 1
make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Błąd 2
make: *** [all] Błąd 2
Thanks for any help!
Comments
Apparently MuseScore 1.0 has been compiled for F15 both 32 and 64 bits here : https://admin.fedoraproject.org/pkgdb/applications/Musescore
You might want to ask more info there.
Here is the git source with maybe specific patches : http://pkgs.fedoraproject.org/gitweb/?p=mscore.git;a=summary
In reply to Apparently MuseScore 1.0 has by [DELETED] 5
Thanks for the answer, but I couldn't install fedora15 package on my machine due some missing dependencies.
BTW. I'm not sure why there's a package for fedora15 which is not even released yet, and there are no such packages for 13 or 14?
p
By executing
export VERBOSE=TRUE
and capturing the output of the build command in a file I managed to capture the failing build command.
I added to the end of the build command:
-l pthread -lrt
I cd'd to the directory in which it failed (I think it was ........./build/mscore ) and executed the adjusted build command -
and I had built the mscore binary. Seems to do the notation and printing stuff OK. Still strugging with voices on
Bach-style piano-score - bujt that is probably my fault.
Good luck!
Tom Lake