LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-06-2009, 03:18 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Which order in the setup...?


Hi Forum

I am planning to go <current> <multilib>... my problem here is :

1#) is this setup, current-multilib, already without "issues"...? bugs, etc... ?

So Far, I have been using SL64 13 stable with Icewm.. and it behaves like a charm... Part of me willing to do this transition is to give a chance to the new kde...

2#) If I am bold enough to go ahead... :-) which order of events would be more advisable...? Go Current before multilib, or go multilib before current... or else, it is Independent... ?

BRGDS

Alex
 
Old 12-06-2009, 03:47 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
If you were to upgrade to current as off today you should be fine with the slack1364 multilib packages. Just follow Alien Bob's howto and you should be good to go. The only issue I have come across with slack64 multilib is some packages can conflict with there 64bit conterpart and sometimes during compile you will get an "symbols in wrong format" error. I have this problem with the vlc package. I found out it was the fontconfig-32 package that caused the error. So anyway if you decided to go multilib I would compile all your 64bit packages first them install the multilib packages.
 
1 members found this post helpful.
Old 12-06-2009, 03:51 PM   #3
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Daedra

Thks for your answer, :-)

Should I have to compile a slackbuild in the future ( after having multilib enabled ) or a src2pkg project how to i default the compilation to 64bits arch...?

I know that in a SlackBuild, one sets the ARCH environment... and this is enough ( is it... ? I mean in a multilib system... )

But what about a src2pkg build...?

BRGDS

Alex
 
Old 12-06-2009, 03:58 PM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
src2pkg will automatically set the correct arch don't worry. And as for the above problem I mentioned, don't worry that much about it, I only ran into that above problem maybe on 2-3 packages.

And as for slackbuilds, you can manually edit the script and change the line ARCH=i486 to ARCH=x86_64. or you can start the build like this

ARCH=x86_64 ./whatever.SlackBuild

Last edited by Daedra; 12-06-2009 at 04:02 PM.
 
1 members found this post helpful.
Old 12-07-2009, 01:22 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
src2pkg will set the arch to x86_64 if you are running a 64-bit kernel. But, if you want to compile a 32-bit package, you just add '-M32' to the options. It will take care of all the libdir and pkgconfig declarations either way.
 
1 members found this post helpful.
Old 12-07-2009, 09:02 AM   #6
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Forum

His there some need to upgrade to <current> before going <multilib>...?

Just for curiosity...

I am already <64-current>, and BTW, Kde is WAY MUCH BETTER... and the packages I had installed were not broken by the upgrade...

I was prepared to have to rebuild everything from scratch... :-)

BRGDS

Alex

Last edited by Alexvader; 12-07-2009 at 09:06 AM.
 
Old 12-07-2009, 04:02 PM   #7
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
As of right now multilib will work with both current and 13.0. But that could change in the future depending on what gets upgraded in current.
 
Old 12-07-2009, 04:30 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Daedra View Post
As of right now multilib will work with both current and 13.0. But that could change in the future depending on what gets upgraded in current.
The only thing that will be problematic is when Slackware updates its gcc and/or glibc packages.

All of the "*-compat32" packages are independent of their 64-bit counterparts, so if the 64-bit packages are updated in Slackware-current you are not required to update the 32-bit packages as well.

What matters is that you use a set of -compat32 packages that has been taken from a stable Slackware tree: the libraries have inter-dependencies and what we always tell about "mixing packages from several Slackware releases is not a good idea" is valid for the -compat32 package set as well.

And if Slackware updates glibc/gcc and these remain pure 64-bit packages, be sure that I have multilib versions of those new packages available around the same time.

Eric
 
Old 12-07-2009, 05:17 PM   #9
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Forum

Thanks for the Enlightening

As for now I am posting from my Slack64 current multilib using KDE current... :-)

Thx AlienBob, and Thx Pat, and last but not the least Thx Forum for bearing with me all this time... :-)

Wonderful distro... only have some tiny problems before I canswitch from lenny to Slack...

But I will solve them... w/ your help probably... :-)


BRGDS

Alex
 
Old 12-07-2009, 06:33 PM   #10
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by Alien Bob View Post
The only thing that will be problematic is when Slackware updates its gcc and/or glibc packages.

All of the "*-compat32" packages are independent of their 64-bit counterparts, so if the 64-bit packages are updated in Slackware-current you are not required to update the 32-bit packages as well.

What matters is that you use a set of -compat32 packages that has been taken from a stable Slackware tree: the libraries have inter-dependencies and what we always tell about "mixing packages from several Slackware releases is not a good idea" is valid for the -compat32 package set as well.

And if Slackware updates glibc/gcc and these remain pure 64-bit packages, be sure that I have multilib versions of those new packages available around the same time.

Eric
Perfectly said, I remember having to learn about glibc the hard way many years ago, lol
 
1 members found this post helpful.
  


Reply



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] Can I set the cups output order to always print in reverse order Thane Ubuntu 3 07-09-2018 09:49 PM
order of fontdir mathfeel Linux - Software 0 05-27-2006 12:39 AM
What order and how do I ..... adds2one Slackware 4 08-31-2005 11:53 PM
which to order? i m gr8 Linux - Newbie 6 04-17-2004 08:17 AM
Proper setup order for an RH server? mephitic Linux - Networking 0 08-20-2003 06:10 PM

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

All times are GMT -5. The time now is 10:31 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
Open Source Consulting | Domain Registration