Hello,
Quote:
Originally Posted by tronayne
Suppose I want to use or install or whatever multilib on one of the 64-bit boxes; is that possible (by which I mean dirt easy) to do using the 32-bit ISO or the 32-bit packages (and the SlackBuild)?
|
Yes, but you must, at least, download the multilib version of gcc/glibc and the package compat32-tools from Eric.
The easier way for you is, I guess, to use the tools
multilibpkg (
download) and
compat32pkg (
download).
multilibpkg will automate installation of the multilib version of gcc/glibc and of the package compat32-tools from Eric. compat32pkg will automate the generation and installation of the compat32-packages, using your 32-bit ISO/dvd as source.
Once you have installed multilibpkg and compat32pkg, you will proceed as below.
(1) run (as root) multilibpkg to install the multilib version of gcc/glibc and the package compat32-tools :
Code:
$ multilibpkg --mirror @alienbase.nl-14.0 --install
multilibpkg ver. 1.2.120824 (stable)
(INFO) No default multilib-mirror was defined in configuration's script /etc/multilibpkg/multilibpkg.conf
(WARNING) You're using multilibpkg in mode --install, while the system is not
(WARNING) in run level 1: current runlevel is (3).
Do you want to continue (Y/N) ? Y
[--install] Started on Fri 28 Dec 2012 09:50:56 AM CET
[--install] Using multilib-mirror http://taper.alienbase.nl/mirrors/people/alien/multilib/14.0
[--install] Local system is Slackware/x86_64 version 14.0
[--install] Mirrored multilib dedicated to Slackware/x86_64 version 14.0
[--install] Downloaded packages will be stored into /var/cache/multilibpkg
[--install] 13 package(s) were found (0,091 sec.)
[--install] Downloading 64-bit multilib packages...
[--install] [ package ] [ download ] [ signature ]
[--install] glibc-solibs-2.15_multilib-x86_64-7alien.txz OK OK
[--install] glibc-2.15_multilib-x86_64-7alien.txz OK OK
[--install] glibc-i18n-2.15_multilib-x86_64-7alien.txz OK OK
[--install] glibc-profile-2.15_multilib-x86_64-7alien.txz OK OK
[--install] glibc-zoneinfo-2012f_2012f_multilib-noarch-7alien.txz OK OK
[--install] gcc-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] gcc-g++-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] gcc-gfortran-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] gcc-gnat-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] gcc-go-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] gcc-java-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] gcc-objc-4.7.1_multilib-x86_64-1alien.txz OK OK
[--install] compat32-tools-3.0-noarch-2alien.tgz OK OK
[--install] Installing 64-bit multilib packages ...
[--install] [ package ] [ install ] [ note ]
[--install] glibc-solibs ver 2.15_multilib-7alien OK supersedes ver. 2.15-7
[--install] glibc ver 2.15_multilib-7alien OK supersedes ver. 2.15-7
[--install] glibc-i18n ver 2.15_multilib-7alien OK supersedes ver. 2.15-7
[--install] glibc-profile ver 2.15_multilib-7alien OK supersedes ver. 2.15-7
[--install] glibc-zoneinfo ver 2012f_2012f_multilib-7alien OK supersedes ver. 2012f_2012f-7
[--install] gcc ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] gcc-g++ ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] gcc-gfortran ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] gcc-gnat ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] gcc-go ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] gcc-java ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] gcc-objc ver 4.7.1_multilib-1alien OK supersedes ver. 4.7.1-1
[--install] compat32-tools ver 3.0-2alien OK added package
[--install] Ended on Fri 28 Dec 2012 09:56:23 AM CET
(2) mount your Slackware 32-bit ISO/dvd (/media/dvd for instance)
(3) run (as root) compat32pkg to generate and install the compat32-packages using your 32-bit ISO/dvd as source, like this:
Code:
$ compat32pkg --mirror /media/dvd --install layer-32
compat32pkg ver. 1.5.120822 (stable)
(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--install] Started on Fri 28 Dec 2012 10:15:04 AM CET
[--install] Using mirror /media/dvd
[--install] Local system is Slackware/x86_64 version 14.0
[--install] Mirrored system is Slackware/i486 version 14.0
[--install] Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--install] compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--install] Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.5.121120
[--install] Trusted external commands : installpkg,upgradepkg,c32pkg-notify-send
[--install] 117 package(s) were found (0,157 sec.)
---------------------------------------------------------------------------------
No. ! Packages ! Status
-----+----------------------------------------------------+----------------------
1 ! aaa_elflibs-compat32 14.0-4 ! installed
2 ! bzip2-compat32 1.0.6-1 ! installed
3 ! cups-compat32 1.5.4-2 ! installed
4 ! cxxlibs-compat32 6.0.17-1 ! installed
5 ! dbus-compat32 1.4.20-3 ! installed
6 ! e2fsprogs-compat32 1.42.6-1 ! installed
7 ! openssl-solibs-compat32 1.0.1c-3 ! installed
8 ! util-linux-compat32 2.21.2-5 ! installed
9 ! flac-compat32 1.2.1-3 ! installed
10 ! mpg123-compat32 1.14.4-1 ! installed
11 ! mysql-compat32 5.5.27-1 ! installed
12 ! sqlite-compat32 3.7.13-1 ! installed
13 ! libtool-compat32 2.4.2-1 ! installed
14 ! alsa-lib-compat32 1.0.26-1 ! installed
15 ! alsa-oss-compat32 1.0.25-1 ! installed
16 ! atk-compat32 2.4.0-1 ! installed
17 ! audiofile-compat32 0.2.7-1 ! installed
18 ! cairo-compat32 1.10.2-2 ! installed
19 ! dbus-glib-compat32 0.98-1 ! installed
20 ! esound-compat32 0.2.41-1 ! installed
01:11|P=117|D:117 (done) |C:25 glib2. (0K)|I:20 expat-co
That's all. Your Slackware64 should be multilib. To check this, you can, for instance, run /usr/bin/32/glxgears
If you use slackpkg to keep your system up to date, do not forget to blacklist the multilib version of gcc/glibc, otherwise they will be replaced by the pure 64-bit version on the next update. The easier is to add the single line below into /etc/slackpkg/blacklist :
Hope this help.
Greetings.
--
SeB