[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ2] GD Modules
- Subject: Re: [cobalt-users] [RaQ2] GD Modules
- From: "Justin Weathers" <jweathers@xxxxxxxxxxxxxx>
- Date: Fri Mar 31 14:25:08 2000
- Organization: World Courier Metro, Inc.
Are you trying to install MRTG? I seem to rememeber having to do all that
for it. Even though I couldn't get MRTG configured on a qube ( and
eventually gave up ), the instructions in the MRTG README file for
installing libpng and gd were quite clear and easy to follow and they
installed w/o a hitch.
I include here from the mrtg README file...
>> your commands for building gd and friends might look like this:
(if you want mrtg to produce GIF images try to get hold of a copy
of gdlib version 1.3 or earlier. Current gd will produce PNG images.
go to http://www.boutell.com/gd/http/)
**** if you don't have zlib installed (linux will not need this)
wget http://www.cdrom.com/pub/infozip/zlib/zlib.tar.gz
gunzip -c zlib.tar.gz | tar xf -
mv zlib-1.1.3/ zlib
cd zlib
./configure
make
cd ..
**** if you don't have libpng installed (linux will not need this)
wget ftp://swrinde.nde.swri.edu/pub/png/src/libpng-1.0.5.tar.gz
gunzip -c libpng-1.0.5.tar.gz |tar xf -
mv libpng-1.0.5 libpng
cd libpng
make -f scripts/makefile.std CC=gcc ZLIBLIB=../zlib ZLIBINC=../zlib
rm *.so.* *.so
cd ..
**** if you don't have libgd
wget http://www.boutell.com/gd/http/gd-1.7.3.tar.gz
gunzip -c gd-1.7.3.tar.gz |tar xf -
cd gd-1.7.3
make INCLUDEDIRS="-I../zlib -I../libpng"
LIBDIRS="-L../zlib -L. -L../li
bpng" LIBS="-lgd -lpng -lz -lm"
cd ..
configure will make sure your evironment is fit for building mrtg.
If it finds a problem, it will tell you so and it will also tell
you what todo about it. If everything is OK, you will end up with
a custom Makefile for your system. Now type:
make
this builds the rateup binary and edits all the perl pathnames in
the scripts. All the software required by MRTG is now in the run
subdirectory.
Copy the contents of the "run" subdirectory to your favourite
location for the binaries of packages (eg /usr/local/bin). It is
now safe to delete the directories for zlib, libpng, gd.
> Once all the required libraries are in place cd into the mrtg directory
> and type:
./configure --with-gd=../gd-1.7.3 --with-z=../zlib --with-png=../libpng
----- Original Message -----
From: "Fathi Said" <fathi@xxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Friday, March 31, 2000 4:24 PM
Subject: [cobalt-users] [RaQ2] GD Modules
> Hello,
>
> On my RaQ2 I want to install the GD.PM interface for Boutell's GD library.
> Has anybody done this before? I don't have the GD library itself and also
> don't have libpng, which is necessary to compile the library, I
think.......
>
> I have downloaded the software and tried installing it but I always end up
> with errors -- after several hours of work now I'll ask here, maybe
someone
> can help me through the process.
>
> I have also found a link in the archives but that was related to webalizer
> and the instructions were very unclear......., and I wasn't able to
install
> it either.
>
> Please contact me off- or onlist.
>
> Thank you for your help.
>
> Fathi
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users