statusmap.cgi compile problem

Brandino Andreas mailinglist at ebox.gr
Sun Jan 8 21:04:00 CET 2006


finally, defining these parameters fixed the problem:

 --with-command-group=nagcmd  --with-gd-lib=PATHTOLIBDIR
- --with-gd-inc=PATHTOHEADREDIR --with-jpeg=PATHTOLIBDIR
- --with-png=PATHTOLIBDIR --with-zlib=PATHTOLIBDIR


thx Markus and the rest for helping



Saturday, December 31, 2005, 12:53:57 PM, you wrote:

> -----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


> __________ NOD32 1.1347 (20051230) Information __________

> This message was checked by NOD32 antivirus system.
> http://www.eset.com




-- 
Best regards,
 Brandino                            mailto:mailinglist at ebox.gr



-------------------------------------------------------
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