Re: [rrd-users] rrdtool make problem

This is a discussion on Re: [rrd-users] rrdtool make problem within the RRD Users forums, part of the Networking and Network Related category; On Fri, Apr 11, 2008 at 01:46:31PM -0400, Majczan, Chris wrote: > Any thoughts would be greatly appreciated. ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008
A Darren Dunham
 
Posts: n/a
Default Re: [rrd-users] rrdtool make problem

On Fri, Apr 11, 2008 at 01:46:31PM -0400, Majczan, Chris wrote:
> Any thoughts would be greatly appreciated. Solaris 10, x86....
> rrdtool-1.0.33.


> Thoughts?


> checking for perl... (cached) /usr/bin/perl


You are using the solaris-provided perl rather than a locally-built
copy.

> checking for gcc... (cached) gcc


And you are compiling with 'gcc' rather than the sun compilers.

> cd perl-shared && make
>
> cc -c -I../src -I../gd1.3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.000331\"
> -DXS_VERSION=\"1.000331\" -KPIC
> "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -DPERLPATCHLEVEL=8
> RRDs.c
>
> /usr/ucb/cc: language optional software package not installed


Perl modules default to compiling with the same compiler and options
that were used to build perl itself. So 'cc' and not 'gcc' in this
case.

One solution is to download and install the Sun compilers and let 'cc'
go to town. Another is to use a locally-built (with gcc) copy of perl.

A final way is to use /usr/perl5/bin/perlgcc as your perl for the
purposes of compiling. That convinces the perl module to write a
Makefile with 'gcc' as the compiler.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:14 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0