On Thu, 2007-09-20 at 08:16 +0200, Mogens Kjaer wrote:
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:
- installing the LPRng src rpm
- cd /usr/src/redhat/SOURCES
- mkdir unpack
- cd unpack
- tar zxf ../LPRng-3.8.27.tgz
- vi LPRng-3.8.27/Makefile.in
- Change line 45 from:
SHELL="@SHELL@"
to:
SHELL=@SHELL@
- tar zcf ../LPRng-3.8.27.tgz LPRng-3.8.27
- cd /usr/src/redhat/SPECS
10.rpmbuild -bb LPRng.spec
Preferred way to do this would be to create a patch to be applied in the spec file. The above should work as a quick-and-dirty fix, but hides the changes in the tarball without changing the version.
Phil