Subject: Re: Netatalk installing CUPS -- why?
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: tech-pkg
Date: 01/31/2005 13:35:08
On Mon, 31 Jan 2005 11:48:19 +1300 Mark Davies wrote:

> Actually USE_CUPS is obsolete.  The correct way to do it now is with
> the PKG_OPTIONS stuff.
>=20
> There was some reason that I didn't make this optional when I
> originally committed the package but it completely escapes me now so
> I'll shortly commit a patch to fix that.

Hm - looks nice, but fails on a 2.0.1 system with a linker error:

/bin/sh ../../libtool --mode=3Dlink cc  -I../../sys/netbsd
-I/usr/include/kerberosIV -I../../include -O2 -mcpu=3Di586 -march=3Dpentium4
-I/usr/pkg/packages/db4-4.2.52nb4/include/db4 -I/usr/pkg/include
-I/usr/include -I../../sys  -I/usr/include/openssl -I../../sys
-D_PATH_AFPDPWFILE=3D\"/etc/pkg/netatalk/afppasswd\"=20
-L/usr/pkg/packages/db4-4.2.52nb4/lib
-Wl,-R/usr/pkg/packages/db4-4.2.52nb4/lib -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o afppasswd  afppasswd.o
../../libatalk/libatalk.la  -lcrypto -R/usr/lib -R/usr -L../../libatalk
mkdir .libs cc -I../../sys/netbsd -I/usr/include/kerberosIV
-I../../include -O2 -mcpu=3Di586 -march=3Dpentium4
-I/usr/pkg/packages/db4-4.2.52nb4/include/db4
-I/usr/src/pkgsrc/net/netatalk/work/.buildlink/include -I../../sys
-I/usr/include/openssl
-D_PATH_AFPDPWFILE=3D\"/etc/pkg/netatalk/afppasswd\"
-Wl,-R/usr/pkg/packages/db4-4.2.52nb4/lib -Wl,-R/usr/pkg/lib -o
afppasswd afppasswd.o  -L/usr/pkg/packages/db4-4.2.52nb4/lib
-L/usr/src/pkgsrc/net/netatalk/work/.buildlink/lib
../../libatalk/.libs/libatalk.a
-L/usr/src/pkgsrc/net/netatalk/work/netatalk-2.0.2/libatalk -lcrypto
afppasswd.o(.text+0xae): In function `convert_passwd':: undefined
reference to `des_key_sched' afppasswd.o(.text+0xe8): In function
`convert_passwd':: undefined reference to `des_ecb_encrypt'
gmake[3]: *** [afppasswd] Error 1
gmake[3]: Leaving directory
`/usr/src/pkgsrc/net/netatalk/work/netatalk-2.0.2/bin/afppasswd'

	hauke


--=20
/~\  The ASCII Ribbon Campaign                    Hauke Fath
\ /    No HTML/RTF in email	        Institut f=FCr Nachrichtentechnik
 X     No Word docs in email	                  TU Darmstadt
/ \  Respect for open standards              Ruf +49-6151-16-3281