help-cfengine
[Top][All Lists]
Advanced

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

Re: Problem compiling 2.1.3 on Solaris 9


From: Peter Sevborn
Subject: Re: Problem compiling 2.1.3 on Solaris 9
Date: 10 Mar 2004 01:30:23 -0800

Billy Allan <billy@elec.gla.ac.uk> wrote in message 
news:<mailman.1257.1078795413.340.help-cfengine@gnu.org>...
> I've been hitting my head against the wall for a day or so trying to
> build on Sol9.
> It bails out on the ylwrap as detailed below.  I've tried two different
> versions of bison (1.875 & 1.75) and also tried defining YACC to point
> at my local copy of yacc as I'd seen that while digging through the list
> archives.
> I've seen a response to a very similar problem which says something like
> "It's not a serious error - just ignore it" - but as it's failing to
> compile the binary I have to!  :-)
> 
> 
> Any pointers?
> 
> Billy.
> 
> 
> Make output :
> 
> if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.4.1/include
> -I/usr/local/ssl//include  -D_REENTRANT -pthreads  -g -O2 -Wreturn-type
> -Wmissing-prototypes -Wuninitialized -D_REENTRANT -pthreads -g -O2
> -I/usr/local/BerkeleyDB.4.1/include   -D_REENTRANT -pthreads -g -O2
> -I/usr/local/BerkeleyDB.4.1/include -MT wildcard.o -MD -MP -MF
> ".deps/wildcard.Tpo" -c -o wildcard.o wildcard.c; \
> then mv -f ".deps/wildcard.Tpo" ".deps/wildcard.Po"; else rm -f
> ".deps/wildcard.Tpo"; exit 1; fi
> /bin/bash ../ylwrap cfparse.y y.tab.c cfparse.c y.tab.h cfparse.h
> y.output cfparse.output -- /usr/local/bin/bison  -d
> got /tmp/cfengine-2\.1\.3/src/
> gmake[2]: *** [cfparse.c] Error 1
> gmake[2]: Leaving directory `/tmp/cfengine-2.1.3/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/tmp/cfengine-2.1.3/src'
> gmake: *** [all-recursive] Error 1


Hi. I also have problems compiling cfe-2.1.3 on both Sol8 and Sol9.
The compliation runs fine until it's time for compiling docs. See
below for details. If I remove doc from the SUBDIRS line it works
fine. I get the same type of error for both Solaris versions.

I'm runnig the following utilities:
gcc 3.3
bison 1.35
flex 2.5.4a
make 3.80
binutils 2.14



Any ideas?

/Peter

Make output:

Making all in doc
make[1]: Entering directory
`/opt/app/gnusrc/cfengine/cfengine-2.1.3/doc'
restore=: && \
backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
for f in cfengine-Reference.info cfengine-Reference.info-[0-9]
cfengine-Reference.info-[0-9][0-9] cfengine-Reference.i[0-9]
cfengine-Reference.i[0-9][0-9]; do \
  if test -f $f; then \
    mv $f $backupdir; \
    restore=mv; \
  fi; \
done; \
if false   -I . \
 -o cfengine-Reference.info `test -f 'cfengine-Reference.texinfo' ||
echo './'`cfengine-Reference.texinfo; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./cfengine-Reference.info" | sed
's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; \
exit $rc
make[1]: *** [cfengine-Reference.info] Error 1
make[1]: Leaving directory
`/opt/app/gnusrc/cfengine/cfengine-2.1.3/doc'
make: *** [all-recursive] Error 1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]