LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-16-2019, 12:32 PM   #1
glupa4e
Member
 
Registered: Jan 2011
Posts: 248

Rep: Reputation: 2
Unhappy Upgrade of mpd and icecast fails


Hi,
I am sorry to disturb You. I wanted to upgrade mpd and icecast versions that i have on my Slackware 14.2 64bit. My attempts fail and i suppose that is because i have multilib enabled.

I downloaded the mpd from here . I also downloaded the slackbuild from slackbuilds.org. After unzipping the SlackBuild and copying the mpd source into that folder i edited the mpd.SlackBuild file, where a corrected the version to be 0.21.4 and also added
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lnsl" \
because this used to help me previously. So when i ran
Code:
ISO9660=yes SOUNDCLOUD=yes RECORDEROUTPUT=yes ZZIPLIB=yes ID3=yes FLAC=yes SQLITE=yes ./mpd.SlackBuild
i got the error
Code:
mpd-0.21.4/valgrind.suppressions
mpd-0.21.4/win32/
mpd-0.21.4/win32/build.py
mpd-0.21.4/win32/meson.build
mpd-0.21.4/win32/res/
mpd-0.21.4/win32/res/meson.build
mpd-0.21.4/win32/res/mpd.ico
mpd-0.21.4/win32/res/mpd.rc.in
./mpd.SlackBuild: line 81: ./configure: No such file or directory
Line 81 of the file mpd.SlackBuild contains the line
Code:
CFLAGS="$SLKCFLAGS" \
I cannot figure out where the compiler is searching for what.


Similar situation with Icecast.
The source i downloaded from here. The SlackBuild as usual from slackbuilds. Again correction of the version and adding the following lines to icecast.Slackbuild
Code:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
./configure \
  --prefix=/usr \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --build=$ARCH-slackware-linux
Then running
Code:
./icecast.SlackBuild
returns the error:
Code:
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libssl.a when searching for -lssl
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libcrypto.so when searching for -lcrypto
/usr/lib64/gcc/x86_64-slackware-linux/5.5.0/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib/libcrypto.a when searching for -lcrypto
/usr/lib/libcurl.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:521: recipe for target 'icecast' failed
make[3]: *** [icecast] Error 1
make[3]: Leaving directory '/tmp/SBo/icecast-2.4.4/src'
Makefile:604: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/icecast-2.4.4/src'
Makefile:498: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/icecast-2.4.4'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2
Could someone help me?
 
Old 02-16-2019, 03:19 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,436

Rep: Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689Reputation: 5689
Quote:
Originally Posted by glupa4e View Post
Line 81 of the file mpd.SlackBuild contains the line
Code:
CFLAGS="$SLKCFLAGS" \
Line 81 is the first of a multi-line command, as obviated by the backslashes at the end of this and the next couple of lines.
Apparently the tarball you downloaded does not contain a configure script. I downloaded the source tarball, it looks like they switched to meson instead.
 
1 members found this post helpful.
Old 02-16-2019, 04:29 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 8,727

Rep: Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732Reputation: 3732
Yeah they switched to Meson.

I use this on -current.

https://github.com/duganchen/my_slac...mpd.SlackBuild

(Note: requires Meson and Ninja).

Last edited by dugan; 02-16-2019 at 09:41 PM.
 
2 members found this post helpful.
Old 02-17-2019, 01:06 PM   #4
glupa4e
Member
 
Registered: Jan 2011
Posts: 248

Original Poster
Rep: Reputation: 2
Thank You guys!

I have upgraded ninja and meson packages. All good.

Then i copied the file from the link that dugan posted. When i started the Slackbuild, i got the message that i need at least gcc 6 to accomplish the build. As i have gcc 5.5 that was not possible.

Using slackpkg i tried to make an upgrade-all. Then i found in the list of packages that there is no option to upgrade to gcc 6 from the repositories i am using - multilib and alienbob (actually slackpkg+).

Well i think i should wait until Slackware 15 has been released and then i should install everything from scratch again and hopefully then use the latest version of those package.

Unless You have other ideas?
 
Old 02-17-2019, 02:33 PM   #5
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,440

Rep: Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069
You can build a more recent GCC locally and point to it in the SlackBuild script using environment variables if you are really intent on upgrading these packages. I don't recommend upgrading the system GCC.
 
Old 02-18-2019, 01:22 PM   #6
glupa4e
Member
 
Registered: Jan 2011
Posts: 248

Original Poster
Rep: Reputation: 2
Thanks for the advice montagdude, i won't do that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.2 multilib - Unable to upgrade mpd via sbopkg glupa4e Slackware 2 01-26-2017 01:43 PM
Slackware 14.2 multilib - Icecast fails to build glupa4e Slackware 6 01-04-2017 06:55 AM
Icecast and xslt-config problem tuxrules Linux - Newbie 6 08-13-2010 06:28 AM
Sound in mpd after an upgrade to 13.0 alkos333 Slackware 2 09-08-2009 10:59 PM
Audio streaming with Icecast and Ices2 - Manual Playlist arrange? checho_interbild Linux - Software 1 05-23-2007 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration