[Samba] compile samba-2.2.8 with libcups support?

Chee Wai Yeung cheewai_yeung2003 at yahoo.com.hk
Fri May 30 09:50:47 GMT 2003


Hi,

What linux? distribution are you using? If you are
using rpm based distributions try to do a

rpm -q -a | grep cups

You should see cups, cups-libs and cups-devel

If you don't have cups-devel, --enable-cups will fail
silently and thus your smbd will not link with
libcups.
(You can also check your config.log to see if there
are failures when testing CUPS)

Hope this helps.

Chee Wai

--- Manuel Arenaz <arenaz at udc.es> wrote:
> First of all, thank you very much for your fast
> answers. Congratulations, samba is a great product.
> 
> This is possibly a newbie question, but I am not
> able to compile samba-2.2.8 with libcups support.
> >From the options that appear running "./configure
> --help",
> only "--enable-cups" seems to be related to the
> problem.
> However, after compilation the "smbd" executable is
> not linked with libcups.
> 
> # ./configure --enable-cups
> # make
> # ldd /usr/local/samba-2.2.8-source/source/bin/smbd 
>         libdl.so.2 => /lib/libdl.so.2 (0x4001b000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x4001e000)
>         libcrypt.so.1 => /lib/libcrypt.so.1
> (0x40033000)
>         libc.so.6 => /lib/libc.so.6 (0x40060000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2
> (0x40000000)
> 
> The library is installed in my system:
> 
> # find /usr/lib -name "libcups*" -print
> /usr/lib/libcups.so.2
> /usr/lib/libcupsimage.so.2
> 
> What configure options must I use?
> Any help or reference to a document that explains
> the process would be appreciated.
> 
> Thanks in advance.
> 
> Manuel Arenaz
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com



More information about the samba mailing list