lpd

Satish Balay balay at fastmail.fm
Thu Sep 2 13:54:53 UTC 2004


On Thu, 2 Sep 2004, Tom Conway wrote:

> I didn't have much luck installing LPRng, tried several rpm version and I
> get an error on dependency libcom_err.so.3

If you want to use LPRng - you can do the following:

wget ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-3.8.27-1.src.rpm
rpm -ih LPRng-3.8.27-1.src.rpm

edit LPRng.spec and change:
%{!?nokerberos:--enable-kerberos LDFLAGS="-L/usr/kerberos/lib" CPPFLAGS="-I/usr/kerberos/include" }
to
%{!?nokerberos:--enable-kerberos LDFLAGS="-L/usr/kerberos/lib" CPPFLAGS="-I/usr/kerberos/include -I/usr/include/et" }

Now build the rpm with
rpmbuild -ba LPRng.spec

Install the built rpm with
rpm -ivh --excludepath /etc/printcap LPRng-3.8.27-1.i386.rpm

----------
I do the build part of rpm in a non-root account with the following:

-bash-2.05b$ cat ~/.rpmmacros
%_topdir %(echo $HOME)/rpm
%debug_package %{nil}
-bash-2.05b$

and

mkdir -p $HOME/rpm/SOURCES $HOME/rpm/SPECS $HOME/rpm/BUILD $HOME/rpm/SRPMS $HOME/rpm/RPMS/i386

Now LPRng.spec will be in ~/rpm/SPECS (after installing the .src.rpm)
and LPRng-3.8.27-1.i386.rpm will be in ~/rpm/RPMS/i386 (after rpmbuild -ba)

----------

Satish





More information about the fedora-list mailing list