[JDEV] Sun/Solaris question

Lars Petersen lp at coder.dk
Fri Jan 12 03:51:01 CST 2001


Hello there,

I am looking for people who have experience in
running the jabberd and the transports on SunOS (5.8).
Yesterday, jan. 11th, I retrieved the latest jabber
and transport sources from CVS.
Jabberd kompiles and runs ok.
The only transport that seems to do anything is
the MSN transport. But even that one claims that I do
not have GNU Pth installed, which is strange, since
I wouldn't have been able to compile jabberd without
it.

When I ./autogen in the msn-transport I get:

root:/home/jabber/msn-transport> ./autogen.sh 
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

processing .
<SNIP/>
checking for pth_init in -lpth... no
configure: error: 
*************************************************************
*  You do not seem to have GNU pth installed on your system *
*  and this is preventing the completion of the make        *
*  process.  Please install GNU pth from:                   *
*  http://www.gnu.org/software/pth                          *
*************************************************************

When I look in the config.log I see:

root:/home/jabber/msn-transport> cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

<SNIP/>

configure:1145: checking for pth_init in -lpth
configure:1165: gcc -o conftest -g -O2   conftest.c -lpth 
-I/usr/local/include -L/usr/local/lib -lpth   1>&5
Undefined                       first referenced
 symbol                             in file
recv                                /usr/local/lib/libpth.so
accept                              /usr/local/lib/libpth.so
getsockopt                          /usr/local/lib/libpth.so
connect                             /usr/local/lib/libpth.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 1154 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char pth_init();

int main() {
pth_init()
; return 0; }


I can see that there is a library called "macros" in the msn-transport
library. This is used by the autogen.sh
None of the other transports have the "macros" library, thus preventing
their autogen.sh script to work. Is this an error or can I just cp the
macros library from msn-transport?


I hope you can help. I am trying to get a lot of people to use jabber,
and I hope I will succeed ;-)


Regards,

Lars Petersen
lp at coder.dk





More information about the JDev mailing list