In the last episode (Oct 28), Vivek Khera said: > >>>>> "DN" == Dan Nelson <[EMAIL PROTECTED]> writes: > DN> When you did the install, you probably just skipped that options dialog > DN> that came up, right? All the options on that page are "select to > DN> enable", except CUPS which is "select to _disable". Rebuild samba, and > DN> select the "Without CUPS" line. Quite annoying. I work around it by > DN> adding WITHOUT_CUPS=yes in /etc/make.conf, and setting BATCH=yes in > DN> net/samba/Makefile. > > CUPS is linked in both 2.2.5 and 2.2.6, but in 2.2.6 it seems to want > to actually *use* it even though I don't configure it. > > Also, if I select the "Disable CUPS" flag, all it accomplishes is to > not register the dependency. CUPS is still linked for some reason.
Ah. The port Makefile probably needs to be tweaked a bit then. It looks like samba will use cups if it can find it. Try this: diff -u -r1.104 Makefile --- Makefile 17 Oct 2002 13:49:31 -0000 1.104 +++ Makefile 28 Oct 2002 17:26:04 -0000 @@ -123,6 +125,8 @@ LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib +.else +CONFIGURE_ARGS+= --without-cups .endif .if defined(KRB5_HOME) && exists(${KRB5_HOME}) > Does your smbd have cups linked (as reported by ldd)? No, since I don't have the cups port installed, so samba couldn't use it. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message