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 05-19-2010, 04:59 AM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,497

Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
compiling 32 bit on Slackware64


I have a need to recompile mesa. The --enable-32-bit option falls over every header and basic 32 bit lib, and won't compile. But if I try to install 32 bit packages, I could slap a 32 bit binary straight on top of my 64 bit one.

What's the accepted way of doing this? I can't seem to find a package in Slackware 13.0

Last edited by business_kid; 05-21-2010 at 03:20 AM.
 
Old 05-19-2010, 06:23 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,300

Rep: Reputation: Disabled
You'll need to upgrade Slackware64 to multilib then: http://alien.slackbook.org/dokuwiki/...kware:multilib

Eric
 
Old 05-20-2010, 03:36 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,497

Original Poster
Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
Thanks very much. downloading as we speak. There's something wrong with a distro that thinks the whole word has gone 64 bit, but something right about it if it collects such independent thinkers who can solve the problem with a little work.
 
Old 05-20-2010, 06:20 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,300

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
There's something wrong with a distro that thinks the whole word has gone 64 bit
We also still offer 32-bit Slackware which is being continuously developed in parallel with the 64-bit release, so you can always run that instead if you need 32-bit software and think in these terms of "wrong".

Eric
 
Old 05-20-2010, 06:42 AM   #5
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 508

Rep: Reputation: 210Reputation: 210Reputation: 210
Quote:
Originally Posted by business_kid View Post
There's something wrong with a distro that thinks the whole word has gone 64 bit ...
What a bizarre statement! You do realise there is a 32-bit version of Slackware?

You do realise Slackware is no different than most other mainstream Linux/BSD distros in offering a 64-bit release *and* a 32-bit release?

You do realise the multilib procedure is one of the cleanest ways of compiling 32-bit software in a 64-bit release?

< shakes head >
 
Old 05-20-2010, 08:33 AM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,497

Original Poster
Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
Yes, I realise there's a 32 bit slackware. Thank you for pointing that out. Let me add my present example to the fray.

slackware offers mesa-7.8.1 of mesa, which is very recent. Unfortunately it's not recent enough for me, and I have a git of 7.9-devel. google earth and some other programs use 32 bit versions, so 32 bit video stuff would have been nice to have. The --enable-32-bit failed to compile on slack64-13 for lack of ordinary basic 32 bit libs, hence I posted. Now after upgrading to alien multilib, it's finding these basic libs, that IMHO should have been available as part of the distro. I don't want to install 32 bit packages and overwrite 64 bit binaries with 32 bit ones.

Now --enable-32-bit still fails, but this time I'm blaming myself or mesa (I think) Here it is.
mklib: Making Linux shared library: r600_dri.so.tmp
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../libdrm_radeon.so when searching for -ldrm_radeon
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libdrm_radeon.so when searching for -ldrm_radeon
/usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -ldrm_radeon
collect2: ld returned 1 exit status
gcc -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -m32 -m64 -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 -DHAVE_LIBDRM_RADEON=1 -I/usr/include/libdrm -I/usr/include/drm -DFEATURE_GL=1 -o r600_dri.so.test ../../../../../src/mesa/drivers/dri/common/dri_test.o r600_dri.so.tmp -ldrm -lexpat -lm -lpthread -ldl -ldrm_radeon -ldrm
gcc: r600_dri.so.tmp: No such file or directory
 
Old 05-20-2010, 08:55 AM   #7
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
IMHO should have been available as part of the distro.

We all have the 32 bit 64 bit problem but I prefer to stick with 64 bits...I am not having a multi lib system...
 
Old 05-20-2010, 12:45 PM   #8
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
I praise Slackware for being pure 32bit and pure 64bit (with being multilib 'ready') Not only is it complying with the FSF recomendation for transition but it allows Slackware to be developed as intended without the many extra support calls for multilib systems. I know many packages out there (especially ones with CMAKE and QT requirements) aren't 'out of the box' capable of compiling on a multilib system. I find I have to find cryptic parameters for (c)make just to get it to compile. The worst part is when the Make file starts pulling both 32bit libs and 64bit libs and trying to link them together.
 
Old 05-20-2010, 12:58 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,519

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Quote:
Originally Posted by business_kid View Post
Thanks very much. downloading as we speak. There's something wrong with a distro that thinks the whole word has gone 64 bit, but something right about it if it collects such independent thinkers who can solve the problem with a little work.
I think you should be using my userid.
 
Old 05-21-2010, 03:17 AM   #10
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,497

Original Poster
Rep: Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569Reputation: 569
I'm not trying to change the world, or trying to start a rash of "I think . . ." posts. Hence marking this one solved, as the issue I asked about was solved with the help of poster Alien Bob. I was challenged on my remarks, hence the opinion.

I planned this box as totally 64 bit. Unfortunately some software _just_isn't_there_ in 64 bit, GE for one and several proprietary bits of stuff. Do we do without? I thought an operating system was to fulfill the need to provide an environment to run programs efficiently.

The idea of meeting a standard of tidiness (FHS) somehow seems irrelevant if it interferes with running programs. And my sole issue has been compiling 32 bit video drivers, which anyone who owns a radeon card knows is necessary.
 
  


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
Running a 32-bit program on Slackware64 - question niels.horn Slackware 15 10-14-2009 05:24 PM
32-bit firefox + flash on slackware64 zvzi Slackware 6 09-26-2009 12:55 PM
Installing 32-bit application on Slackware64 reikyv Slackware 6 09-07-2009 01:42 AM
slackware64 + multilib or simply install 32-bit? [GOD]Anck Slackware 1 08-31-2009 03:51 AM
Slackware64 and 32-bit compatibility mattydee Slackware 24 05-23-2009 02:01 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration