Subject: Re: Netatalk installing CUPS -- why?
To: Mark Davies <>
From: Hauke Fath <>
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.
> 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
-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/  -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/src/pkgsrc/net/netatalk/work/.buildlink/include -I../../sys
-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/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


/~\  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