[Nagiosplug-devel] HEAD + openbsd

Julien TOUCHE julien.touche at lycos.com
Sat Aug 28 05:33:02 CEST 2004


patch to solve some present but can't compile error with configure
(HEAD-200408271647)

+ one i didn't find in configure.in (and change aclocal.m4 doesn't seem
to do it.)
for sys/ucred.h, need
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif

+ arpa/inet.h pb on compile
In file included from utils.c:21:
/usr/include/arpa/inet.h:74: warning: `struct in_addr' declared inside
parameter list
/usr/include/arpa/inet.h:74: warning: its scope is only this definition
or declaration, which is probably not what you want.
/usr/include/arpa/inet.h:75: warning: `struct in_addr' declared inside
parameter list
/usr/include/arpa/inet.h:75: warning: parameter has incomplete type
/usr/include/arpa/inet.h:79: warning: parameter has incomplete type
/usr/include/arpa/inet.h:85: warning: parameter has incomplete type
=> need before include
#include <netinet/in.h>

at the end of compiling, i also get:
mv t-remove-potcdate.sed remove-potcdate.sed
: --default-domain=nagios-plugins --directory=..
--add-comments=TRANSLATORS: --keyword=_ --keyword=N_
--files-from=./POTFILES.in  --copyright-holder='Nagios Plugin
Development Group'
test ! -f nagios-plugins.po || {  if test -f ./nagios-plugins.pot; then
   sed -f remove-potcdate.sed < ./nagios-plugins.pot > nagios-plugins.1po
&&  sed -f remove-potcdate.sed < nagios-plugins.po > nagios-plugins.2po
&&  if cmp nagios-plugins.1po nagios-plugins.2po >/dev/null 2>&1; then
rm -f nagios-plugins.1po nagios-plugins.2po nagios-plugins.po;  else  rm
-f nagios-plugins.1po nagios-plugins.2po ./nagios-plugins.pot &&  mv
nagios-plugins.po ./nagios-plugins.pot;  fi;  else  mv nagios-plugins.po
./nagios-plugins.pot;  fi;  }
: --update fr.po nagios-plugins.pot
rm -f fr.gmo && /usr/local/bin/msgfmt -c --statistics -o fr.gmo fr.po
error while opening "fr.po" for reading: No such file or directory

but don't know where does it come from.


Regards

		Julien
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-configure_in
URL: <http://nagios-plugins.org/archive/devel/attachments/20040828/53b80bc5/attachment.ksh>


More information about the Devel mailing list