Difference between revisions of "CUPS"
Line 63: | Line 63: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/cups-config{,-32} | ||
=== N32 === | === N32 === | ||
Line 80: | Line 81: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/cups-config{,-n32} | ||
=== 64Bit === | === 64Bit === | ||
Line 97: | Line 99: | ||
Install the package | Install the package | ||
− | make install | + | make install && |
+ | mv -v /usr/bin/cups-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/cups-config | ||
== Configuring == | == Configuring == |
Revision as of 21:04, 23 September 2006
Download Source: | http://ftp.easysw.com/pub/cups/1.2.4/cups-1.2.4-source.tar.bz2 |
---|
Contents
Dependencies
Required
Optional
Non-Multilib
Create an lp user, as CUPS will install the lppasswd command SUID to this user. Use the following command as the root user:
useradd -c "Print Service User" -d /dev/null -g lp -s /bin/false -u 9 lp
If you utilize Linux-PAM, you need to modify some files so CUPS can find needed headers. Make the appropriate modifications using the following command:
sed -i -e "s@pam/pam@security/pam@g" \ {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
Compile the package:
./configure && make
Install the package
make install
Multilib
Create an lp user, as CUPS will install the lppasswd command SUID to this user. Use the following command as the root user:
useradd -c "Print Service User" -d /dev/null -g lp -s /bin/false -u 9 lp
32Bit
If you utilize Linux-PAM, you need to modify some files so CUPS can find needed headers. Make the appropriate modifications using the following command:
sed -i -e "s@pam/pam@security/pam@g" \ {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
Compile the package:
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 ./configure && make
Install the package
make install && mv -v /usr/bin/cups-config{,-32}
N32
If you utilize Linux-PAM, you need to modify some files so CUPS can find needed headers. Make the appropriate modifications using the following command:
sed -i -e "s@pam/pam@security/pam@g" \ {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
Compile the package:
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 ./configure \ --libdir=/usr/lib32 && make
Install the package
make install && mv -v /usr/bin/cups-config{,-n32}
64Bit
If you utilize Linux-PAM, you need to modify some files so CUPS can find needed headers. Make the appropriate modifications using the following command:
sed -i -e "s@pam/pam@security/pam@g" \ {config-scripts/cups-pam.m4,scheduler/auth.c,configure}
Compile the package:
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 ./configure \ --libdir=/usr/lib64 && make
Install the package
make install && mv -v /usr/bin/cups-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/cups-config
Configuring
BootScript
Install the init script included in the blfs-bootscripts package.
make install-cups