[mrtg] Re: Can't compile!!
Martin Rheumer
martinr at hotkey.net.au
Thu Apr 8 08:29:17 MEST 2004
Peeps,
The easiest way to make this work on Redhat 9 is to install
the following RPMS's from the Redhat 9 install CDS.
rpm -ivh /RedHat/RPMS/gd-1.8.4-11.i386.rpm
rpm -ivh /RedHat/RPMS/gd-devel-1.8.4-11.i386.rpm
rpm -ivh /RedHat/RPMS/gd-progs-1.8.4-11.i386.rpm
rpm -ivh /RedHat/RPMS/libpng10-1.0.13-8.i386.rpm
rpm -ivh /RedHat/RPMS/libpng10-devel-1.0.13-8.i386.rpm
rpm -ivh /RedHat/RPMS/libpng-devel-1.2.2-16.i386.rpm
And in the Packages Selections Make sure the following are
selected for Perl / Tcl / Python etc.
%packages
@Development Tools
Then when you install mrtg you can just use the
./configure option with no switches. Works a treat
on over 200 boxes so far.
>> I tried installing fresh on redhat 8, surprisingly got the same
>> result. Anything else I can try with.
>
>There are so many things you have to do to solve the 'problem' you got:
>
>1) inspect your Makefile:
> less Makefile
>2) proceed to next step if the problem still remain.
>3) learn a bit about how 'make' works:
> pinfo make
> read a section: "* Invoking make: Running."
>4) re-run make to see if the problem still remain:
> make; echo $?
> if you do not know anything about "$?", run 'man bash' and
> read a section "Special Parameters".
>5) proceed to next step if the problem still remain.
>6) learn a lot about how 'make' works:
> pinfo make
> read entire document.
>7) proceed to next step if the problem still remain.
>8) correct the problem by yourself:
> vi Makefile
>9) proceed to next step only if really the problem still remain.
>10) forget about MRTG or anything requires you to compile it.
>
>Hope this helps,
>Takumi Yamane <yamtak at b-session.com>
>
>P.S.:
> 1) Basically, it is a bad idea to run 'configure', or 'make'
> under privileged account like 'root' (except make install).
> There are so many pricks, like me :), on the net.
> 2) Please exclude my address from CC when you reply.
> I already subscribed to this list, and I do not want to receive
> same messages twice.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list