Dnia 13-10-2007, So o godzinie 16:34 -0600, Luc I. Suryo pisze: > I just compiled jabberd2 on a system running Solaris 10/x86 > compiled 32 bits and wanted to share some info: > > jabbeerd : 2.1.17 > expat : 2.0.1 > gsasl : 0.2.21 > libgsasl : 0.2.21 > libidn : 1.2 > mysql : 5.0.45 > BerkeleyDB : 4.1.25 > Compiler : Sun Studio 12
Good to hear that. It took some effort to make jabberd 2.1 compile painlessly on Solaris and BSDs again. I'm glad it works now. :-) > Compiles fine but c2s core dmp and made the below change (see below > diff) it errored during the log_write due to realm being NULL? Oh. GNU libc snprintf() handles %s NULLs gracefully by printing "(null)". Too bad that Solaris does not do that. You could spot some likewise surprises though... :-( > I added the exit if memory allocation for 'host' failed. Right. Memory allocation errors are fatal and should abort the app. I've commited your changes to trunk. > I'm using the base config files that got installed with 'make install' > and change only the driver part from mysql to db. So it could be that > one *must* setup the value 'realm' and 'host' in the cs2.xml and sm.xml > files, but I having hard time to find more documents/info how to > configure the xml files.. Isn't http://jabberd2.xiaoka.com/wiki/InstallGuide/BerkeleyDBInstall helpfull? Could you help improving it? (You may edit the wiki pages after registering.) Documentation is a bit stale. Anyone is invited to improve it. > I created a Solaris SMF and will be testing Monday with 4-5 users > Will create a pkg once everything is working and can make it available if > someone wants it.. Please do share. I would like to link it on the project page. :-) -- /\_./o__ Tomasz Sterna (/^/(_^^' Xiaoka.com ._.(_.)_ XMPP: [EMAIL PROTECTED] _______________________________________________ Jabberd2 mailing list [email protected] http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com
