Thanks to gier egeland and David Viera for the hints.

./configure --x-includes=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include 
--x-libraries=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib
make

worked for me to successfully configure and make otcl-1.13, tclcl-1.19, and 
ns-2.32 on Leopard.

That also worked for configuring nam-1.13, but that failed at the linker stage 
bleating
Undefined symbols:
  "__TkCreateXEventSource", referenced from:
    _TkpInit in tkUnixInit.o
so I grabbed nam-1-20080222.tar, which failed with the same linker error.

(I was using the available Tcl/Tk in the system, but using the allinone 
compiled Tcl/Tk made no difference here.)

I expect that the above will work for any Mac OS X 10.4 or 10.5 with XCode with 
the added X11 headers -there's a pkg on Leopard Install disc 1. The parallel 
MacOSX10.5.sdk/ tree is pretty empty, relying heavily on the base code in 10.4u 
(for universal: on Intel and PowerPC). On 10.3, using directories under 
/Developer/MacOSX10.3.9.sdk/  *may* well work - that directory exists, but the 
tree under it is mostly empty under Leopard. Since 10.3 changed so much during 
its lifetime, probably easiest to forget about 10.3 support altogether.

I think that these locations need to be special-cased for Darwin in the 
all-in-one installer, just as Cygwin is.

My, validate complains about 'no class variable LanRouter::debug_' a lot...

L.

At Thursday 21/02/2008 23:55 +0000, Lloyd Wood wrote:
>I'm trying to install octcl 1.1.3 on Mac OS X 10.5.2, as part of the ns 2.32 
>allinone install:
>
>checking for X11 header files
>checking for X11 library archive
>checking for XOpenDisplay in -lX11... no
>can't find X library
>
>Now, I've installed XCode 3.0. I've installed the development headers found in 
>separate packages on the Leopard install disk (so e.g. I've got the OpenGL 
>stuff - though I've got another program that swears blind they're Not There.). 
>I gave up on MacPorts and managed to install Fink. I've even installed Quartz 
>for the missing bits of X that Apple didn't ship. And otcl still won't 
>configure.
>
>Any hints?
>
>thanks,
>
>L.

Saratoga: http://www.ee.surrey.ac.uk/Personal/L.Wood/dtn/

<http://www.ee.surrey.ac.uk/Personal/L.Wood/><[EMAIL PROTECTED]> 

Reply via email to