[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem compiling from 2.1.14 on Solaris 8
From: |
Luke Youngblood |
Subject: |
RE: Problem compiling from 2.1.14 on Solaris 8 |
Date: |
Thu, 26 May 2005 14:32:30 -0400 |
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:pwilliamson@mandtbank.com]
Sent: Thursday, May 26, 2005 2:17 PM
To: Mark.Burgess@iu.hio.no; lyoungblood@phonechargeinc.com
Cc: help-cfengine@gnu.org
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" <lyoungblood@phonechargeinc.com> 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: help-cfengine-bounces+lyoungblood=phonechargeinc.com@gnu.org
[mailto:help-cfengine-bounces+lyoungblood=phonechargeinc.com@gnu.org]
On
Behalf Of PAUL WILLIAMSON
Sent: Thursday, May 26, 2005 6:17 AM
To: Mark.Burgess@iu.hio.no
Cc: help-cfengine@gnu.org
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
- Problem compiling from 2.1.14 on Solaris 8, PAUL WILLIAMSON, 2005/05/25
- Re: Problem compiling from 2.1.14 on Solaris 8, PAUL WILLIAMSON, 2005/05/25
- Re: Problem compiling from 2.1.14 on Solaris 8, Mark Burgess, 2005/05/26
- Re: Problem compiling from 2.1.14 on Solaris 8, PAUL WILLIAMSON, 2005/05/26
- RE: Problem compiling from 2.1.14 on Solaris 8, PAUL WILLIAMSON, 2005/05/26
- RE: Problem compiling from 2.1.14 on Solaris 8,
Luke Youngblood <=
- RE: Problem compiling from 2.1.14 on Solaris 8, Luke Youngblood, 2005/05/26
- RE: Problem compiling from 2.1.14 on Solaris 8, Mark Burgess, 2005/05/26
- RE: Problem compiling from 2.1.14 on Solaris 8, PAUL WILLIAMSON, 2005/05/26