<div> </div>
<div>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</div>
<div> </div>
<div>and summary is below:</div>
<div>*** Configuration summary for nagios 2.0b4 08-02-2005 ***:</div>
<p> General Options:<br> -------------------------<br>        Nagios executable:  nagios<br>        Nagios user/group:  nagios,nagios<br>       Command user/group:  nagios,nagios<br>            Embedded Perl:  no<br>             Event Broker:  yes
<br>        Install ${prefix}:  /usr/local/nagios<br>                Lock file:  ${prefix}/var/nagios.lock<br>           Init directory:  /etc/init.d<br>                  Host OS:  solaris2.6</p>
<p> Web Interface Options:<br> ------------------------<br>                 HTML URL:  <a href="http://localhost/nagios/">http://localhost/nagios/</a><br>                  CGI URL:  <a href="http://localhost/nagios/cgi-bin/">
http://localhost/nagios/cgi-bin/</a><br> Traceroute (used by WAP):</p>
<p><br>Review the options above for accuracy.  If they look okay,<br>type 'make all' to compile the main program and CGIs.<br></p>
<div>------------------</div>
<div> </div>
<div>Looks ok isn't it?</div>
<div> </div>
<div>then when i do 'make all', i have this error:</div>
<div> </div>
<div># make all<br>cd ./base && make<br>make: Fatal error: Don't know how to make target `../include/locations.h'<br>Current working directory /packages/nagios-2.0b4/base<br>*** Error code 1<br>make: Fatal error: Command failed for target `all'
<br> </div>
<div>This is also my second time with this error. What I did was i copy</div>
<div><a href="http://locations.h.in">locations.h.in</a> as locations.h  :-)</div>
<div>and the compilation continues.. (was that not right? :)</div>
<div> </div>
<div>thanks!</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 8/31/05, <b class="gmail_sendername">Subhendu Ghosh</b> <<a href="mailto:sghosh@sghosh.org">sghosh@sghosh.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>yes - please run configure again - check for errors<br><br><br>On Wed, 31 Aug 2005, Elizar M. Palad wrote:
<br><br>> Hi Subhendu!<br>> I did my own compile. I am running it in solaris 2.6 machine with<br>> gcc/make.<br>> I just followed the instruction in the documentation and all went well.<br>> Should i redo it from ./configure? thanks!
<br>>  eli<br>><br>> On 8/31/05, Subhendu Ghosh <<a href="mailto:sghosh@sghosh.org">sghosh@sghosh.org</a>> wrote:<br>>><br>>> On Wed, 31 Aug 2005, Elizar M. Palad wrote:<br>>><br>>>> Hi list!
<br>>>> This is my first time in nagios and first time in this list.<br>>>> I tried following the direction in the documentation in the source<br>>>> and browsed the archive for this basic/common (iguess) problem
<br>>>> in setting up nagios. I hope someone out there can help me.<br>>>> When i access nagios using IE (<a href="http://localhosts/nagios">http://localhosts/nagios</a>) the<br>>>> web interface shows up, but clicking the monitoring links (cgis)
<br>>>> i have this:<br>>>> Whoops!<br>>>><br>>>> *Error: Could not open CGI config file '@sysconfdir@/cgi.cfg' for<br>>> reading!*<br>>>> I have every config file in /usr/local/nagios/etc
<br>>>> (cgi.cfg, nagios.cfg and other cfg files)<br>>>> pre-flight check shows no errors<br>>>><br>>>> Total Warnings: 0<br>>>> Total Errors: 0<br>>>><br>>>> Things look okay - No serious problems were detected during the
<br>>> pre-flight<br>>>> check<br>>>><br>>>> What could be wrong? what did i miss? no errors in apache logs or in<br>>>> configuation of httpd.conf.<br>>>> Help me please? someone? if there's additional info you guys might need,
<br>>>> please let me know..<br>>>> thanks!<br>>>> eli<br>>>><br>>>><br>>><br>>> Did you do your own compile or install from somewhere else?<br>>><br>>> 1. Pre-flight check does not looks at 
cgi.cfg (not needed for nagios to<br>>> function - only the UI)<br>>> 2. @sysconfdir@ is supposed to be replaced at "configure" time before<br>>> compile. The base path is hardcoded into the cgis.
<br>>><br>>> Looks like either the compile process bombed or you have a bad package.<br>>><br>>> --<br>>> -sg<br>>><br>><br>><br>><br>><br><br>--<br><br><br><br>-------------------------------------------------------
<br>SF.Net email is Sponsored by the Better Software Conference & EXPO<br>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices<br>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
<br>Security * Process Improvement & Measurement * <a href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">
Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br><br clear="all"><br>-- <br>----<br>Don't Tell Me How Hard You Work..<br>   Show Me How Much You'd Accomplished..