Error when compiling jabberd14-1.6.1.1 on CentOs 5
"Favio Manríquez León" <[email protected]>
| Newsgroups | gmane.network.jabber.admin |
|---|---|
| Message-ID | <[email protected]> |
Hello, I'm having trouble getting jabberd14 to compile, the operating system is CentOS 5 (Final), in order to start the compilation of jabberd I had to do the following things: - export LDFLAGS="-L/usr/local/lib -L/usr/lib/mysql"; - export PKG_CONFIG_PATH ="/usr/local/lib/pkgconfig"; But when doing the "make", I got this: make[3]: Entering directory `/root/jabberd/jabberd14-1.6.1.1/jabberd' /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -L/usr/local/lib -lgnutls -L/usr/local/lib -lgnutls-extra -lgnutls -o jabberd -L/usr/local/lib -lgnutls -L/usr/local/lib -lgnutls-extra -lgnutls -export-dynamic jabberd.o ../jabberd/base/libjabberdbase.la ../jabberd/ libjabberd.la -lpopt -lresolv -ldl -lidn -lpth -lexpat g++ -g -O2 -o .libs/jabberd jabberd.o -Wl,--export-dynamic -L/usr/local/lib ../jabberd/base/.libs/libjabberdbase.a /usr/local/lib/libgnutls-extra.so -L/usr/lib/mysql /usr/local/lib/libgnutls.so -lz /usr/local/lib/libgcrypt.so -lgpg-error ../jabberd/.libs/libjabberd.so -lpopt -lresolv -ldl /usr/local/lib/libidn.so /usr/local/lib/libpth.so /usr/local/lib/libexpat.so ../jabberd/.libs/libjabberd.so: undefined reference to `asn1_der_decoding' ../jabberd/.libs/libjabberd.so: undefined reference to `asn1_delete_structure' ../jabberd/.libs/libjabberd.so: undefined reference to `asn1_read_value' ../jabberd/.libs/libjabberd.so: undefined reference to `asn1_array2tree' ../jabberd/.libs/libjabberd.so: undefined reference to `asn1_create_element' ../jabberd/.libs/libjabberd.so: undefined reference to `libtasn1_strerror' So, after some time googling, I found this: http://thread.gmane.org/gmane.network.jabber.admin/29215/focus=29241 It basically says that a patch was made at the /RELEASE-1_6_1/ branch, however, I don't know if that branch is stable, because I checked out the code and it compiled fine, but the server is crashing with some Stream errors: Fri Aug 22 17:42:18 2008 mio.cc:460 _mio_accept calling accept on fd #9 Fri Aug 22 17:42:18 2008 mio.cc:476 _mio_accept(9722448) accepted fd #14 Fri Aug 22 17:42:18 2008 mio.cc:512 new socket accepted (fd: 14, ip: 72.26.226.67, port: 37353) Fri Aug 22 17:42:18 2008 mio.cc:1212 sending zzz notify to the select loop in mio_new() Fri Aug 22 17:42:18 2008 mio.cc:1225 notify sent Fri Aug 22 17:42:18 2008 mio.cc:879 Accepted socket on MIO object 977FC40, fd 14 Fri Aug 22 17:42:18 2008 mio.cc:1012 mio while loop top Fri Aug 22 17:42:18 2008 mio.cc:1036 mio while loop, working Fri Aug 22 17:42:18 2008 mio.cc:1043 got a notify on zzz Fri Aug 22 17:42:18 2008 mio.cc:860 processing mio 977FC40 (state 0) Fri Aug 22 17:42:18 2008 mio.cc:965 Trying to read on socket 14 Fri Aug 22 17:42:18 2008 mio.cc:783 IN (99 of max 1000, fd#14): <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' version='1.0'> Fri Aug 22 17:42:18 2008 mio.cc:803 read on socket 14: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' version='1.0'> Fri Aug 22 17:42:18 2008 client.cc:257 [client.cc:257] pthsock_client_read called with: m:977FC40 flag:2 arg:977FD20 Fri Aug 22 17:42:18 2008 client.cc:287 [client.cc:287] root received for 14: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' version='1.0'/> Fri Aug 22 17:42:18 2008 client.cc:295 [client.cc:295] Recieved connection to: (null) Fri Aug 22 17:42:18 2008 client.cc:306 [client.cc:306] using alias (null) --> (null) Fri Aug 22 17:42:18 2008 mio.cc:1349 mio_write called on stanza: 0 buffer: <?xml version='1.0'?><stream:stream xmlns:stream=' http://etherx.jabber.org/streams' id='f1119e155fdcafff5769533da822184b9d0c0d13' version='1.0' xmlns='jabber:client'> Fri Aug 22 17:42:18 2008 mio.cc:1352 sending zzz notify to the select loop in mio_write() Fri Aug 22 17:42:18 2008 mio.cc:1357 notify sent Fri Aug 22 17:42:18 2008 mio.cc:1349 mio_write called on stanza: 0 buffer: <stream:error><improper-addressing xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams' xml:lang='en'>Did not specify a valid to argument</text></stream:error></stream:stream> Fri Aug 22 17:42:18 2008 mio.cc:1352 sending zzz notify to the select loop in mio_write() Fri Aug 22 17:42:18 2008 mio.cc:1258 sending zzz notify to the select loop in mio_close() Fri Aug 22 17:42:18 2008 dnsrv.cc:189 dnsrv: Read error on coprocess(1): 1 Operation not permitted Fri Aug 22 17:42:18 2008 dnsrv.cc:202 DNSRV CHILD: out of loop.. exiting normal So I have two questions: - how can I apply the patch to my existing "stable" source code (from the latest tar ball at http://download.jabberd.org/jabberd14/) ?, - and, if the RELEASE-1_6_1 branch can be considered stable? Thanks a lot, Favio _______________________________________________ JAdmin mailing list FAQ: http://www.jabber.org/discussion-lists/jadmin-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=19 Info: http://mail.jabber.org/mailman/listinfo/jadmin Unsubscribe: [email protected] _______________________________________________