LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-27-2019, 01:16 PM   #1831
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,638

Rep: Reputation: Disabled

@Nille_kungen I'm very sorry, but I think I gave you bad advice by mistake.

Upon testing a compat32 pkg-config package I noticed my "/usr/lib/pkgconfig" directory vanished, I then noticed the doinst.sh in for the compat32 package...

Code:
    mv usr/lib/pkgconfig/$movefile usr/share/pkgconfig 1> /dev/null 2> /dev/null
Reinstalling your multilib packages should rectify this if you are suffering the same problem. Again sorry about this!

Edit: Actually for me it just moved /usr/lib/pkgconfig into /usr/share/pkgconfig...

Last edited by orbea; 04-27-2019 at 01:22 PM.
 
Old 04-27-2019, 02:11 PM   #1832
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 498

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by orbea View Post
That is unfortunate...I'll have to try to reproduce this later. Since SBo does not officially support multilib I only tested it with clean 32-bit and 64-bit installs before submitting it and missed this problem.

In the meantime you should be able to get it to work with using pkgconf instead of pkg-config which works here at least.

https://slackbuilds.org/repository/1...pment/pkgconf/

Please make sure to read the README if you follow this route as it replaces the default pkg-config package.
I know that multilib isn't officially supported but this is one of the few packages that is very likely to be used with multilib.
I need to rest my mind a bit from this right now but i might try pkgconf later, it starting to give me a headache.
I'm very pleased for your help.
 
Old 04-27-2019, 02:51 PM   #1833
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,638

Rep: Reputation: Disabled
I agree that this should work, but there are some details I didn't foresee with pkg-config in a multilib environment. On the other hand supporting this with pkgconf was trivial...
 
Old 04-27-2019, 03:40 PM   #1834
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,638

Rep: Reputation: Disabled
Here are the steps I took to build wine-nine-standalone with pkg-config on a multilib system.

Code:
wget http://mirrors.slackware.com/slackware/slackware-current/slackware/d/pkg-config-0.29.2-i586-2.txz
convertpkg -i pkg-config-0.29.2-i586-2.txz
mkdir tmpdir
mv pkg-config-compat32-0.29.2-x86_64-2compat32.txz tmpdir/
cd tmpdir
explodepkg pkg-config-compat32-0.29.2-x86_64-2compat32.txz
rm install/doinst.sh pkg-config-compat32-0.29.2-x86_64-2compat32.txz
mv usr/bin/32/i586-slackware-linux-gnu-pkg-config usr/bin/i586-slackware-linux-gnu-pkg-config
makepkg -l y -c n ../pkg-config-compat32-0.29.2-x86_64-2compat32.txz
installpkg ../pkg-config-compat32-0.29.2-x86_64-2compat32.txz
At this point providing a fixed compat32 pkg-config package is out of my hands and out of scope for this thread. I let Alien Bob know about this in his blog and we'll see what happens.

In the meantime it might be easier to just use pkgconf where a compat32 package is not needed. I personally haven't noticed any regressions in regards to pkg-config and it should be a drop in replacement.

Last edited by orbea; 04-27-2019 at 03:43 PM.
 
Old 04-27-2019, 07:04 PM   #1835
Nille_kungen
Member
 
Registered: Jul 2005
Posts: 498

Rep: Reputation: 164Reputation: 164
@orbea I uninstalled pkg-config and installed pkgconf then reinstalled multilib to fix what was broken by the bad 32-bit pkg-config then i was able to build wine-nine-standalone-0.4.
pkgconf did the trick for me.
I don't need to export PATH="/usr/bin/32:$PATH" for it to build, it just works.

Last edited by Nille_kungen; 04-27-2019 at 07:22 PM.
 
Old 04-29-2019, 02:06 PM   #1836
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32
Posts: 320

Rep: Reputation: 24
Latest Kicad 5.1.2 and boost

-DBoost_NO_BOOST_CMAKE=ON

seems to resolve the compilation problem I met today.

Thanks for those involved !
Thanks Orbea !

Last edited by brodo; 04-29-2019 at 02:11 PM.
 
Old 04-29-2019, 02:10 PM   #1837
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,638

Rep: Reputation: Disabled
Same issue as described in this post.

Try adding this as a cmake argument in the SlackBuild.

Code:
-DBoost_NO_BOOST_CMAKE=ON
 
Old 05-11-2019, 08:02 PM   #1838
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 552

Rep: Reputation: 148Reputation: 148
Recent upgrade to Swig-4.0.0 is not without pain...

Compilation of the ViennaRNA package creates the following python bridges, both on slackware64-14.2 and -current (pre-04052019):
Quote:
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/RNA/
usr/lib64/python2.7/site-packages/RNA/__init__.py
usr/lib64/python2.7/site-packages/_RNA.so
usr/lib64/python3.7/
usr/lib64/python3.7/site-packages/
usr/lib64/python3.7/site-packages/RNA/
usr/lib64/python3.7/site-packages/RNA/__init__.py
usr/lib64/python3.7/site-packages/RNA/__pycache__/
usr/lib64/python3.7/site-packages/RNA/__pycache__/__init__.cpython-37.opt-1.pyc
usr/lib64/python3.7/site-packages/RNA/__pycache__/__init__.cpython-37.pyc
usr/lib64/python3.7/site-packages/_RNA.cpython-37m-x86_64-linux-gnu.so

Since the upgrade in Slackware64-current to swig-4 (and gcc-9.1), compilation of ViennaRNA still works but the creation of the python-3 module halts and breaks the process (https://github.com/ViennaRNA/ViennaRNA/issues/54)

Improvements in swig-4 mentioned here https://github.com/swig/swig/issues/1486 might thus affect compiling python wrappers for other software.

Last edited by brobr; 05-11-2019 at 08:04 PM.
 
Old 05-12-2019, 09:53 AM   #1839
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,638

Rep: Reputation: Disabled
FreeImage-3.17.0 does not build with either gcc9 or clang8, the newer 3.18.0 builds with the existing script after the patch which does not apply anymore is removed.

http://downloads.sourceforge.net/fre...eImage3180.zip
 
Old 05-12-2019, 10:42 AM   #1840
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,792

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
FreeImage-3.17.0 does not build with either gcc9 or clang8, the newer 3.18.0 builds with the existing script after the patch which does not apply anymore is removed.

http://downloads.sourceforge.net/fre...eImage3180.zip
thanks, pushed!
 
Old 05-13-2019, 05:53 AM   #1841
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 976

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
what's wrong with boost in -current? A lot of stuff breaks. For example ncbi-blast+ or the Genome Workbench, for which I am considering to submit a SlackBuild...
 
Old 05-13-2019, 06:16 AM   #1842
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,792

Original Poster
Rep: Reputation: Disabled
it may be that they are just incompatible with the newer 1.70 version: if you try to build ncbi-blast+ you got this in the configure output
Code:
checking Boost version... 1_70
configure: WARNING: Untested Boost version; may prove incompatible.
configure: WARNING: If so, please re-run this script with the flag --without-boost.
so you can try adding that configure flag, it will most probably help.

I've not tested the genome workbench myself but it might be something similar...
 
1 members found this post helpful.
Old 05-13-2019, 06:23 AM   #1843
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 976

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
yes, ncbi-blast+ builds fine with the --without-boost option. However, it seems that boost is needed for the Genome Workbench GUI...
 
Old 05-13-2019, 08:14 AM   #1844
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,792

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by solarfields View Post
yes, ncbi-blast+ builds fine with the --without-boost option. However, it seems that boost is needed for the Genome Workbench GUI...
if I were you I would try to submit a bug report to the gbench developers, as their configure seem to have a "--without-boost" option available: if it doesn't work/won't build with the newer boost, it's better if they are aware about it...
 
1 members found this post helpful.
Old 05-13-2019, 08:49 AM   #1845
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 976

Rep: Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544Reputation: 544
Quote:
if I were you I would try to submit a bug report to the gbench developers, as their configure seem to have a "--without-boost" option available: if it doesn't work/won't build with the newer boost, it's better if they are aware about it...
yep

however, i will first try to find time to update my scripts already part of SBo, before I test build/submit anything new
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo


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] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

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

All times are GMT -5. The time now is 04:16 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