help-cfengine
[Top][All Lists]
Advanced

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

Re: CFengine-2.0.5 Compile Error on Solaris 8


From: Mark Thompson
Subject: Re: CFengine-2.0.5 Compile Error on Solaris 8
Date: Fri, 04 Apr 2003 22:40:03 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Could your problem be the double // in the

-I/usr/local/ssl//include

line?

Mark

Brian E. Seppanen wrote:

/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



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine







reply via email to

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