[JDEV] OSX Configure and Build dysfunction

Timothy Carpenter timbeau_hk at yahoo.co.uk
Wed Jun 19 09:24:52 CDT 2002


I am tryng to get Jabberd compiled and running on OSX, with the aim to add
my components.

Having problems configuring the jabberd on OSX even before I make.

I was able (after a bit of investigation) to get pth configured
(host=powerpc-apple) and performed the make of this and run the test
successfully according to the logs.

However, jabberd config seems not to function...

THUS:

>>>>>>>>>>>>>>>>>>>
[localhost:~/jabber-1.4.2] timbeau% ./configure --prefix=$home
--host=powerpc-apple
Running Jabber Configure
========================

Getting pth settings..../configure: command not found: pth-config [80]
./configure: command not found: pth-config [81]
./configure: command not found: pth-config [82]
./configure: command not found: pth-config [83]
Configuring GNU Pth (Portable Threads), Version 1.4.0 (24-Mar-2001)
Copyright (c) 1999-2001 Ralf S. Engelschall <rse at engelschall.com>
loading cache ./config.cache
Configuration name missing.
Usage: ./config.sub CPU-MFR-OPSYS
or     ./config.sub ALIAS
where ALIAS is a recognized configuration type.
Error Configuring pthSetting Build Parameters...     Done.
Generating Settings Script...   Done.

You may now type 'make' to build your new Jabber system.

[localhost:~/jabber-1.4.2] timbeau%

>>>>>>>>>>>>>>>>>>>>

I have tried with and without the prefix and host parameters - same result.

The following platform_settings was produced>
>>>>>>>>>>>>>>>>>>>>
#!/bin/sh
CC=cc
CFLAGS= -g -Wall -I. -I.. -I/Users/timbeau/jabber-1.4.2/jabberd/pth-1.4.0
-fPIC -DTMZONE
CCFLAGS= -g -Wall -I. -I.. -I/Users/timbeau/jabber-1.4.2/jabberd/pth-1.4.0
-fPIC -DTMZONE
MCFLAGS=-bundle -undefined suppress -flat_namespace
LDFLAGS=
LIBS= -ldl
SLIBS=
XLDFLAGS= 
PSUBDIR=pth-1.4.0
PLINK=/Users/timbeau/jabber-1.4.2/jabberd/pth-1.4.0/pth_*.o
JHOME=/Users/timbeau/jabber-1.4.2
__CYGWIN__=
>>>>>>>>>>>>>>>>>>>>

I know with regret that OSX has problems with socklen_t, size_t and others.

I tried compiling via Project Builder, but this blew up rapidly in lib xml
code unable to resolve ENCODING et al.

Wld appreciate it if there is a download or at least a configuration and
make for OSX so I can at least compile and run before breaking it, or if
anyone has resolved this and has the configure and make files and any other
wisdom to impart

Thanks in advance.
Tim



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the JDev mailing list