[Orca-users] orca-0.27 on solaris8 - make problem
TWickram at Uniteller.com
TWickram at Uniteller.com
Wed Mar 1 13:46:48 PST 2006
Trying to configure orca-0.27 on solaris8
Since I do not have full cc version Data-Dumper complains with following :
cd /export/home/orca/installs/orca-0.27/packages/Data-Dumper-2.101 ; perl
Makefile.pl, make
complains :
/usr/ucb/cc: language optional software package not
installed
So I'm using gcc, with following config
# echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/ucb
# which cc
/usr/ucb/cc
# ls -la /usr/ucb/cc
lrwxrwxrwx 1 root other 18 Feb 27 16:04 /usr/ucb/cc ->
/usr/local/bin/gcc
# which perl
/usr/local/bin/perl
# perl -v
This is perl, v5.8.7 built for sun4-solaris
# gcc -v
gcc version 3.3.2
./configure --prefix=/export/home/orca \
--with-var-dir=/export/home/orca/var \
--with-rrd-dir=/export/home/orca/rrd \
--with-html-dir=/export/home/orca/html \
--with-ncsa-log=/export/home/orca/log
goes ok !
make
problems
cp RRDs.pm blib/lib/RRDs.pm
/bin/perl -I/usr/perl5/5.00503/sun4-solaris
-I/usr/perl5/5.00503 /usr/perl5/5.00503/ExtUtils/xsubpp -typemap
/usr/perl5/5.00503/ExtUtils/typemap RRDs.xs >xstmp.c && mv xstmp.c RRDs.c
cc -c -I../src -I../gd1.3 -xO3 -xdepend
-DVERSION=\"1.000401\" -DXS_VERSION=\"1.000401\" -KPIC
-I/usr/perl5/5.00503/sun4-solaris/CORE -DPERLPATCHLEVEL=5 RRDs.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
cc: RRDs.c: linker input file unused because linking not done
I find similar problem when installing rrdtool only.
as root :
# echo $PATH
/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/ucb
My understand is that , make tries to compile attached perl packages. RRD
gives this error.
when I try to make rrd alone it gives similar error (though /usr/local/bin is
at front of the path)
cd rrdtool-1.0.40
./configure
make
some problems .. but ignoring :
/perl5/5.00503/sun4-solaris/CORE -DPERLPATCHLEVEL=5
RRDs.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized
I can download and install newer version of rrdtool, but is there a way to
tell orca makefile not to install rrd and other pre-requisites from packages
folder ? And to use already installed versions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20060301/b3f7c757/attachment.html>
More information about the Orca-users
mailing list