help-cfengine
[Top][All Lists]
Advanced

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

CFengine-2.0.5 Compile Error on Solaris 8


From: Brian E. Seppanen
Subject: CFengine-2.0.5 Compile Error on Solaris 8
Date: Fri, 4 Apr 2003 14:49:26 -0500 (EST)

/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. 
-I/usr/local/BerkeleyDB.3.2/include -I/usr/local/ssl//include    -g -O2 
-Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 
-I/usr/local/BerkeleyDB.3.2/include   -c `test -f 'wildcard.c' || echo 
'./'`wildcard.c
/bin/sh ../ylwrap `test -f 'cfparse.y' || echo './'`cfparse.y y.tab.c 
cfparse.c y.tab.h cfparse.h y.output cfparse.output -- bison -y -d
got /usr/share/src/cfengine-2\.0\.5/src/
/usr/ccs/bin/m4: bad option: -I
make[2]: *** [cfparse.c] Error 1
make[2]: Leaving directory `/usr/share/src/cfengine-2.0.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/cfengine-2.0.5/src'
make: *** [all-recursive] Error 1


I'm getting the following error.

I've unset my path and then set my path to 
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

where it should pick up all of the GNU gcc, ar, ld, bison and all of the 
other tools prior to any SUN provided tools.

For some reason it seems to want to use Sun's M4, which is baffling 
considering I have m4 available in /usr/local/bin.

[root@hostname /usr/src/cfengine-2.0.5]# which m4
/usr/local/bin/m4

why is it picking up /usr/ccs/bin/m4?  and how do I force it to ignore it?

Thanks,

Brian Seppanen
seppy@chartermi.net
906-228-4226 ext 23





reply via email to

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