[CentOS] Problems building LPRng src RPM

Mogens Kjaer mk at crc.dk
Thu Sep 20 06:16:49 UTC 2007


James A. Peltier wrote:
...
> It looked like it went through the ./configure portion OK. Any ideas? 
> Has someone else gotta LPRng to work on CentOS 5?
> 

Yes. With difficulty. :-)

This problem is fixed by:

1. installing the LPRng src rpm
2. cd /usr/src/redhat/SOURCES
3. mkdir unpack
4. cd unpack
5. tar zxf ../LPRng-3.8.27.tgz
6. vi LPRng-3.8.27/Makefile.in
7. Change line 45 from:

SHELL="@SHELL@"

to:

SHELL=@SHELL@

8. tar zcf ../LPRng-3.8.27.tgz LPRng-3.8.27
9. cd /usr/src/redhat/SPECS
10.rpmbuild -bb LPRng.spec

There are other errors later on; I can't recall how I fixed this,
maybe disabling kerberos support?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk



More information about the CentOS mailing list