[Samba] getting 3.5.8 to compile with cups on redhat 5.3 or 6

fsosson at gmail.com fsosson at gmail.com
Thu May 5 09:28:20 MDT 2011


Do you know samba3x (samba 3.5.4) package is available in RHEL 5 and 6
wich is compiled with CUPS?



On 5 May 2011 17:06, Shane T. Drinkwater <shane_drinkwater at pa-ucl.com> wrote:
> Hello,
> I am trying to get samba-3.5.8 to compile with cups on a Red Hat 5.3 or 6.0. When I use the following configure command I see
> ./configure --with-winbind --with-pam --with-aio-support --enable-cups
> checking for cups-config... /usr/sbin/cups-config
> checking cups/cups.h usability... no
> checking cups/cups.h presence... no
> checking for cups/cups.h... no
> checking cups/language.h usability... no
> checking cups/language.h presence... no
> checking for cups/language.h... no
> configure: WARNING: cups-config around but cups-devel not installed
> Compiles ok but no cups support.
> So I checked first I checked /usr/sbin/cups-config and it did have a symbolic link to /usr/local/cups/bin/cups-config. I then noticed that the configure script could not find the cups header files. So I symbolic linked /usr/include/cups to /usr/local/cups/include/cups. Now I get
> checking for cups-config... /usr/sbin/cups-config
> checking cups/cups.h usability... yes
> checking cups/cups.h presence... yes
> checking for cups/cups.h... yes
> checking cups/language.h usability... yes
> checking cups/language.h presence... yes
> checking for cups/language.h... yes
> checking for httpConnect in -lcups... no
> configure: WARNING: your cups library doesn't link with -lcups alone, it might be underlinked.
> checking for httpConnectEncrypt in -lcups... no
> and on compile
> Compiling smbd/server.c
> Linking bin/smbd
> /usr/bin/ld: cannot find -lcups
> collect2: ld returned 1 exit status
> make: *** [bin/smbd] Error 1
> I have tried with cups-1.3.11,1.4.2 and 1.4.6
> I compile cups with -->./configure --prefix=/usr/local/cups --disable-ssl
> If I compile samba 3.4.x without linking in the /usr/include/cups samba compiles and works with cups!
> What can I do to get a compiled version of 3.5.8 with cups ???
>                                                                                          Thank you
>                                                                                          Shane
> NOTICE: This email may contain legally privileged information. The information
> is for the use of only the intended recipient(s) even if addressed
> incorrectly. If you are not the intended recipient, please notify the sender
> that you have received it in error and then delete it along with any
> attachments. Thank you.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list