Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
05-25-2009, 04:56 AM
|
#16
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,592
|
Technically the way I posted sometimes doesn't work either ... I know, I wish the cmake options were more standardized and worked every time, kinda like standard automake system, I don't remember the last time that failed me.
|
|
|
|
05-25-2009, 09:02 AM
|
#17
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,933
|
I compiled some stuff for my own use, if you need something (patch, edited slackbuilds or precompiled binaries for x86_64), just have a look here.
nothing original, mostly stuff taken from slackbuilds.org with a few additions, but hope it can be useful.
Last edited by ponce; 07-26-2009 at 04:57 AM.
|
|
|
|
05-25-2009, 10:05 AM
|
#18
|
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Original Poster
|
Quote:
Originally Posted by poncez
I compiled some stuff for my own use, if you need something (patch, edited slackbuilds or precompiled binaries for x86_64), just have a look here.
nothing original, mostly stuff taken from slackbuilds.org with a few additions, but hope it can be useful.
|
Your devede package puts what should be in /usr/lib64/devede/* to /usr/lib. Devede needs --libdir=/usr/lib64 --pkglibdir=/usr/lib64 passed to the ./install.sh
I looked at a couple of your other SlackBuilds. Quite a few have errors. glibmm.SlackBuild is missing the ARCH=${ARCH:-x86_64} field (no arch at all is defined), there are also no CLAGS defined for x86_64, so even if you pass ARCH=x86_64 to the script, you'd miss at least -fPIC. x264 is the same, as is cairomm. I didn't look at all of them.
I'd do a little more editing on them. Nice collection so far 
|
|
|
|
05-25-2009, 10:10 AM
|
#19
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,592
|
In case anyone want to know I always use this to compile any libraries for my 64-bit system:
Code:
./configure --prefix=/usr --libdir=/usr/lib64
and ffmpeg needs something special:
Code:
./configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
otherwise the .so shared libs will be installed in /usr/lib.
|
|
|
|
05-25-2009, 10:14 AM
|
#20
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,933
|
Quote:
Originally Posted by disturbed1
Your devede package puts what should be in /usr/lib64/devede/* to /usr/lib. Devede needs --libdir=/usr/lib64 --pkglibdir=/usr/lib64 passed to the ./install.sh
|
yeah, tnx for fixing
Quote:
I looked at a couple of your other SlackBuilds. Quite a few have errors. glibmm.SlackBuild is missing the ARCH=${ARCH:-x86_64} field (no arch at all is defined), there are also no CLAGS defined for x86_64, so even if you pass ARCH=x86_64 to the script, you'd miss at least -fPIC. x264 is the same, as is cairomm. I didn't look at all of them.
I'd do a little more editing on them. Nice collection so far
|
the missing flags are intentional: individual slackbuilds are to be called from the main one, that got the list of stuff to compile and environment variables, just like in kde build  (I actually copied it  ).
if you need to compile a subset best way is to copy the Addons.SlackBuild to Foo.SlackBuild, edit it with the stuff you want to compile and then execute it.
Last edited by ponce; 05-25-2009 at 11:01 AM.
|
|
|
|
05-25-2009, 10:45 AM
|
#21
|
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Original Poster
|
Quote:
Originally Posted by H_TeXMeX_H
and ffmpeg needs something special:
Code:
./configure --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
otherwise the .so shared libs will be installed in /usr/lib.
|
Found that out earlier as well
Someone should make a list of the special cases, like ffmpeg, aften, and some of the other oddities.
@poncez OIC 
|
|
|
|
05-25-2009, 02:14 PM
|
#22
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
Originally Posted by disturbed1
Found that out earlier as well
Someone should make a list of the special cases, like ffmpeg, aften, and some of the other oddities.
@poncez OIC 
|
Funny, since my ffmpeg.SlackBuild does not have a "--libdir=/usr/lib64 --shlibdir=/usr/lib64" at all :-)
It builds a nice 64 bit package if you set ARCH to x86_64.
Eric
|
|
|
|
05-25-2009, 03:26 PM
|
#23
|
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,589
|
I'm interested in checking any weird cases -I have src2pkg adding lib64 options automatically when appropriate and will be writing a 'lint' routine to check for 64-bit 'mistakes' in finished packages, as well as trying to integrate bette checking and correction of cmake files and hard-coded Makefiles -fun stuff! srcspk will also add the LDFLAGS="-L/lib64 -L/usr/lib64" for you if you want/need them. I'm trying to work everything out so these arch-specific options are independent of the build script, so you don't need to maintain separate build scripts or do anything special with the environment to build 32 or 64-bit packages using the same script.
|
|
|
|
05-25-2009, 04:39 PM
|
#24
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,933
|
surely better than my approach: slackbuild everything on a virtual machine and then see what has gone in /usr/lib 
Aristotle should be proud of me 
Last edited by ponce; 05-25-2009 at 04:41 PM.
|
|
|
|
05-25-2009, 08:48 PM
|
#25
|
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Original Poster
|
Quote:
Originally Posted by Alien Bob
|
Not this one - http://www.slackware.com/~alien/slac...eg/pkg64/12.2/
And, the package you linked to - a nice 64 bit package does indeed have --libdir= and --shlib in it 
Last edited by disturbed1; 05-25-2009 at 08:52 PM.
|
|
|
|
05-26-2009, 02:55 AM
|
#26
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
Originally Posted by disturbed1
|
Thanks for taking the time to check these packages and their SlackBuilds disturbed1 ... I have screwed up the SlackBuild by overwriting it with an older version. Will set things right ASAP.
Cheers, Eric
|
|
|
|
05-26-2009, 07:02 AM
|
#27
|
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Original Poster
|
Quote:
Originally Posted by Alien Bob
Thanks for taking the time to check these packages and their SlackBuilds disturbed1 ... I have screwed up the SlackBuild by overwriting it with an older version. Will set things right ASAP.
Cheers, Eric
|
Thanking me
No, thank you for all your work on Slackware, and this 64 port!
|
|
|
|
05-26-2009, 07:55 AM
|
#28
|
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,677
Rep: 
|
Quote:
Originally Posted by disturbed1
Thanking me 
|
Sure. It allows me to set something straight. And btw... I fixed the content of the "build" as well as the "pkg64" directories at http://www.slackware.com/~alien/slackbuilds/ffmpeg/ so all is well again ;-)
Quote:
|
No, thank you for all your work on Slackware, and this 64 port!
|
You're welcome.
Eric
|
|
|
|
05-26-2009, 09:21 AM
|
#29
|
|
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 1,933
|
Quote:
Originally Posted by disturbed1
No, thank you for all your work on Slackware, and this 64 port!
|
exactly my feeling, tnx a lot bob.
I'm saying this also as a long time user of your scripts/packages, you eased my slackware experience a lot 
Last edited by ponce; 05-26-2009 at 09:29 AM.
|
|
|
|
02-14-2010, 08:05 AM
|
#30
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,592
|
What about ogre3d, any way to make this beast install itself in /usr/lib64, I can seem to find anything on the net about this, nothing mentioned so far works.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:17 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|