Problems building LPRng src RPM

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



Hi All

I know this is not a LPRng list but I'm trying to build the latest SRPM from

http://lprng.sourceforge.net/DISTRIB/LPRng/LPRng-3.8.27-1.src.rpm

so that I may use it on my CentOS 5 box, but it fails with the following errors

<snip>
+ make MAKEPACKAGE=YES
if [ "UTILS" = po ] ; then \
           for i in po/Makefile* ; do \
               if [ -f "$i" ] ; then \
                   if grep '^mkinstalldirs.*=.*case' $i ; then \
echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \ perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \
                   fi \
               fi \
           done \
       fi
/bin/sh: -c: line 1: syntax error: unexpected end of file
/bin/sh: line 1:     for i in po/Makefile* ; do \: No such file or directory
/bin/sh: line 2:        if [ -f "$i" ] ; then \: command not found
/bin/sh: line 3: if grep '^mkinstalldirs.*=.*case' $i ; then \: command not found /bin/sh: line 4: echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \: command not found /bin/sh: line 5: perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \: command not found
/bin/sh: line 6:            fi \: command not found
/bin/sh: line 7:        fi \: command not found
/bin/sh: line 8:     done \: command not found
/bin/sh: -c: line 9: syntax error near unexpected token `fi'
/bin/sh: -c: line 9: `fi'
make: *** [UTILS] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93721 (%build)
</snip>

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

--
James A. Peltier
Technical Director, RHCE
SCIRF | GrUVi @ Simon Fraser University - Burnaby Campus
Phone   : 604-291-3610
Fax     : 604-291-3045
Mobile  : 778-840-6434
E-Mail  : jpeltier@xxxxxxxxx
Website : http://gruvi.cs.sfu.ca | http://scirf.cs.sfu.ca

_______________________________________________
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