|
|
| Author |
Message |
zimxx
Joined: 17 Jun 2003 Posts: 10
|
Posted: Tue Jun 17, 2003 5:47 pm Post subject: cactid configure time difficulty |
|
|
im having some trouble configuring cactid, i'm excited about the new poller because my polls take well over 5 minutes to complete due to the sheer quantity of them. anyway... it seems that configure's finding the mysql includes happily and im pointing it to my install of net-snmp. it seems to choke on libcrypto.
tis a redhat 7.3 system im pointing configure to net-snmp with
| Quote: | | ./configure --with-snmp=/opt/netsnmp/include/net-snmp/ |
and getting the following (apropriate) output:
| Quote: | checking if MySQL requires libz... yes
checking for mysql_init in -lmysqlclient... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for CRYPTO_free in -lcrypto... no
configure: error: libcrypto not found! |
the apropriate output from my config.log is:
| Quote: | /* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char CRYPTO_free ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
CRYPTO_free ();
;
return 0;
}
configure:4403: result: no
configure:4413: error: libcrypto not found! |
i have /lib/libcrypto.so.0.9.6b provided by openssl-0.9.6b-28
adendum: i also have openssl devel installed, netsnmp is a home-compiled netsnmp 5.0.7, mysql-devel, client, and server are all installed along with mysql-3.23.54a-3.73
packages if not otherwise noted are redhat 7.3 rpm's
--any ideas? |
|
| Back to top |
|
 |
zimxx
Joined: 17 Jun 2003 Posts: 10
|
Posted: Tue Jun 17, 2003 10:32 pm Post subject: |
|
|
| i fixed it, this was in fact, while it may not have seemed so by the log and errors, a mysql problem. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Feb 01, 2004 5:09 pm Post subject: |
|
|
| zimxx wrote: | | i fixed it, this was in fact, while it may not have seemed so by the log and errors, a mysql problem. |
What problem, and how did you fix it please ? ( I ran into the same error messages ) |
|
| Back to top |
|
 |
tejinashi
Joined: 01 Oct 2006 Posts: 1
|
Posted: Sun Oct 01, 2006 3:45 am Post subject: |
|
|
i was able to get cactid to compile using:
./configure --prefix=/usr/local/wanmon --sysconfdir=/usr/local/wanmon/etc --with-snmp=/usr/local/wanmon
it wouldn't compile when i specified the mysql installation i wanted it to use. so i used the distributions mysql stuff under /usr/lib/mysql and /usr/include/mysql
the following did *not* work.
./configure --prefix=/usr/local/wanmon --sysconfdir=/usr/local/wanmon/etc --with-snmp=/usr/local/wanmon/include --with-mysql=/usr/local/mysql
I am surpised that configure hasn't been fixed for this issue.
UPDATE:
removing the distributions mysql libraries and headers, and rerunning configure with the following worked quite nicely for me.
./configure --prefix=/usr/local/wanmon --sysconfdir=/usr/local/wanmon/etc --with-snmp=/usr/local/wanmon --with-mysql=/usr/local/mysql
net-snmp was configured with:
where prefix=/usr/local/wanmon
if [ -f net-snmp-5.3.0.1.tar.gz ] ; then
tar zxf net-snmp-5.3.0.1.tar.gz && \
cd net-snmp-5.3.0.1 && \
./configure --prefix=$prefix \
--with-default-snmp-version="1" \
--with-openssl=/usr/local/ssl && \
--with-sys-contact="$user@localhost" \
--with-sys-location="inside the ndmonitor appliance" \
--with-logfile="$prefix/var/log/snmpd.log" \
--with-persistent-directory="$prefix/var/net-snmp" \
--without-rpm \
make && \
make install
cd $CWD
fi |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 9696 Location: MI, USA
|
Posted: Sun Oct 01, 2006 9:10 am Post subject: |
|
|
Can you please try Beta3 in the Announcements forum and then run the "auto" tools as described. The configure.ac at the bottom of the post, is the one I would like you to try. Please post here and there, your results.
Thanks,
TheWitness |
|
| Back to top |
|
 |
|