You are not logged in.

#1 2012-01-28 19:49:25

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Enable Multilib on Arch 64

Hello,

I just need to install the android sdk and I need to enable the multilib repo first. I followed the instructions on the wiki but I get: target not found when: pacman -S gcc-multilib.

Any ideas? I synced mirrors and

[multilib]
Include = /etc/pacman.d/mirrorlist

Thanks!

Offline

#2 2012-01-28 19:50:27

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

pacman -Syy

:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-01-28 19:52:04

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

nothing sad

Offline

#4 2012-01-28 19:56:57

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

When you type the above one, does it show (and update) all the mirrors, including multilib? What output do you get?

Last edited by bohoomil (2012-01-28 19:57:57)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-01-28 19:58:04

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

bohoomil wrote:

When you type the above one, does it show (and update) all the mirrors, including multilib?

How do I check that? It only shows up core/extra/community

Offline

#6 2012-01-28 20:02:54

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: Enable Multilib on Arch 64

pacman -Syy
:: Synchronising package databases...
 core                     106.4 KiB   197K/s 00:01 [----------------------] 100%
 extra                   1193.5 KiB   205K/s 00:06 [----------------------] 100%
 community               1043.7 KiB   202K/s 00:05 [----------------------] 100%
 multilib                  77.7 KiB   211K/s 00:00 [----------------------] 100% <<< This

Last edited by Earnestly (2012-01-28 20:03:13)

Offline

#7 2012-01-28 20:03:37

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

Well, just the usual way: what you can see in your terminal window. wink

Edit: Thx Kaustic for visual aid. smile

Last edited by bohoomil (2012-01-28 20:05:12)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#8 2012-01-28 20:05:25

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

Kaustic wrote:
pacman -Syy
:: Synchronising package databases...
 core                     106.4 KiB   197K/s 00:01 [----------------------] 100%
 extra                   1193.5 KiB   205K/s 00:06 [----------------------] 100%
 community               1043.7 KiB   202K/s 00:05 [----------------------] 100%
 multilib                  77.7 KiB   211K/s 00:00 [----------------------] 100% <<< This

It doesn't hmm

I have simply uncommented:

#[multilib]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

and run sudo pacman -Syy, but it doesn't show up syncing..

Offline

#9 2012-01-28 20:06:48

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

Hey! Have you checked how we use repos in pacman.conf? :-|


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#10 2012-01-28 20:13:53

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

bohoomil wrote:

Hey! Have you checked how we use repos in pacman.conf? :-|

Any tips? smile

Offline

#11 2012-01-28 20:15:18

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

Wrrrr... This hash, this HASH!

Not:

#[multilib]

but

[multilib]

...for all Archers' sake. smile


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#12 2012-01-28 20:16:31

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

bohoomil wrote:

Wrrrr... This hash, this HASH!

Not:

#[multilib]

but

[multilib]

...for all Archers' sake. smile

Argh.. ty!

Offline

#13 2012-01-28 20:19:14

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: Enable Multilib on Arch 64

Make as solved if it worked btw

Offline

#14 2012-01-28 20:19:21

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

So when I'm done with android-sdk and need to revert to installing 64bit packages only again, just recomment multilib and makepkg.conf?

Offline

#15 2012-01-28 20:20:49

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

Don't. When you install packages from multilib, you'll need to update them using the same repo.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#16 2012-01-28 20:25:05

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

ok, but how do I seperate them? I mean when I need to only install 64 or 32 binaries?

Offline

#17 2012-01-28 20:26:45

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

You don't have to. Your $ARCH is x86_64. Multilib simply means that you can use 32 bit routines alongside the 'mainline' 64. Simply leave it as it is: it's well devised and so it works. smile


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#18 2012-01-28 20:30:05

binarydrummer
Member
Registered: 2012-01-26
Posts: 30

Re: Enable Multilib on Arch 64

hm.. should I change something within yaourt as well? I get: package android-sdk-i686 does not have a valid arch.

Offline

#19 2012-01-28 20:42:54

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: Enable Multilib on Arch 64

If you are going to use this one, it should build fine. I can only recommend preparing the packaged manually, i.e. downloading the tarball, extracting and running makepkg -- and, where necessary, installing lib32-* dependencies. All that's lib32- sensitive is listed in the PKGBUILD as

[[ $CARCH = x86_64 ]] && depends=(blah blah)

:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#20 2012-01-28 21:16:06

McDoenerKing
Member
From: Germany
Registered: 2010-06-21
Posts: 59

Re: Enable Multilib on Arch 64

If you run into compability issues with 32bit apps, setup a minimal 32bit Chroot (https://wiki.archlinux.org/index.php/Sc … bit_System). This way may sound more complex, but once it's running you won't have to worry about 32bit apps. Just use an alias for starting the 32bit apps.

Offline

Board footer

Powered by FluxBB