[mrtg] Re: zlib

Jack Barnett jbarnett at axil.netmate.com
Mon Feb 7 14:15:00 MET 2000


When I tried installing it on Solaris 7, I got the same error.  It is
looking for the program named 'ar' in the wrong place.  ar on a default
install of Solaris 7 is under '/usr/ccs/bin/ar'.  What I did to reslove this
problem was to make a sys link from /usr/ccs/bin/ar to /bin/ar like so:

ln -s /usr/ccs/bin/ar /bin/ar

(as root).  Or you could edit the Makefile to point to the /real/ ar.
Either way should work.

You can also download zlib pre compiled from Sun's freeware site.  I forget
the address, but it is something like sunfreeware.sun.com or
sunfreeware.com.  I know http://www.solarisguide.com has a link to it
somewhere on the page, if those 2 addresses aren't correct.

Jack

----- Original Message -----
From: Munoz, Francis D. <MunozFD at etpi.com.ph>
To: <mrtg at list.ee.ethz.ch>
Sent: Monday, February 07, 2000 12:11 AM
Subject: [mrtg] zlib


> Hi!
>
> I'm a newbie in Solaris and I'm trying to install  MRTG in one of our
boxes.
> I'm using Solaris 7
>
> I was able to install  Perl 5, GNUgcc and Apache  successfully but I'm
> having trouble installing zlib-1.1.3.
> After downloading the file and extracting it i followed the procedure
below.
> Step 1
> #mv zlib-1.1.3 /zlib
> #cd zlib
> #./configure
> # make
> ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o tree=
> s.o
> zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o =
>
> make: ar: Command not found
> make: *** [libz.a] Error 127
>
> When executing the make command i'm getting the error above.
>
> What should i do to fix this error?
>
> Thanks
>
> Francis
>
>
>
>
>
>
>
>
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/mrtg
>
>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list