[Nagiosplug-devel] [ nagiosplug-Bugs-2865114 ] freebsd: fails on make

SourceForge.net noreply at sourceforge.net
Wed Sep 23 23:36:54 CEST 2009


Bugs item #2865114, was opened at 2009-09-23 12:31
Message generated for change (Comment added) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2865114&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: snapshot tarball
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: charlo212 (charlo212)
Assigned to: Nobody/Anonymous (nobody)
Summary: freebsd: fails on make

Initial Comment:
Hi,

Trying to compile the plugins on a freebsd 6.3 box. The configure stage looks okay but it fails on make with the following....

- SNIP -
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/include    -DNP_VERSION='"1.4.14"' -g -O2 -MT check_http.o -MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c;  then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f ".deps/check_http.Tpo"; exit 1; fi
check_http.c:63: error: syntax error before '*' token
check_http.c:63: warning: data definition has no type or storage class
*** Error code 1

Stop in /home/nagios/nagios-plugins-trunk-200909231200/plugins.
*** Error code 1

Stop in /home/nagios/nagios-plugins-trunk-200909231200.
*** Error code 1

Stop in /home/nagios/nagios-plugins-trunk-200909231200.
- SNIP -

Host Details:
uname -m = i386
uname -r = 6.3-RELEASE
uname -s = FreeBSD
uname -v = FreeBSD 6.3-RELEASE #3: Fri Jan 23 16:43:41 MST 2009     root at fc:/usr/src/sys/i386/compile/VKERN 

I've tried to upload my config.log but it's 504k and the restriction is down to 2XXk

Let me know what else you'd need or if anything needs to be taken from the config.log that would help.

Charlie

----------------------------------------------------------------------

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-09-23 17:36

Message:
This has to do with ssl. Did you ever been able to compile nagios plugins
on that box in the past? Are you sure your ssl installation is correct
including development headers?

For the config.log, gzip it; it should be small enough then. If you can
compile an older version of nagios plugins please upload the config.log for
that version as well.

Also some things you may try:
./configure --without-openssl    - You won't have ssll support at all
(check_https, check_ldaps, etc...)

./configure --with-openssl=/path/to/openssl   - If you have multiple
openssl installations you may try with each of them.
For example:
./configure --with-openssl=/usr
./configure --with-openssl=/usr/local/openssl
./configure --with-openssl=/opt/openssl


----------------------------------------------------------------------

Comment By: charlo212 (charlo212)
Date: 2009-09-23 12:34

Message:
Also to note, that this fails the same with the stable and snapshot
version.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=2865114&group_id=29880




More information about the Devel mailing list