[rrd-users] Unable to complie RRD

Shaun Nicholson Shaun.Nicholson at kp.org
Fri Nov 5 15:12:57 MET 1999


Hello all

I'm new to Unix and have been using MRTG on WinNT and bought a Sun Solaris Ultra Sparc 10 to Runn RRD on.
However I am having dificulty in getting it to compile. I get this error after running make

# make
Making all in cgilib-0.4
make[1]: Entering directory `/usr/Nettools/rrdtool-1.0.7/cgilib-0.4'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -pedantic  -o librrd_cgi.la   cgi.lo  -lm 
rm -fr .libs/librrd_cgi.la .libs/librrd_cgi.* .libs/librrd_cgi.*
ar cru .libs/librrd_cgi.a  cgi.o 
../libtool: ar: not found
make[1]: *** [librrd_cgi.la] Error 1
make[1]: Leaving directory `/usr/Nettools/rrdtool-1.0.7/cgilib-0.4'
make: *** [all-recursive] Error 1

I am using the make from Suns page gcc 2.8.1
and the OS is Solaris7
when i type perl -V i get

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=solaris, osvers=2.7, archname=sun4-solaris
    uname='sunos 5.7 generic_patch sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -lgdbm -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Built under solaris
  Compiled at Jun 27 1999 20:12:35
  @INC:
    /usr/local/lib/perl5/5.00503/sun4-solaris
    /usr/local/lib/perl5/5.00503
    /usr/local/lib/perl5/site_perl/5.005/sun4-solaris
    /usr/local/lib/perl5/site_perl/5.005

If this helps

I have tried installing various libarys and get similar problems when running make.

I know its probably a Unix Libary problem but could some one please tell me what I need to do or install to get this to work.

Or even better still does some one have a precompiled version or know of where to get one.

All help greatfully appreciated

Shaun

--
* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch



More information about the rrd-users mailing list