@sysconfdir@/cgi.cfg - Installation setup problem

Andreas Ericsson ae at op5.se
Wed Aug 31 09:17:40 CEST 2005


Subhendu Ghosh wrote:
> 
> Yes - autoconf which creates configure uses perl :)
> 

That doesn't matter though. The ./configure script is built to be able 
to run with only shell, grep, sed and awk (required SUSv1 tools). The 
perl-script is Ethan's doing and it can be taken care of.

> You can either compile your own or sunfreeware.com has some nice pkgadd 
> versions.
> 

This is probably easier. It's definitely faster anyway.


> -sg
> 
> 
> On Wed, 31 Aug 2005, Elizar M. Palad wrote:
> 
>> Hi, thanks!
>> from ./configure's output:
>>
>> creating html/index.html
>> creating html/side.html
>> creating include/config.h
>> creating include/snprintf.h
>> creating include/nagios.h
>> creating include/cgiutils.h
>> ./configure: perl: not found
>> ./configure: perl: not found
>>
>> Creating sample config files in sample-config/ ...
>> ./configure: perl: not found
>> ./configure: perl: not found
>> ./configure: perl: not found
>> ./configure: perl: not found
>> ./configure: perl: not found
>> ./configure: perl: not found
>> ./configure: perl: not found
>> ./configure: perl: not found
>>
>>
>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***:
>>
>> General Options:
>> -------------------------
>> Nagios executable: nagios
>> Nagios user/group: nagios,nagios
>> Command user/group: nagios,nagios
>> Embedded Perl: no
>> Event Broker: yes
>> Install ${prefix}: /usr/local/nagios
>> Lock file: ${prefix}/var/nagios.lock
>> Init directory: /etc/init.d
>> Host OS: solaris2.6
>> ....
>> Im going to install now perl and see if it will create the location.h 
>> file.
>> Thanks!
>> eli
>>
>> On 8/31/05, Subhendu Ghosh <sghosh at sghosh.org> wrote:
>>
>>>
>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote:
>>>
>>>> I rerun ./configure --prefix=/usr/local/nagios
>>>
>>> --with-cgiurl=/nagios/cgi-bin
>>>
>>>> --with-htmlurl=/nagios --with-nagios-user=nagios
>>>
>>> --with-nagios-groupp=nagios
>>>
>>>> --with-gd-lib=/usr/local/lib
>>>> and summary is below:
>>>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***:
>>>>
>>>> General Options:
>>>> -------------------------
>>>> Nagios executable: nagios
>>>> Nagios user/group: nagios,nagios
>>>> Command user/group: nagios,nagios
>>>> Embedded Perl: no
>>>> Event Broker: yes
>>>> Install ${prefix}: /usr/local/nagios
>>>> Lock file: ${prefix}/var/nagios.lock
>>>> Init directory: /etc/init.d
>>>> Host OS: solaris2.6
>>>>
>>>> Web Interface Options:
>>>> ------------------------
>>>> HTML URL: http://localhost/nagios/
>>>> CGI URL: http://localhost/nagios/cgi-bin/
>>>> Traceroute (used by WAP):
>>>>
>>>>
>>>> Review the options above for accuracy. If they look okay,
>>>> type 'make all' to compile the main program and CGIs.
>>>> ------------------
>>>> Looks ok isn't it?
>>>> then when i do 'make all', i have this error:
>>>> # make all
>>>> cd ./base && make
>>>> make: Fatal error: Don't know how to make target
>>>
>>> `../include/locations.h'
>>>
>>>> Current working directory /packages/nagios-2.0b4/base
>>>> *** Error code 1
>>>> make: Fatal error: Command failed for target `all'
>>>> This is also my second time with this error. What I did was i copy
>>>> locations.h.in <http://locations.h.in> <http://locations.h.in> as
>>>
>>> locations.h :-)
>>>
>>>> and the compilation continues.. (was that not right? :)
>>>> thanks!
>>>
>>>
>>>
>>> NOOOOO - configure must have produced an error before the summary was
>>> printed.
>>>
>>> configure should create a locations.h from 
>>> locations.h.in<http://locations.h.in>after
>>> appropriate substitutions.
>>>
>>> If the file is not being created properly - you may have a file 
>>> permission
>>> issue.
>>>
>>> run "chown -R user:group nagios_src_dir/"
>>>
>>> replace the user and group with the user and group info fort he person
>>> running configure
>>>
>>> replace nagios_src_dir with the dir that contains the nagios src.
>>>
>>> Never copy a *.*.in file into a *.* file.
>>>
>>>
>>>
>>> -- 
>>>
>>> -sg
>>>
>>
>>
>>
>>
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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