On Wed, Oct 11, 2000 at 11:24:05AM +0200, [EMAIL PROTECTED] 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 -- [EMAIL PROTECTED]
The named which can be named is not the Eternal named.
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi