[Clfs-support] CUPS Install location ?

devilsclaw devilsclaw at devilsclaws.net
Mon Aug 24 16:23:14 PDT 2009


http://cblfs.cross-lfs.org/index.php/CUPS

I built the the 32bit section just fine. When I went to install the
64bit build and they book instructed me to run ln -s `which
smbspool` /usr/lib64/cups/backend/smb it failed because the make script
installed it to /usr/lib/cups/backend/smb while it did install other
files into /usr/lib64.

there is a file in the root of the source directory there is a file
named Makedefs.in which has a variable that gets filled like this.
SERVERBIN       =       $(BUILDROOT)@CUPS_SERVERBIN@

the make script translates that into 
SERVERBIN       =       $(BUILDROOT)/usr/lib

and places it into the file Makedefs

the question is it supposed to install anything into the /usr/lib folder
even when built for 64bit multilib

the files installed there are
/usr/lib/cups/
/usr/lib/cups/notifier
/usr/lib/cups/notifier/rss
/usr/lib/cups/notifier/mailto
/usr/lib/cups/daemon
/usr/lib/cups/daemon/cups-polld
/usr/lib/cups/daemon/cups-lpd
/usr/lib/cups/daemon/cups-deviced
/usr/lib/cups/daemon/cups-driverd
/usr/lib/cups/driver
/usr/lib/cups/filter
/usr/lib/cups/filter/imagetoraster
/usr/lib/cups/filter/rastertohp
/usr/lib/cups/filter/texttops
/usr/lib/cups/filter/hpgltops
/usr/lib/cups/filter/imagetops
/usr/lib/cups/filter/gziptoany
/usr/lib/cups/filter/pstops
/usr/lib/cups/filter/rastertodymo
/usr/lib/cups/filter/rastertoepson
/usr/lib/cups/filter/rastertolabel
/usr/lib/cups/monitor
/usr/lib/cups/monitor/bcp
/usr/lib/cups/monitor/tbcp
/usr/lib/cups/backend
/usr/lib/cups/backend/ipp
/usr/lib/cups/backend/lpd
/usr/lib/cups/backend/smb
/usr/lib/cups/backend/usb
/usr/lib/cups/backend/http
/usr/lib/cups/backend/scsi
/usr/lib/cups/backend/snmp
/usr/lib/cups/backend/parallel
/usr/lib/cups/backend/serial
/usr/lib/cups/backend/socket
/usr/lib/cups/cgi-bin
/usr/lib/cups/cgi-bin/admin.cgi
/usr/lib/cups/cgi-bin/jobs.cgi
/usr/lib/cups/cgi-bin/classes.cgi
/usr/lib/cups/cgi-bin/printers.cgi
/usr/lib/cups/cgi-bin/help.cgi

if they are supposed to be installed there then the site needs to change
ln -s `which smbspool` /usr/lib64/cups/backend/smb

if they need to be installed into /usr/lib then that file needs edit




More information about the Clfs-support mailing list