On Thu, Apr 16, 2009 at 06:32:28AM -0300, Daniel Bareiro wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Abel. > > On Apr 15, 2009 at 06:20:03 -0300, Abel Camarillo wrote: > > >> Although I saw that OpenBSD 4.4 has NRPE 2.7, wanted to install > >> something newer and I'm trying to compile NRPE 2.12 downloading of > >> Nagios site. But after executing 'configure', the process finishes > >> with the following error message: > >> > >> checking for SSL headers... SSL headers found in /usr > >> checking for SSL libraries... configure: error: Cannot find ssl libraries > >> > >> > >> It seems that openssl is already installed. Would have to indicate > >> some specific path with configure? > > > Have you tried reading how the nagios port actually works? > > > > /usr/ports/net/nagios/ > > > > I would really read that before trying to build it from source > > (particulary the patches dir) > > I was trying yesterday with patch-configure that I found here [1] and > this time in the compilation didn't appear error messages, although I > obtained some warnings, like for example the following: > > warning: strcpy() is almost always misused, please use strlcpy() > warning: vsprintf() is often misused, please use vsnprintf() > warning: sprintf() is often misused, please use snprintf() > warning: strcat() is almost always misused, please use strlcat() > > > Could this affect in something the generated binaries? > > Thanks for your reply. > > Regards, > Daniel > > [1] http://www.openbsd.org/cgi-bin/cvsweb/ports/net/nagios/nrpe/patches/ > iEYEARECAAYFAknm+zoACgkQZpa/GxTmHTdEJQCdG/+BNaUS2YeE3gOHmNBnYLDK > bH0AniDyBqZyxuoHOvvAqWuZLjQ/E0jj > =/0kK > -----END PGP SIGNATURE----- >
I think that is `normal', you can try reading: http://www.openbsd.org/papers/strlcpy-paper.ps for a better understanding. PD: I really recommend to have a local copy of the ports CVS tree. -- DISCLAIMER: http://goldmark.org/jeff/stupid-disclaimers/ This message will self-destruct in 3 seconds.

