tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Installing 32-bit packages on 64-bit systems



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

                        Hi,

On 05/08/2014 13:05, Greg Troxel wrote:
> 
> Robert Swindells <rjs%fdy2.co.uk@localhost> writes:
> 
>> Do we have an easy way to install a 32-bit NetBSD binary package 
>> on a 64-bit NetBSD system ?
>> 
>> As an example, I would like to be able to pkg_add a i386 build
>> of x11/motif on an amd64 machine and have it end up under 
>> /usr/pkg/lib/i386 along with i386 builds of any other libraries
>> it needs like png and jpeg.
> 
> I don't think that will work.
> 
> An emul chroot might, as Ottavio suggests.
> 
> The problem with mixing i386/amd64 in the same /usr/pkg is that
> each wants to link with dependencies from pkgsrc, so you end up
> needing i386 dependencies as well.   So I think you really need too
> trees.

What about pkg_add's -K and -p options, to specify an alternative
package database and override the default prefix?

HTH,
- -- 
khorben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJT4g8bAAoJEDA4y9uYhpcDgAcQANPYJDS/6SwiReu0Q0NOlfO9
0UtDn7Dz9eNWwR9NRI+Jm1XCNLIpIFe9UzHaGmRjNXppQhsJcgcUWXBULLA1a+H5
mC9Ye9aerMWz6daPyINx+QhTCwTZknAdEhhDjus25bmUUMGRyzyweOlGMToQPVb4
1zgVBDMP4puBC9fevpCqqPKKGhZgo8N/1cEhdyD5OOzuKKVYG7RvioiwiL5OJpJL
VAcLF7P7EE35oJJJzxXE+JHAnQwEyXUDkTQqaetUuIwqycDU7TMDbBisXt9Vm8E2
u54UpLOYHoErKESqOfgIDcQAxV3QHOVrUrz6WU7NbSIr2MEjSCgjk5cCQJV3g58z
kt7ZWDO7s5hMS+FmidXrwtwKPGFivxwRP5UcJXThwJ3VI62gT8C/gq96XoOchjQC
sraVAP2nzpU4suMVo6HQ8jRFfNSwcsr60jk77cVu+7TrThwkxwPQzGJUrtJ+Punc
Bdb0H1Q0Q7YJmYZyCS1Fh7oof9XSrJXEsHWyj7ZOV6BkowPGlFypenwWViPhArPD
qP7aojgRGj6F9+OmdJE/ZlYRBCSB4ykLgioen9+uQV7xw0ZnN3GTvsY98b+XZ40J
JH2AH6cs1efKlDRO6AfE7LLi6WAEcUSemeBYkUESVtEBLCYo0MrpHEYak42uag72
fJvVil0pXBmjOYhgeND1
=G+Cw
-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index