I think the make is looking for bison now... When I had these issues I dug into the Makefile and it looks like ylwrap is used as a wrapper for flex, yacc, and bison. My system might have had bison on it already and that's why I didn't need it. Anyway, try installing bison and I think you will be set.
I guess if we wanted to list all of the pre-requisites for building cfengine, it would probably look like this: 1. OpenSSL 2. BerkelyDB 3+ 3. Gnu M4 4. Gnu flex 5. Gnu bison 6. Gnu make (not 100% required, as Sun's make will work also) 7. Gnu cc Did I leave anything out? If you want I could send you a copy of the 2.1.14 that I compiled on Solaris. I'm guessing you probably can't use that in your environment though because it wasn't compiled in house... HTH. Luke -----Original Message----- From: PAUL WILLIAMSON [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 2:17 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: [email protected] Subject: RE: Problem compiling from 2.1.14 on Solaris 8 Luke, Thanks for all these pointers. It's like you're anticipating what I'm going to ask next. Unfortunately, I've now moved on to a new error. /bin/bash ../ylwrap cfparse.y y.tab.c cfparse.c y.tab.h cfparse.h y.output cfparse.output -- bison -y -d got /tmp/cfengine/cfengine-2\.1\.14/src/ *** Error code 1 make: Fatal error: Command failed for target `cfparse.c' Current working directory /tmp/cfengine/cfengine-2.1.14/src *** Error code 1 make: Fatal error: Command failed for target `all' Current working directory /tmp/cfengine/cfengine-2.1.14/src *** Error code 1 make: Fatal error: Command failed for target `all-recursive' I just can't seem to catch a break... Paul >>> "Luke Youngblood" <[EMAIL PROTECTED]> 05/26/05 1:38 PM >>> Paul, After compiling 2.1.14 on one of my Solaris boxes, I used this great gnutopkg script to turn it into a Solaris package for easy distribution to my other hosts: http://www.bolthole.com/solaris/gnutopkg I also like having the binaries in a Solaris package format so that I can easily remove it if necessary with a pkgrm. Hope this helps. Luke -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PAUL WILLIAMSON Sent: Thursday, May 26, 2005 6:17 AM To: [EMAIL PROTECTED] Cc: [email protected] Subject: Re: Problem compiling from 2.1.14 on Solaris 8 Thanks Mark. I'll probably be able to figure this out in about 2 hours, but if I package this up to install on my other machines, will I need flex and bison on those machines as well? I wouldn't think so, but before I go through the packaging process, it would be nice to know. Paul _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
