Operating System - HP-UX
1837228 Members
2797 Online
110115 Solutions
New Discussion

problem compiling RRDtool on HP-UX

 
SOLVED
Go to solution
Kalin Evtimov
Regular Advisor

problem compiling RRDtool on HP-UX

Hello!
I tried to install RRDtool on HP-UX 11i, Itanium machine, but after running sh config i get:

Could not find the Compiler: "gcc"
which has been used to build perl. You may have to compile
your own copy of perl to make this work. Binary perls often
exhibit this problem

I installed the gcc Compiler, but this didn`t help, still the same. I have Perl 5.8.0 on the machine.
Can anybody help me? 10x in advance.
4 REPLIES 4
harry d brown jr
Honored Contributor
Solution

Re: problem compiling RRDtool on HP-UX

download the source to perl and install it.

You also have gmake and the bintools, correct?

http://hpux.ee.ualberta.ca/hppd/hpux/Languages/perl-5.8.6/

live free or die
harry d brown jr
Live Free or Die
Kalin Evtimov
Regular Advisor

Re: problem compiling RRDtool on HP-UX

Yes, I have them. I just changed the PATH and added usr/local/bin and this worked. Unfortunately I cannot understand why make stops:

from RRDs.xs:6:
/usr/include/sys/ipc.h:51: error: parse error before "cid_t"
/usr/include/sys/ipc.h:56: error: parse error before '}' token
In file included from /opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE/perl.h:3951,
from RRDs.xs:6:
/usr/include/sys/sem.h:91: error: field `sem_perm' has incomplete type
In file included from ../src/rrd_tool.h:24,
from RRDs.xs:13:
../config.h:191:1: warning: "VERSION" redefined
:10:1: warning: this is the location of the previous definition
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

This is somtheing, that I am not able to find out..still not.
rick jones
Honored Contributor

Re: problem compiling RRDtool on HP-UX

iirc gcc like to muck with system include files. sometimes that process does not go as intended.
there is no rest for the wicked yet the virtuous have no pillows
Alex Lavrov.
Honored Contributor

Re: problem compiling RRDtool on HP-UX

I think you should use ANSI C compiler.
For details refer to this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=723079
I don't give a damn for a man that can only spell a word one way. (M. Twain)