1.3.3 compiling trouble

Pavel Urban pavel.urban@imaginet.cz
Wed Apr 27 08:03:29 UTC 2005


Hello,

I'm trying to build an RPM for RedHat EL. I've encountered some problems 
during the process, so I've tried to build it manually with the same 
commandline options.

./configure --bindir=/usr/bin --mandir=/usr/man --enable-server 
--enable-dccifd --disable-IPv6 --disable-dccm  --with-db-memory=1024 
--with-max-db-mem=1024 --without-bad-locks --homedir=/etc/dcc 
--with-installroot=/var/tmp/pupu

configure and make went OK, but 'make install' produced this output:

...
==> homedir
for nm in /var/tmp/pupu /etc/dcc /var/tmp/pupu /etc/dcc/log; do \
   if test ! -d $nm; then \
     ../autoconf/install-sh -c -o root -g bin -c -m 755 -d $nm; fi; done
if test -s /var/tmp/pupu /etc/dcc/dcc_conf; then \
   sh make-dcc_conf -h /var/tmp/pupu /etc/dcc; \
else \
   ../autoconf/install-sh -c -o root -g bin -c -m 644 dcc_conf 
/var/tmp/pupu /etc/dcc/dcc_conf; \
fi
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
for nm in flod grey_flod whitelist grey_whitelist \
         whiteclnt whitecommon; do \
   if test ! -f /var/tmp/pupu /etc/dcc/$nm; then \
         ../autoconf/install-sh -c -o root -g bin -c -m 644 $nm 
/var/tmp/pupu /etc/dcc/$nm; fi; \
   done
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
/bin/sh: line 1: test: /var/tmp/pupu: binary operator expected
/bin/sh: line 1: test: too many arguments
...

Seems like a typo in homedir/Makefile.in...

INST_HOMEDIR=@installroot@ $(DCC_HOMEDIR)

I'm not a programmer, sorry... just guessing.

-- 
***********************************************************************
Pavel Urban (pavel.urban@ct.cz)
IOL system disaster
Internet OnLine, www.iol.cz (owned by Czech Telecom, www.ct.cz)
***********************************************************************
    Vegetables should not operate electronic equipment.
           Computer Stupidities, http://rinkworks.com/stupid/
***********************************************************************



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.