[jadmin] Compiling Jabber 2

Andrew Stringer andrew at mediahub.co.uk
Thu Jul 13 10:13:03 CDT 2006


Hello all, I'm a total newcomer to jabber, we are looking at using it
internally on a standalone server which will not talk externally.
I am using Slackware 10.2 as the host os.

configure seemed to run correctly with no errors, make likewise threw up
no errors, but make install produced the following before exiting.

/usr/include/mysql does indeed contain the header files for mysql
(->which mysql
/usr/bin/mysql )

Making install in c2s
make[1]: Entering directory `/home/jabberd/jabberd-2.0s11/c2s'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DCONFIG_DIR=\"/etc/jabber/jabberd\" 
-I/usr/include/mysql   -g -O2 -MT authreg_db.o -MD -MP -MF
".deps/authreg_db.Tpo" -c -o authreg_db.o authreg_db.c; \
then mv -f ".deps/authreg_db.Tpo" ".deps/authreg_db.Po"; else rm -f
".deps/authreg_db.Tpo"; exit 1; fi
authreg_db.c: In function `_ar_db_get_realm_db':
authreg_db.c:85: error: incompatible type for argument 4 of indirect
function call
authreg_db.c:85: error: too many arguments to function
authreg_db.c: In function `ar_db_init':
authreg_db.c:355: error: `DB_AUTO_COMMIT' undeclared (first use in this
function)
authreg_db.c:355: error: (Each undeclared identifier is reported only once
authreg_db.c:355: error: for each function it appears in.)
make[1]: *** [authreg_db.o] Error 1
make[1]: Leaving directory `/home/jabberd/jabberd-2.0s11/c2s'
make: *** [install-recursive] Error 1
[root at ns2] /home/jabberd/jabberd-2.0s11 ->

The configure options are:-
./configure --prefix=/opt --enable-db --enable-ssl --syscon fdir=/etc/jabber

Can anyone help where I am going wrong?

Regards,
Andrew


-- 
"If the SOFTWARE is not accompanied by HARDWARE, you may not use the
SOFTWARE."
 Win eXPerimental EULA.  Really....?





More information about the JAdmin mailing list