pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sysutils/libpciaccess can be built on netbsd-5.0-alpha
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Aug 4, 2009, at 10:49 AM, Alexey Lebedev wrote:
Hello!
Pkgsrc complains when I try to build systuils/libpciaccess:
avl@axp5:/usr/pkgsrc/sysutils/libpciaccess$ sudo bmake
ERROR: This package is only available for these platforms:
FreeBSD-*-i386 NetBSD-*-i386 OpenBSD-*-i386 FreeBSD-*-x86_64
NetBSD-*-x86_64 OpenBSD-*-x86_64 DragonFly-*-i386 DragonFly-*-x86_64
Linux-*-* SunOS-*-*.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: libpciaccess-0.10.6nb1 is not available for NetBSD-5.0-alpha
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/libpciaccess
But after adding ONLY_FOR_PLATFORM+= NetBSD-*-alpha to its Makefile
I was able to build and install it.
It won't do anything useful though, and probably crash your machine if
you'e trying to use it.
The NetBSD-specific code in there will try to mmap() PCI devices
through /dev/mem which only works on a handful architectures, IIRC
alpha isn't one of them. The libpciaccess in -current, along with
relevant kernel changes, should work on alpha although I have no idea
if libpciaccess is supposed to deal with sparse/dense mappings, if it
is it won't work either.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSnhb5MpnzkX8Yg2nAQLiwQgAmemPL8/C2N1Yp1meMb23eqH6t4mwlJPB
ifH9b4EM1mMZq5flKM47Xy0s1KNA5TbLrzindPCJ2CX0v8etqKRmIySKeOQCRkFu
pTQzjFvdzj0HvT5mwnY5hI3UJK+jqS2pwTIG1wXF64JrISaCELyf2pI5GHf3pfcx
hd0hJIr9A4taD//2eUGGReatRCCchzY5vNxHB9m/9MtX6yfJ4WyCh8w46YeOFLov
0SGChwSgNfunJoyBuptawtOXFpd3i6J7rOMTnEpjIIQpOdgx4HGzzUZgeNkJ/2A0
PsxXkneLLZWGcb0y/UG7BZYIeVZf4iFJ7EXLm/fgU4JKiO6hqsU+vg==
=nr/c
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index