Not able to compile CGIS

Saravana Kumar skumarsmails at gmail.com
Fri Jul 3 18:26:27 CEST 2009


Hi Guy,


Below are the commands and options which I used while compiling installing
nagios.


 ./configure --prefix=/usr/local/nagios --with-htmlurl=/nagios/
--with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios
--with-nagios-group=nagios --with-command-group=ncmd
--with-lockfile=/usr/local/nagios/var/lock/subsys/nagios
 make all
 make install
 make install-init
 make install-commandmode
 make install-config
 make install-webconf


Thanks
Saravana Kumar

On Fri, Jul 3, 2009 at 9:30 PM, Guy Waugh <guidosh at gmail.com> wrote:

> OK, I think that means that rpm didn't find any problems with the gd-devel
> package.
>
> What options did you pass to configure?
> Is there anything useful in config.log?
>
> Regards,
> Guy.
>
>
>
>
> On Fri, Jul 3, 2009 at 4:47 PM, Saravana Kumar <skumarsmails at gmail.com>wrote:
>
>> I don't see any out put when i execute that command.
>>
>>
>> [root at nagios ~]# rpm -qav | grep gd-devel
>> gd-devel-2.0.33-9.4.el5_1.1
>>
>> [root at nagios ~]# rpm -V gd-devel
>> [root at nagios ~]#
>>
>>
>> Thanks
>> Saravana Kumar
>>
>>
>>
>> On Fri, Jul 3, 2009 at 9:08 PM, Guy Waugh <guidosh at gmail.com> wrote:
>>
>>> Well, I can see the header definition for gdImageSetStyle in
>>> /usr/include/gd.h, which according to RPM, is owned by the gd-devel package.
>>>
>>> What does 'rpm -V gd-devel' say?
>>>
>>>
>>> On Fri, Jul 3, 2009 at 4:18 PM, Saravana Kumar <skumarsmails at gmail.com>wrote:
>>>
>>>> Hi Guy Waugh,
>>>>
>>>>
>>>> In fact I am not using 64 Bit Centos this is 32 Bit. And I installed
>>>> gd-devel and gd packages using *yum install gd gd-devel* command.
>>>>
>>>>
>>>> Please help me.
>>>>
>>>>
>>>> Thanks
>>>> Saravana Kumar
>>>>
>>>>
>>>> On Fri, Jul 3, 2009 at 8:00 PM, Guy Waugh <guidosh at gmail.com> wrote:
>>>>
>>>>> Hmm... only other thing I can think of (without knowing where those
>>>>> unfound functions are) is... is it 64-bit Centos? If so, do you only have
>>>>> the 64-bit version of gd-devel installed?
>>>>>
>>>>> Looking back at how I compiled nagios-3.0.6 on a RHEL5 x86_64 system, I
>>>>> included these arguments to ./configure:
>>>>>
>>>>>         --with-gd-inc=/usr/include --with-gd-lib=/usr/lib64
>>>>>
>>>>> Regards,
>>>>> Guy.
>>>>>
>>>>>
>>>>> On Fri, Jul 3, 2009 at 2:25 PM, Saravana Kumar <skumarsmails at gmail.com
>>>>> > wrote:
>>>>>
>>>>>>
>>>>>> thanks for quick response.
>>>>>>
>>>>>>
>>>>>> Yes I have.
>>>>>>
>>>>>> [root at nagios ~]# rpm -qa | grep gd
>>>>>> gd-2.0.33-9.4.el5_1.1
>>>>>> gd-devel-2.0.33-9.4.el5_1.1
>>>>>>
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> --Saravana Kumar
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Jul 3, 2009 at 6:52 PM, Guy Waugh <guidosh at gmail.com> wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> It looks to be complaining about not finding GD library stuff... do
>>>>>>> you have the 'gd-devel' package installed (if that's what it's called on
>>>>>>> Centos)?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Guy.
>>>>>>>
>>>>>>>  On Fri, Jul 3, 2009 at 2:03 PM, Saravana Kumar <
>>>>>>> skumarsmails at gmail.com> wrote:
>>>>>>>
>>>>>>>>  Hi Folks,
>>>>>>>>
>>>>>>>> I am trying to install nagios-3.0.6 on Centos 5. while compiling
>>>>>>>> cgis i am getting following error and i couldn't able to proceed further I
>>>>>>>> have installed all possible dependency packages for the please help me
>>>>>>>>
>>>>>>>>
>>>>>>>> skiplist.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o
>>>>>>>> xstatusdata-cgi.o comments-cgi.o downtime-cgi.o   -L/lib -lglib-2.0
>>>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0
>>>>>>>> -I/usr/lib/glib-2.0/include   -DNSCGI  -o history.cgi history.c getcgi.o
>>>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o  objects-cgi.o xobjects-cgi.o
>>>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -L/lib
>>>>>>>> -lglib-2.0
>>>>>>>> gcc -g -O2 -DHAVE_CONFIG_H -I/usr/include/glib-2.0
>>>>>>>> -I/usr/lib/glib-2.0/include   -DNSCGI  -o histogram.cgi histogram.c getcgi.o
>>>>>>>> cgiutils.o cgiauth.o macros-cgi.o skiplist.o  objects-cgi.o xobjects-cgi.o
>>>>>>>> statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o  -L/lib
>>>>>>>> -lglib-2.0
>>>>>>>> /tmp/ccCq2F9D.o: In function `draw_dashed_line':
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2474: undefined
>>>>>>>> reference to `gdImageSetStyle'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2477: undefined
>>>>>>>> reference to `gdImageLine'
>>>>>>>> /tmp/ccCq2F9D.o: In function `draw_line':
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2453: undefined
>>>>>>>> reference to `gdImageSetStyle'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:2456: undefined
>>>>>>>> reference to `gdImageLine'
>>>>>>>> /tmp/ccCq2F9D.o: In function `graph_all_histogram_data':
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1619: undefined
>>>>>>>> reference to `gdFontSmall'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1652: undefined
>>>>>>>> reference to `gdFontSmall'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1653: undefined
>>>>>>>> reference to `gdImageString'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1673: undefined
>>>>>>>> reference to `gdFontSmall'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1675: undefined
>>>>>>>> reference to `gdImageStringUp'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1681: undefined
>>>>>>>> reference to `gdFontSmall'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1682: undefined
>>>>>>>> reference to `gdImageStringUp'
>>>>>>>> /opt/nagios-3.0.6/nagios-3.0.6/cgi/histogram.c:1694: undefined
>>>>>>>> reference to `gdFontSmall'
>>>>>>>>
>>>>>>>>
>>>>>>>> Please let me if you need any more info on this.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> --
>>>>>>>> Saravana Kumar
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Saravana Kumar
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Saravana Kumar
>>>>
>>>
>>>
>>
>>
>> --
>> Saravana Kumar
>>
>
>


-- 
Saravana Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090703/c5ba821b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
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