Compiling 1.0 on Redhat 8.0

Tony nagios at cerbernet.co.uk
Fri Jan 17 14:53:27 CET 2003


No as far as I can remember I included all the libraries.
I have been able to successfully compile and install other software.

> -----Original Message-----
> From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
> Sent: 17 January 2003 13:50
> To: 'Tony'
> Subject: RE: [Nagios-users] Compiling 1.0 on Redhat 8.0
> 
> During your custom installation, did you specifically leave out any
> libraries?
> For example, the gcc and other compile libraries?
> 
> -----Original Message-----
> From: Tony [mailto:nagios at cerbernet.co.uk]
> Sent: Friday, January 17, 2003 8:46 AM
> To: Kaplan, Andrew H.
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Compiling 1.0 on Redhat 8.0
> 
> 
> I selected a custom install and selected everything I needed to run as
a
> server omitting stuff that a server install would install that I did
not
> want.
> 
> 
> > -----Original Message-----
> > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG]
> > Sent: 17 January 2003 13:43
> > To: 'Tony'
> > Cc: nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] Compiling 1.0 on Redhat 8.0
> >
> > When you initially installed Red Hat, what type of installation did
> you
> > choose?
> >
> > -----Original Message-----
> > From: Tony [mailto:nagios at cerbernet.co.uk]
> > Sent: Friday, January 17, 2003 7:53 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Compiling 1.0 on Redhat 8.0
> >
> >
> > I am having problems compiling Nagios 1.0 on a Redhat 8.0 server.
> >
> > Has anyone else run by problems installing on RH8.0?
> >
> > Here is the configure line.
> >
> > ./configure  --prefix=/home/nagios --with-cgiurl=/cgi-bin
> > --with-htmurl=/nagios --with-nagios-user=nagios
> --with-nagios-grp=nagios
> > --with-gd --with-template-extinfo
> >
> > Here are just the error I get from running the configure line.
> >
> > sed: can't read conftest.vals: No such file or directory
> > sed: can't read conftest.in: No such file or directory
> > ./config.status: line 403: s%^\([: command not found
> > ./config.status: line 404: s%^\([: command not found
> > ./config.status: line 405: s%^\([: command not found
> > ./config.status: line 406: s%^\([: command not found
> > ./config.status: line 407: s%^\([: command not found
> > ./config.status: line 408: s%^\([: command not found
> > ./config.status: line 409: s%^\([: command not found
> > ./config.status: line 410: s%^\([: command not found
> > ./config.status: line 411: s%^\([: command not found
> > ./config.status: line 412: s%^\([: command not found
> > ./config.status: line 413: s%^\([: command not found
> > ./config.status: line 414: s%^\([: command not found
> > creating common/snprintf.h
> > ./config.status: line 403: s%^\([: command not found
> > ./config.status: line 404: s%^\([: command not found
> > ./config.status: line 405: s%^\([: command not found
> > ./config.status: line 406: s%^\([: command not found
> > ./config.status: line 407: s%^\([: command not found
> > ./config.status: line 408: s%^\([: command not found
> > ./config.status: line 409: s%^\([: command not found
> > ./config.status: line 410: s%^\([: command not found
> > ./config.status: line 411: s%^\([: command not found
> > ./config.status: line 412: s%^\([: command not found
> > ./config.status: line 413: s%^\([: command not found
> > ./config.status: line 414: s%^\([: command not found
> > creating base/nagios.h
> > sed: can't read conftest.in: No such file or directory
> > ./config.status: line 403: s%^\([: command not found
> > ./config.status: line 404: s%^\([: command not found
> > ./config.status: line 405: s%^\([: command not found
> > ./config.status: line 406: s%^\([: command not found
> > ./config.status: line 407: s%^\([: command not found
> > ./config.status: line 408: s%^\([: command not found
> > ./config.status: line 409: s%^\([: command not found
> > ./config.status: line 410: s%^\([: command not found
> > ./config.status: line 411: s%^\([: command not found
> > ./config.status: line 412: s%^\([: command not found
> > ./config.status: line 413: s%^\([: command not found
> > ./config.status: line 414: s%^\([: command not found
> > creating cgi/cgiutils.h
> > ./config.status: line 403: s%^\([: command not found
> > ./config.status: line 404: s%^\([: command not found
> > ./config.status: line 405: s%^\([: command not found
> > ./config.status: line 406: s%^\([: command not found
> > ./config.status: line 407: s%^\([: command not found
> > ./config.status: line 408: s%^\([: command not found
> > ./config.status: line 409: s%^\([: command not found
> > ./config.status: line 410: s%^\([: command not found
> > ./config.status: line 411: s%^\([: command not found
> > ./config.status: line 412: s%^\([: command not found
> > ./config.status: line 413: s%^\([: command not found
> > ./config.status: line 414: s%^\([: command not found
> >
> >
> > Here is the errors I get from running a make all
> >
> > make[1]: Entering directory `/usr/src/nagios/nagios-1.0/base'
> > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o checks.c
> > In file included from ../common/statusdata.h:30,
> >                  from checks.c:28:
> > ../common/objects.h:126: parse error before "time_t"
> > ../common/objects.h:126: warning: no semicolon at end of struct or
> union
> > ../common/objects.h:127: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:128: parse error before "last_check"
> > ../common/objects.h:128: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:129: parse error before "last_state_change"
> > ../common/objects.h:129: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:145: parse error before
> "last_state_history_update"
> > ../common/objects.h:145: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:153: parse error before '}' token
> > ../common/objects.h:153: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:252: parse error before "time_t"
> > ../common/objects.h:252: warning: no semicolon at end of struct or
> union
> > ../common/objects.h:254: parse error before "last_check"
> > ../common/objects.h:254: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:256: parse error before "last_notification"
> > ../common/objects.h:256: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:257: parse error before "next_notification"
> > ../common/objects.h:257: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:260: parse error before "last_state_change"
> > ../common/objects.h:260: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:284: conflicting types for `next'
> > ../common/objects.h:152: previous declaration of `next'
> > ../common/objects.h:285: parse error before '}' token
> > ../common/objects.h:285: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:392: parse error before '*' token
> > ../common/objects.h:392: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:393: parse error before '*' token
> > ../common/objects.h:402: parse error before '*' token
> > ../common/objects.h:402: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:403: parse error before '*' token
> > ../common/objects.h:416: parse error before '*' token
> > ../common/objects.h:416: parse error before "host"
> > ../common/objects.h:416: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:423: parse error before '*' token
> > ../common/objects.h:423: parse error before "service"
> > ../common/objects.h:423: warning: data definition has no type or
> storage
> > class
> > ../common/objects.h:427: parse error before '*' token
> > ../common/objects.h:428: parse error before '*' token
> > ../common/objects.h:429: parse error before '*' token
> > ../common/objects.h:430: parse error before "host"
> > ../common/objects.h:433: parse error before '*' token
> > ../common/objects.h:434: parse error before '*' token
> > ../common/objects.h:435: parse error before '*' token
> > ../common/objects.h:436: parse error before '*' token
> > ../common/objects.h:437: parse error before '*' token
> > ../common/objects.h:439: parse error before '*' token
> > ../common/objects.h:440: parse error before '*' token
> > ../common/objects.h:441: parse error before '*' token
> > ../common/objects.h:442: parse error before '*' token
> > ../common/objects.h:445: parse error before '*' token
> > In file included from checks.c:28:
> > ../common/statusdata.h:151: parse error before '*' token
> > ../common/statusdata.h:152: parse error before '*' token
> > In file included from checks.c:29:
> > ../common/downtime.h:40: parse error before "time_t"
> > ../common/downtime.h:40: warning: no semicolon at end of struct or
> union
> > ../common/downtime.h:41: warning: data definition has no type or
> storage
> > class
> > ../common/downtime.h:42: parse error before "end_time"
> > ../common/downtime.h:42: warning: data definition has no type or
> storage
> > class
> > ../common/downtime.h:54: conflicting types for `next'
> > ../common/objects.h:284: previous declaration of `next'
> > ../common/downtime.h:55: parse error before '}' token
> > ../common/downtime.h:55: warning: data definition has no type or
> storage
> > class
> > ../common/downtime.h:63: parse error before "time_t"
> > ../common/downtime.h:64: parse error before "time_t"
> > ../common/downtime.h:65: parse error before "time_t"
> > ../common/downtime.h:71: parse error before "time_t"
> > ../common/downtime.h:75: parse error before '*' token
> > ../common/downtime.h:77: parse error before '*' token
> > ../common/downtime.h:78: parse error before '*' token
> > ../common/downtime.h:89: parse error before "time_t"
> > ../common/downtime.h:90: parse error before "time_t"
> > ../common/downtime.h:91: parse error before "time_t"
> > ../common/downtime.h:93: parse error before '*' token
> > ../common/downtime.h:93: warning: data definition has no type or
> storage
> > class
> > ../common/downtime.h:94: parse error before '*' token
> > ../common/downtime.h:94: warning: data definition has no type or
> storage
> > class
> > In file included from checks.c:30:
> > nagios.h:325: parse error before '*' token
> > nagios.h:327: parse error before '*' token
> > nagios.h:328: parse error before '*' token
> > nagios.h:336: parse error before '*' token
> > nagios.h:337: parse error before '*' token
> > nagios.h:338: parse error before '*' token
> > nagios.h:339: parse error before '*' token
> > nagios.h:340: parse error before '*' token
> > nagios.h:341: parse error before '*' token
> > nagios.h:344: parse error before '*' token
> > nagios.h:345: parse error before '*' token
> > nagios.h:346: parse error before '*' token
> > nagios.h:347: parse error before '*' token
> > nagios.h:351: parse error before '*' token
> > nagios.h:352: parse error before '*' token
> > nagios.h:353: parse error before '*' token
> > nagios.h:354: parse error before '*' token
> > nagios.h:358: parse error before '*' token
> > nagios.h:359: parse error before '*' token
> > nagios.h:360: parse error before '*' token
> > nagios.h:361: parse error before '*' token
> > nagios.h:362: parse error before '*' token
> > nagios.h:363: parse error before '*' token
> > nagios.h:364: parse error before '*' token
> > nagios.h:365: parse error before '*' token
> > nagios.h:366: parse error before '*' token
> > nagios.h:370: parse error before '*' token
> > nagios.h:371: parse error before '*' token
> > nagios.h:372: parse error before '*' token
> > nagios.h:373: parse error before '*' token
> > nagios.h:374: parse error before "service"
> > nagios.h:375: parse error before "service"
> > nagios.h:376: parse error before '*' token
> > nagios.h:377: parse error before '*' token
> > nagios.h:378: parse error before '*' token
> > nagios.h:379: parse error before '*' token
> > nagios.h:380: parse error before '*' token
> > nagios.h:381: parse error before "host"
> > nagios.h:382: parse error before "host"
> > nagios.h:383: parse error before '*' token
> > nagios.h:384: parse error before '*' token
> > nagios.h:387: parse error before '*' token
> > nagios.h:388: parse error before '*' token
> > nagios.h:395: parse error before '*' token
> > nagios.h:396: parse error before '*' token
> > nagios.h:427: parse error before '*' token
> > nagios.h:428: parse error before '*' token
> > nagios.h:473: parse error before '*' token
> > nagios.h:474: parse error before '*' token
> > nagios.h:475: parse error before '*' token
> > nagios.h:478: parse error before '*' token
> > nagios.h:479: parse error before '*' token
> > nagios.h:480: parse error before '*' token
> > nagios.h:481: parse error before '*' token
> > nagios.h:482: parse error before '*' token
> > nagios.h:483: parse error before '*' token
> > nagios.h:484: parse error before '*' token
> > nagios.h:485: parse error before '*' token
> > nagios.h:486: parse error before '*' token
> > nagios.h:487: parse error before '*' token
> > nagios.h:492: parse error before '*' token
> > nagios.h:493: parse error before '*' token
> > nagios.h:496: parse error before '*' token
> > nagios.h:497: parse error before '*' token
> > nagios.h:498: parse error before '*' token
> > nagios.h:499: parse error before '*' token
> > nagios.h:500: parse error before '*' token
> > nagios.h:501: parse error before '*' token
> > In file included from checks.c:31:
> > perfdata.h:34: parse error before '*' token
> > perfdata.h:35: parse error before '*' token
> > checks.c:71: parse error before '*' token
> > checks.c:71: warning: data definition has no type or storage class
> > checks.c:72: parse error before '*' token
> > checks.c:72: warning: data definition has no type or storage class
> > checks.c:85: parse error before '*' token
> > checks.c: In function `run_service_check':
> > checks.c:97: `temp_host' undeclared (first use in this function)
> > checks.c:97: (Each undeclared identifier is reported only once
> > checks.c:97: for each function it appears in.)
> > checks.c:118: `svc' undeclared (first use in this function)
> > checks.c:301: `SIGALRM' undeclared (first use in this function)
> > checks.c: In function `reap_service_checks':
> > checks.c:513: `temp_service' undeclared (first use in this function)
> > checks.c:514: `temp_host' undeclared (first use in this function)
> > checks.c:641: warning: assignment makes pointer from integer without
a
> > cast
> > checks.c:642: warning: assignment makes pointer from integer without
a
> > cast
> > checks.c:652: warning: assignment makes pointer from integer without
a
> > cast
> > checks.c: At top level:
> > checks.c:1161: parse error before '*' token
> > checks.c: In function `check_service_dependencies':
> > checks.c:1163: `temp_service' undeclared (first use in this
function)
> > checks.c:1174: `dependency_type' undeclared (first use in this
> function)
> > checks.c:1178: `svc' undeclared (first use in this function)
> > checks.c: At top level:
> > checks.c:1213: parse error before '*' token
> > checks.c: In function `check_host_dependencies':
> > checks.c:1215: `temp_host' undeclared (first use in this function)
> > checks.c:1225: `dependency_type' undeclared (first use in this
> function)
> > checks.c:1229: `hst' undeclared (first use in this function)
> > checks.c: In function `check_for_orphaned_services':
> > checks.c:1257: `temp_service' undeclared (first use in this
function)
> > checks.c: In function `check_service_result_freshness':
> > checks.c:1311: `temp_service' undeclared (first use in this
function)
> > checks.c: At top level:
> > checks.c:1395: parse error before '*' token
> > checks.c: In function `verify_route_to_host':
> > checks.c:1403: `hst' undeclared (first use in this function)
> > checks.c: At top level:
> > checks.c:1415: parse error before '*' token
> > checks.c: In function `check_host':
> > checks.c:1418: `parent_host' undeclared (first use in this function)
> > checks.c:1420: `child_host' undeclared (first use in this function)
> > checks.c:1432: `hst' undeclared (first use in this function)
> > checks.c:1469: `propagation_options' undeclared (first use in this
> > function)
> > checks.c: At top level:
> > checks.c:1658: parse error before '*' token
> > checks.c: In function `run_host_check':
> > checks.c:1677: `hst' undeclared (first use in this function)
> > checks.c:1752: warning: assignment makes pointer from integer
without
> a
> > cast
> > checks.c:1774: warning: assignment makes pointer from integer
without
> a
> > cast
> > make[1]: *** [checks.o] Error 1
> > make[1]: Leaving directory `/usr/src/nagios/nagios-1.0/base'
> > make: *** [all] Error 2
> >
> >
> > TIA
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by: Thawte.com
> > Understand how to protect your customers personal information by
> > implementing
> > SSL on your Apache Web Server. Click here to get our FREE Thawte
> Apache
> > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users





-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en




More information about the Users mailing list