[JDEV] Building under cygwin, -lpth

Mike Prince mike at mikeprince.com
Mon Jan 6 15:55:39 CST 2003


Building on Jonathans advice...

Copy jabber-1.4.2.tar.gz into your working directory, then...

tar xvzf jabber-1.4.2.tar.gz
cd jabber-1.4.2
cygwin/setup.sh
cd jabberd/pth-1.4.0
./configure
make
make install
ln -s /usr/local/lib/libpth.a /lib/libpth.a
cd ../..
./configure
make

NOTES:
- Be sure to use gzip or tar to uncompress the tarball, using Winzip
will cause compile errors (thanks Jason Prentice)
- Make sure to link libpth.a after building

Hope this helps,

Mike 

> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On 
> Behalf Of Jonathan H Lundquist
> Sent: Monday, December 30, 2002 9:56 AM
> To: jdev at jabber.org
> Subject: RE: [JDEV] Building under cygwin, -lpth
> 
> 
> I found an answer to the -lpth build error.  As I said 
> previously this has been asked many times on the list by 
> others without a satisfactory answer, so even though it turns 
> out to be deceptively simple, I thought I'd post it:
> 
> ln -s /usr/local/lib/libpth.a /lib/libpth.a
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 





More information about the JDev mailing list