Operating System - HP-UX
1851771 Members
2446 Online
104062 Solutions
New Discussion

Installing GNU pth for Jabber

 
SOLVED
Go to solution
Larry Scheetz
Advisor

Installing GNU pth for Jabber

Hello, I am attempting to install Jabber on HP-UX 11.0 and it has a requirment GNU. I compile it then when I run a make I get the following error. Does anyone knwo the issue?

spongebob:root >make
./libtool --mode=compile --quiet cc -c -I/usr/local/include -I. -Ae -O pth_debug.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
cpp: "pth_p.h.in", line 81: warning 2013: Unknown preprocessing directive.
cpp: "pth_mctx.c", line 41: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 41: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 41: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 47: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 47: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 47: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 49: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 49: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 49: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 52: error 4052: Unknown preprocessing directive.
cpp: "pth_mctx.c", line 55: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 55: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 55: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 68: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 68: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 68: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 72: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 72: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 72: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 77: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 77: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 77: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 82: error 4052: Unknown preprocessing directive.
cpp: "pth_mctx.c", line 89: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 89: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 89: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 93: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 93: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 93: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 98: error 4052: Unknown preprocessing directive.
cpp: "pth_mctx.c", line 105: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 105: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 105: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 123: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 123: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 123: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 127: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 127: error 4045: Illegal character on '#if' line.
cpp: "pth_mctx.c", line 127: error 4038: Bad syntax for #if condition.
cpp: "pth_mctx.c", line 134: error 4052: Unknown preprocessing directive.
*** Error exit code 1

Stop.
spongebob:root >
A Happy heart makes the face cheerful
8 REPLIES 8
Muthukumar_5
Honored Contributor
Solution

Re: Installing GNU pth for Jabber

You can get Jabber with IEXPRESS itself with binary.

http://www.hp.com/products1/unix/operating/internet/express.html

hth.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Installing GNU pth for Jabber

Download jabber as,

http://hpux.connect.org.uk/hppd/hpux/Misc/jabber-1.4.2/

hth.
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Installing GNU pth for Jabber

Try compiling with GCC, you can get it from
http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.0.2/

Have you tried installing Pth from,
http://hpux.connect.org.uk/hppd/hpux/Gnu/pth-2.0.3/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Installing GNU pth for Jabber

Jabber from http://hpux.connect.org.uk/hppd/hpux/Misc/jabber-1.4.2/
is having runtime dependency, you should have pth installed before installing/running Jabber server. Internet Express Jabber is for 11.11, not for 11.0

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Larry Scheetz
Advisor

Re: Installing GNU pth for Jabber

Thank you for the great responses. I installed the pth and jabber on a 11.11 machine. I try to test the connection with a telnet localhost 5222 and it says connection is refused. Do I have to do anything to enable this port?
A Happy heart makes the face cheerful
Arunvijai_4
Honored Contributor

Re: Installing GNU pth for Jabber

Have you checked http://jabberd.jabberstudio.org/2/docs/ for Installing and Configuring Jabber ?

it should help you..

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: Installing GNU pth for Jabber

Is jabber running? Any error information?

Check as,

# netstat -na | grep 5222

Is it saying something.

hth.
Easy to suggest when don't know about the problem!
Larry Scheetz
Advisor

Re: Installing GNU pth for Jabber

Thank you again that is what I needed. The install /faq document that I had did not have all this information. Thanks.
A Happy heart makes the face cheerful