[rrd-users] Re: FW: Compiling problems on HP-UX 10.20 with rrdtool rrdtool-1.0.28
Clifton Royston
cliftonr at lava.net
Wed Oct 11 21:43:13 MEST 2000
On Wed, Oct 11, 2000 at 11:24:05AM +0200, yves.wouters at belgacom.be wrote:
>
> I am trying to install rrdtool-1.0.28 on a HP-UX server but I encountered
> some problems.
> Compiling the "perl-shared" section gives me the following error.
>
> cc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE
^^
> -D_FILE_OFFSET_BITS=64 -O +Onolimit -DVERSION=\"1.000281\"
> -DXS_VERSION=\"1.000281\" +z -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE
> -DPERLPATCHLEVEL=6 RRDs.c
> cc: +Onolimit: No such file or directory
> cc: +z: No such file or directory
^^
> *Initialization*:1: missing token-sequence in `#assert'
> *** Error exit code 1
>
> When I modify the makefile manualy (removing the +Onolimit and +z Flag)
> I received the following error.
>
> cc -c -I../src -I../gd1.3 -Ae -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
^^
> -DVERSION=\"1.000281\" -DXS_VERSION=\"1.000281\"
> -I/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE -DPERLPATCHLEVEL=6 RRDs.c
> *Initialization*:1: missing token-sequence in `#assert'
> *** Error exit code 1
>
>
> I am using :
>
> gcc -v
^^^
Are you sure "cc" maps to "gcc"? HP used to ship with their own C
compiler as cc. Instead of deleting those options, try explicitly
setting CC=gcc in your makefile.
-- Clifton
--
Clifton Royston -- LavaNet Systems Architect -- cliftonr at lava.net
The named which can be named is not the Eternal named.
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list