[Orca-users] Problem compiling orca-0.27 on Solaris 10
Lane, Jim
Jim.Lane at cibc.com
Fri Nov 17 05:17:47 PST 2006
Hi, All
I'm trying to compile Orca 0.27 on Solaris 10 using gcc. I don't have
the Sun C compiler installed. The configure script seems to run cleanly.
The make fails however somewhere in the Perl modules apparently because
it is trying to use cc instead of gcc. The messages are as follows:
cd perl-shared && make
make[4]: Entering directory
`/export/home/jlane/orca-0.27/packages/rrdtool-1.0.40/perl-shared'
cc -c -I../src -I../gd1.3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-xarch=v8 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.000401\"
-DXS_VERSION=\"1.000401\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DPERLPATCHLEVEL=8
RRDs.c
/usr/ucb/cc: language optional software package not installed
make[4]: *** [RRDs.o] Error 1
The above is with /usr/local/bin at the end of the PATH. If I try it
with /usr/local/bin at the beginning and hence the sunfreeware version
of Perl I get a different error in rrdtool as follows:
checking for the C compiler perl wants to use to build its modules...
./configure: test: unknown operator -B/usr/ccs/bin/
make[1]: *** [rrdtool-1.0.40/config.status] Error 1
which I think means it doesn't like that version of Perl.
What am I doing wrong here?
Regards,
Jim Lane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20061117/a4ec4ff5/attachment.html>
More information about the Orca-users
mailing list