LinuxQuestions.org
Visit Jeremy's Blog.
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-26-2011, 12:49 AM   #1
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Rep: Reputation: 9
Question Cannot install fpc 32 bit on 64 bit multilib slackbuild.


Hi all, I canít seem to compile lazarus on my multilib setup. It uses fpc to compile. I had 64bit version of fpc installed and lazarus can not compile. I uninstalled 64 bit fpc, but canít seem to install the 32 bit version via slackbuild. It keeps looking for the 64 bit archive in the slackbuild directoryÖ
 
Old 05-26-2011, 01:00 AM   #2
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
edit: sorry, misread your post

Try running the fpc Slackbuild like this to package the 32-Bit version:
ARCH=i486 ./fpc.SlackBuild

Last edited by piratesmack; 05-26-2011 at 01:07 AM.
 
Old 05-26-2011, 01:14 AM   #3
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by piratesmack View Post
edit: sorry, misread your post

Try running the fpc Slackbuild like this to package the 32-Bit version:
ARCH=i486 ./fpc.SlackBuild
Thanks I have been to that faq Actually I do not have the problem they list the solution for there. My problem is even after running the script to set the build env to 32 bit the slackbuild bombs out saying it cant find the 64 bit tar file with the source... so I don't even get to the compile stage yet.
 
Old 05-26-2011, 01:20 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,226

Rep: Reputation: 187Reputation: 187
I've always had trouble compiling 32bit programs in slackware64 with multilib installed. It's probably just me but now I just install slack 32bit in a virtual machine and compile any 32bit programs I need there. It's a little more time consuming but it works.
 
Old 05-26-2011, 04:47 AM   #5
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by Daedra View Post
I've always had trouble compiling 32bit programs in slackware64 with multilib installed. It's probably just me but now I just install slack 32bit in a virtual machine and compile any 32bit programs I need there. It's a little more time consuming but it works.
sure, i'll go that route as well. My problem is virtualbox slackbuild is 32bit only...
 
Old 05-26-2011, 05:42 AM   #6
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
sure, i'll go that route as well. My problem is virtualbox slackbuild is 32bit only...
VirtualBox is one of the only applications I just install on my Slackware64 system without building a package. It works fine. Admittedly it would be nice to build a package but I have't had the time to look into this much and have got used to the fact that it 'just works'. It's not very difficult to uninstall should you want.
 
1 members found this post helpful.
Old 05-26-2011, 06:49 AM   #7
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by bgeddy View Post
VirtualBox is one of the only applications I just install on my Slackware64 system without building a package. It works fine. Admittedly it would be nice to build a package but I have't had the time to look into this much and have got used to the fact that it 'just works'. It's not very difficult to uninstall should you want.
Downloaded and installed the 64bit 4.0.8 virtualbox binary. It does work extremely well
 
Old 05-26-2011, 07:16 AM   #8
Kowalczyk
Member
 
Registered: Jan 2008
Location: Norway
Distribution: Slackware, Debian
Posts: 35

Rep: Reputation: 18
They have a 64bits installer for Virtualbox on their page

http://www.virtualbox.org/wiki/Linux_Downloads

Here. Download that and run the installer script.

Or download that and modify the slackbuild script.

(PS. I havent tried it, so Im not sure how it works)

Last edited by Kowalczyk; 05-26-2011 at 07:17 AM.
 
Old 05-26-2011, 10:37 AM   #9
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Or download that and modify the slackbuild script.
Well you won't get far with that. The installable VirtualBox is a prebuilt, packed, binary with a header attached to unpack the binary on installation and do various other stuff. The SlackBuild version builds from source. Creating a package from this would involve extracting the prebuilt archive and installing it somewhere temporarily then building a package. This will probably involve extensively modding the install scripts,(or maybe using a chroot), from the binary and is a a lot more work than just modifying the original SlackBuild to suit.

Besides all that it looks like the OP has successfully installed the binaries now anyway.
 
  


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
32-bit Packages and 64-Bit Packages with Included Multilib on One SlackBuild foodown Slackware 1 03-11-2011 09:40 PM
[SOLVED] ORBit2 Slackbuild fails when building 32 bit package on current multilib damgar Slackware 4 04-10-2010 03:26 PM
[SOLVED] ati driver 32-bit compatibility for Slackware 64-bit multilib? vik Slackware 25 02-16-2010 08:06 PM
[SOLVED] CLFS 64 bit multilib and pure 64 bit pacthes wanted Openumerix Linux From Scratch 1 11-16-2009 01:23 AM
Trying to install multilib to run 32 bit applications. glore2002 Slackware 3 08-28-2009 12:08 PM


All times are GMT -5. The time now is 11:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration