Re: lpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux