mscore

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
chakuari
Posts: 38
Joined: 14. May 2011, 09:30
Contact:

mscore

Post by chakuari »

Hello.

I recently upgraded my Salix 13.37 XFCE edition to 14.0, and gradually substituted the programs removed during the operation. I now tried to install mscore, found on Sourcery. It does not compile, and the problem is that I don't know why: when I click the button to see the log file, it's completely blank, so I don't know what have gone wrong.

Any hint?

Antonio
User avatar
gapan
Salix Wizard
Posts: 6364
Joined: 6. Jun 2009, 17:40

Re: mscore

Post by gapan »

Seems to compile with no problems here. See that you have cmake and qt installed, as it needs both.
Image
Image
User avatar
chakuari
Posts: 38
Joined: 14. May 2011, 09:30
Contact:

Re: mscore

Post by chakuari »

Hi, Gapan!

Yes, I have both. Actually I don't know why the log is empty. Before the upgrade I could see all messages, I wonder if something have gone wrong with this upgrade.

I also tried Slacky.eu, but mscore is listed only for 13.37.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: mscore

Post by laprjns »

Try building and installing mscore using the command line equivalent to sourcery, slapt-src. In a terminal as root do:

Code: Select all

root[rich]# slapt-src --install mscore
If it still doesn't build, post the last dozen lines that were outputted to the terminal.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
chakuari
Posts: 38
Joined: 14. May 2011, 09:30
Contact:

Re: mscore

Post by chakuari »

Here they are:

Code: Select all

47: warning: 'jack_client_t* jack_client_new(const char*)' is deprecated (declared at /usr/include/jack/jack.h:122) [-Wdeprecated-declarations]
[ 32%] Building CXX object mscore/CMakeFiles/mscore.dir/jackweakapi.cpp.o
Linking CXX executable mscore
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: CMakeFiles/mscore.dir/alsa.cpp.o: undefined reference to symbol 'pthread_join@@GLIBC_2.0'
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [mscore/mscore] Error 1
make[3]: Leaving directory `/usr/src/slapt-src/multimedia/mscore/mscore-1.2/build'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/usr/src/slapt-src/multimedia/mscore/mscore-1.2/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/slapt-src/multimedia/mscore/mscore-1.2/build'
make: *** [release] Error 2
fakeroot -- sh mscore.SlackBuild Failed
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: mscore

Post by laprjns »

It builds on my 14.0 here, but I installed 14.0 from the iso, not upgraded from 13.37. This seems to be the relevant part of output log:

Code: Select all

/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: note: 'pthread_join@@GLIBC_2.0' is defined in DSO /lib/libpthread.so.0 so try adding it to the linker command line
/lib/libpthread.so.0: could not read symbols: Invalid operation
There appears to be a problem with linking libpthreads. As I said, I'm not haveing any problems compiling mscore here, so there must be something wrong with your system. Maybe something didn't get installed or upgraded when you upgraded from 13.37 to 14.0.
This in now officially over my head, but until someone who knows what they are doing comes along, lets see if you have libpthread.so installed.
Post the output of ldconfig -p | grep libpthreads. Here's what I get:

Code: Select all

root[rich]# ldconfig -p | grep libpthread.so
	libpthread.so.0 (libc6, OS ABI: Linux 2.6.32) => /lib/libpthread.so.0
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
chakuari
Posts: 38
Joined: 14. May 2011, 09:30
Contact:

Re: mscore

Post by chakuari »

The same output:

Code: Select all

root[antonio]# ldconfig -p | grep libpthread.so
	libpthread.so.0 (libc6, OS ABI: Linux 2.6.32) => /lib/libpthread.so.0
I thought it was a problem during the upgrade too. Maybe there have been a change in the compiler and something got messed up?
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: mscore

Post by laprjns »

How about the output of ls -l /lib/libpthread*
rich[~]$ ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 120185 Sep 17 16:35 /lib/libpthread-2.15.so
lrwxrwxrwx 1 root root 18 Nov 26 13:20 /lib/libpthread.so.0 -> libpthread-2.15.so
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
chakuari
Posts: 38
Joined: 14. May 2011, 09:30
Contact:

Re: mscore

Post by chakuari »

This one returns:

Code: Select all

root[antonio]# ls -l /lib/libpthread*
-rwxr-xr-x 1 root root 117363 Aug 30 03:04 /lib/libpthread-2.13.so
-rwxr-xr-x 1 root root 120185 Sep 17 22:35 /lib/libpthread-2.15.so
lrwxrwxrwx 1 root root     18 Dec 30 19:26 /lib/libpthread.so.0 -> libpthread-2.15.so
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: mscore

Post by mimosa »

I wonder if the reference in the output a couple of posts back to the 2.6.32 kernel could be relevant? That is the 13.37 kernel - so maye it's an indication of something that didn't get upgraded properly?

EDIT

No obviously not because laprjns has the same output. :oops:
Post Reply