[cups.general] Install CUPS-1.4.6 in Redhat 4.0?

Martin Schuster (IFKL IT OS DS CD) Martin.Schuster1 at infineon.com
Mon Jan 24 23:22:21 PST 2011


On 01/25/2011 04:30 AM, dickson wrote:
> I use the following command to rebuild the package in Redhat ES4.0.
> rpmbuild -ta cups-1.4.6-source.tar.gz --without dbus --without php
> 
> After running, the final result is as follows:
> *******************************************************************
> Processing files: cups-debuginfo-1.4.6-1
> Provides: libcups.so.2.debug libcupscgi.so.1.debug libcupsdriver.so.1.debug libcupsimage.so.2.debug libcupsmime.so.1.debug libcupsppdc.so.1.debug
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/cups-root
> error: Installed (but unpackaged) file(s) found:
>    /etc/dbus-1/system.d/cups.conf
> 
My personal notes for rpmbuilding cups-1.3.x say:

  tar xjf cups-$ver-source.tar.bz2
  vim cups-$ver/packaging/cups.spec
    comment out the two PAM-lines
    comment out the if/endif lines for dbus
  mv cups-$ver-source.tar.bz2 cups-$ver-source_orig.tar.bz2
  tar cjf cups-$ver-source.tar.bz2 cups-$ver

Don't know why I did that, why it fixes the breakage, if this still applies to
1.4, etc, but you can give it a try :)

hth,
-- 
Infineon Technologies IT-Services GmbH   Martin.Schuster1 at infineon.com
Lakeside B05, 9020 Klagenfurt, Austria   Martin Schuster
         FB: LG Klagenfurt, FN 246787y   +43 5 1777 3517





More information about the cups mailing list