help-cfengine
[Top][All Lists]
Advanced

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

RE: cfengine build problem on Solaris 2.6


From: Ferguson, Steve
Subject: RE: cfengine build problem on Solaris 2.6
Date: Fri, 11 Jul 2003 08:21:42 -0400

Okay, after trying it again it worked.  I blame sun spots for this one. ;-)

Steve

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Thursday, July 10, 2003 5:27 PM
To: address@hidden
Cc: address@hidden; address@hidden
Subject: Re: cfengine build problem on Solaris 2.6



Try 

make distclean
configure
make

Or upgrade flex/bison. Should be fine

M

On 10 Jul, Ferguson, Steve wrote:
> I have flex installed already.  configure picks up on it too.
> 
> $ grep flex config.log
> configure:3978: checking for flex
> configure:4004: result: /usr/local/bin/flex
> configure:4148: /usr/local/bin/flex conftest.l
> config.status:697: creating src/cflex.l
> ac_cv_prog_LEX=/usr/local/bin/flex
> LEX='/usr/local/bin/flex'
> $ flex -V
> flex version 2.5.4
> $ which flex
> /usr/local/bin/flex
> 
> Steve
> 
> -----Original Message-----
> From: Shawn Ferry [mailto:address@hidden
> Sent: Thursday, July 10, 2003 3:10 PM
> To: Ferguson, Steve
> Cc: 'address@hidden'
> Subject: Re: cfengine build problem on Solaris 2.6
> 
> 
> You need to install flex, I have submitted a patch to configure that
> will cause it to error if flex is not installed.
> 
> 
> 
> On Thu, 2003-07-10 at 14:41, Ferguson, Steve wrote:
>> I'm trying to build cfengine 2.0.7p3 on some older Solaris 2.6 systems we
>> have around here.  It's failing at the point below and I'm not sure why.
>> Any pointers would be appreciated.  FYI, I'm using GNU make 3.80, GNU m4
>> 1.4, bison 1.875, flex 2.5.4, OpenSSL 0.9.7b, BerkeleyDB 3.2, and gcc
>> 2.95.3.
>> 
>> My configure command is:
>> ./configure --prefix=/opt/software/cfengine-2.0.7p3
>> --with-openssl=/usr/local/ssl
>> 
>> Here's the output of make just before the error:
>> 
>> 
>> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.3.2/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.3.2/include   -D_REENTRANT -pthreads -g -O2
>> -I/usr/local/BerkeleyDB.3.2/include -c `test -f 'wildcard.c' || echo
>> './'`wildcard.c
>> /bin/ksh ../ylwrap `test -f 'cfparse.y' || echo './'`cfparse.y y.tab.c
>> cfparse.c y.tab.h cfparse.h y.output cfparse.output --
> /usr/local/bin/bison
>> -d
>> got /home/ferguss/cfengine-2\.0\.7p3/src/
>> /home/ferguss/cfengine-2.0.7p3/src/cfparse.y: conflicts: 9 shift/reduce,
> 24
>> reduce/reduce
>> make[1]: *** [cfparse.c] Error 1
>> make[1]: Leaving directory `/home/ferguss/cfengine-2.0.7p3/src'
>> make: *** [all] Error 2
>> *** Error code 1
>> make: Fatal error: Command failed for target `all-recursive'
>> 
>> Thanks,
>> Steve
>> 
>> --
>> Steve Ferguson
>> gedas USA, Inc.
>> address@hidden
>> http://www.gedasusa.com
>> 
>> 
>> _______________________________________________
>> Help-cfengine mailing list
>> address@hidden
>> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




reply via email to

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