Re: Problems building LPRng src RPM

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



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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux