[CentOS] Problems building LPRng src RPM
Phil Schaffner
Philip.R.Schaffner at NASA.gov
Thu Sep 20 14:33:39 UTC 2007
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:
>
> 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
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
More information about the CentOS
mailing list