statusmap.cgi compile problem
Markus Klahm
m.klahm at intersaar.de
Sat Dec 31 11:53:57 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
are you shure the compiler can find the libs, is /etc/ld.so.conf and
have you tried to run ldconfig?
There is also an other way to tell the compiler the truth. You can tell
him the path to the libraries by using this
./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
- --with-htmlurl=/ --with-nagios-user=nagios --with-nagios-group=nagcmd
- --with-command-group=nagcmd --with-gd-lib=PATHTOLIBDIR
- --with-gd-inc=PATHTOHEADREDIR --with-jpeg=PATHTOLIBDIR
- --with-png=PATHTOLIBDIR --with-zlib=PATHTOLIBDIR
tell him the path to the libraries he needs. Before this don't forget to
run make clean or make devclean.
hth
Markus
Brandino Andreas wrote:
> installing all these packages:
>
> libgd1-noxpm
> libttf2 libgdome2-dev libgd-perl
> &
> zlib-bin
> &
> libjpeg-mmx-dev
> libjpeg-mmx-progs
> libjpeg62
> libjpeg62-dev
> libjpeg-progs
> &
> imgsizer
> imagemagick libdps1 libice6 libjasper-1.701-1 liblcms1 libmagick9 libsm6 libxt6 python python2.3
> gs html2ps lpr libjasper-runtime liblcms-utils libwmf-bin python-doc python-tk python-profiler python2.3-doc python2.3-profiler
>
> i see no difference
>
>
> cat /etc/ld.so.conf
> /usr/X11R6/lib
> /usr/local/lib
>
> i think the problem is that while find gd libs it cant find specific
> declarations of functions in it (mauybe got removed with new versions)
>
> is possible to send me compiled statusmap.cgi from 2.0rc1? (someone
> sould have it). statusmap.cgi from older versions seem to work....
>
> thx
>
>
>
> Saturday, December 31, 2005, 3:21:45 AM, you wrote:
>
>
>>Hello Andreas,
>
>
>>I had the same Problem yesterday. It seems that statusmap needs also the
>>libjpeg ,the libpng and the zlib to compile correctly.
>
>
>>hth
>
>
>>Markus
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFDtmNF9/yQU0fWfl0RAhtAAKC3lcVryCS3o1SuDywHdmWGcVZAGACeNssq
cF2qOCRIDA80nkiJvq+nGjo=
=ZZuc
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list