[rrd-users] Re: Solaris 8 and RRD (work around)

Shoaib Muhammad Shoaib.Muhammad at fronteracorp.com
Fri Mar 30 06:30:14 MEST 2001


Finally I able to compile RRDTool on solaris 8 running on Ultra10 with some
workaround.
I installed latest GNU gcc & make from sunfreeware.com.

I did:
./configure --enable-shared
/usr/local/bin/make [GNU make]
/usr/local/bin/make install

I was getting the following error:

cc -c -I../src -I../gd1.3  -xO3 -xdepend    -DVERSION=\"1.000331\"
-DXS_VERSION=\"1.000331\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE
-DPERLPATCHLEVEL=5 RRDs.c
cc: unrecognized option `-KPIC'
cc: language depend not recognized

I edit /install/rrdtool-1.0.33/perl-shared/Makefile and remove "-KPIC" and
"-xdepend" compiler options and change -xo3 to -xc, and change "CC=cc" to
"CC=gcc"
and made the following sym links.


ln -s /usr/local/bin/gcc  /usr/ucb/cc
ln -s /usr/local/bin/gcc  /usr/local/bin/cc

and compiled again and its compiled without any errors. I tried the Tobi
RRDTool Tutorial
(http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html
) and able to create graphs too using the binaries just created. 

I didn't start using it in production environment yet in order to see will
the options i removed above will affect or not.

Thanks to Dean Singh and Tobi for there help.
Shoaib Muhammad

--
System Admin
Frontera Corp
http://www.fronteracorp.com






--
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