[JDEV] Re: Building jabberd on hp-ux - FIX

Brennan, James BrennanJ at logica.com
Wed Nov 14 10:39:48 CST 2001


hi chris!

To run jabber on HPUX, I had to configure and compile PTH as follows...

In the pth-1.3.7 (or whatever version of pth ur using) run:

./configure --with-mctx-mth=sjlj --with-mctx-dsp=sjlj --with-mctx-stk=sas
--enable-pthread

Then you can 'make' the pth library.

I was having the very same problems as you guys describe below.
get/set/swapcontext() look to be causing the problem.
By using the following switches above, you use sigsetjmp/siglongjump, etc
instead, which works for me (HPUX 11.00)

PS - You probably dont need the --enable-thread switch above

hope this works for you
james

-----Original Message-----
From: MacNamara, Chris [mailto:MacNamaraC at logica.com]
Sent: Monday, October 15, 2001 3:01 PM
To: jdev at jabber.org
Subject: [JDEV] Re: Building jabberd on hp-ux 



I have the exact same problem. I was hoping that you have found a solution.

Chris.


>Thanks Doug,

> I tried it and it seems to be hanging
> at pth_yield(NULL) in mio_init in mio.c
>
> I think this is a pth problem.
> I tried the pth test program test_httpd.
> As you said, it hangs; some problem with pth on hpux.
> Need to find a solution for this.
> If I come across any solution, I'll let you know.
> 
>Thanks,
>Seeniraj

-----Original Message-----
From: Doug Claar [mailto:doug at claar.org]
Sent: Monday, September 17, 2001 10:11 AM
To: jdev at jabber.org
Subject: [JDEV] Re: Building jabberd on hp-ux



The problem I ran into on hp-ux was not the jabber server itself, but
rather the posix threads package. It compiles fine, but it just hangs
when called. If you actually try running the test suite for the pth
package, you end up with a process running that chews up all your CPU
until you kill -9 it. Don't know if that's the case if you call it from
jabber, but you might check...

I got busy, so I wasn't able to resolve the pth problem...

==Doug Claar
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev




This e-mail and any attachment is for authorised use by the intended
recipient(s) only.  It may contain proprietary material, confidential
information and/or be subject to legal privilege.  It should not be copied,
disclosed to, retained or used by, any other party.  If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender.  Thank you.
_______________________________________________
jdev mailing list
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.



More information about the JDev mailing list