[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling cfengine 2.0.4 on HP-UX 11.0
From: |
David Douthitt |
Subject: |
Compiling cfengine 2.0.4 on HP-UX 11.0 |
Date: |
Fri, 20 Sep 2002 00:39:06 -0500 |
User-agent: |
Mutt/1.4i |
When I went to compile cfengine 2.0.4, I ran into a bit
of trouble, but finally blundered my way into making it
work.
First, I installed the gcc toolset - including gcc, binutils,
gmake, autoconf, automake, libtool, ...
However, I initially used HP make, and found that this was
a mistake.
Then I found that the compiler tried to compile snprintf.c,
instead of using the HP snprintf. I haven't tracked that to
its source; I just modified the snprintf.c source to reflect
the fact that snprintf.c is present.
Then I discovered the following:
* -g is a BAD option on HP-UX, since debugging stuff is not
understood by HP-UX tools (according to gcc docs)
* -lPW turned out to be a mistake; removing it from configure
made things like properly.
* I added -ldld; did I have to?
* I also made sure to set MAKE=/usr/local/bin/gmake and
CC=/usr/local/bin/gcc
After doing all that, it finally worked. Now to compile RPM and
make an RPM out of it....
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Compiling cfengine 2.0.4 on HP-UX 11.0,
David Douthitt <=