[Samba] Printing with CUPS

Alan Munday alan.munday at brightheadtechnology.com
Fri Nov 7 22:13:29 GMT 2003


John

All built OK.

Just a few notes for anyone else needing to do this.

There seem to be few rpm's for CUPS post 1.1.17 and those src rpms available
led to multiple dependencies. I resorted to building from the current stable
release from the cups.org site. I used 1.1.19. Compile and build worked fine
though it is not clear that the libcups.so was included (but it was).

Recompiling Samba was OK though I needed to --force the install of the
rebuild.

Now to get the drivers sorted.

Thanks for your help.

Alan

-----Original Message-----
From: John H Terpstra [mailto:jht at samba.org] 
Sent: 07 November 2003 15:42
To: Alan Munday
Cc: samba at lists.samba.org
Subject: Re: [Samba] Printing with CUPS


On Fri, 7 Nov 2003, Alan Munday wrote:

> I've just been trying to get my Samba 3.0.0-2 build to work with CUPS.
>
> The rpm I downloaded from the Samba site was not compiled with CUPS
library
> support. Which is why I am assuming that having added printing = cups in
my
> conf file things are not working.
>
> If I use the source rpm can I force the build to include CUPS library
> support ?
>
> Or do I have to build from scratch?

Alan,

A few simple steps will get you the results you are after:

1. Install a recent version of CUPS (1.1.18 or later)
2. Make sure that you install the cups-devel package
3. Obtain the Samba-Team samba source RPM
4. Rebuild Samba:

	Red Hat:   rpmbuild --rebuild samba-3.0.0-xxxx.src.rpm
	SuSE:	   rpm --rebuild samba-3.0.0-xxxx.src.rpm

The binary RPMs will find their way to:

	Red Hat: /usr/src/redhat/RPMS/i386
	SuSE:    /usr/src/packages/RPMS/i386

I hope this helps.

- John T.
-- 
John H Terpstra
Email: jht at samba.org




More information about the samba mailing list