On 11/25/02 10:05, "Gabriel Ricard" <[EMAIL PROTECTED]> wrote:
> On Thursday, November 21, 2002, at 04:03 PM, Morgan Goeller wrote: > >> Hello, >> >> This is my first post to the list, hopefully it isn't too silly. My >> apologies if this is a common I am trying to compile AOLServer 3.5.1 >> on Mac >> OS X. I have already installed it successfully on RH Linux 7.3 >> without a >> problem, but OS X seems to have some peculiarities. >> >> I had to recompile TCL with the --enable thread options, so I just went >> ahead and upgraded to version 8.4.1. I was able to configure just >> fine, and >> the Make went fine for individual files, other than the occasional >> warning. >> However, after a few minutes I get the following output: > > [snip] > >> My guess is that this is something to do with late/early binding >> differences >> on the Mac, as libnsthread does exist in the nsthread directory. Any >> ideas? >> I am not a C programmer, so some of this stuff is way above my head. >> Do I >> need to use a different compiler argument or set an environment >> variable for >> use with OS X? >> >> Thanks in advance. I have searched the list archives and FAQ and not >> seen >> anything on this subject. >> >> Morgan > > Ok, I was able to successfully build aolserver 3.5.1 with tcl 8.4.1 on > mac osx 10.2.2 as follows: > > > I got Tcl 8.4.1 from here: > http://prdownloads.sourceforge.net/tcl/tcl8.4.1-src.tar.gz?download > > $ tar -zxf tcl-8.4.1.tar.gz > $ cd tcl-8.4.1/macosx > > At this point I built it, but when installing it it choked on building > the HTML docs, which I didn't really need so I cut that part out by > replacing line 494 in tcl-8.4.1/macosx/Tcl.pbproj/project.pbxproj with: > > shellScript = "echo"; > > After that, you can continue like this: > > $ make > $ sudo make install > > (note: it automatically builds with --enable-thread set) > > It installs the Tcl libraries and headers as a Framework in > /Library/Frameworks/Tcl.framework. > > > I did the following to build aolserver: > > $ tar -zxf aolserver-3.5.1-src.tar.gz > $ cd aolserver-3.5.1-src > $ ./configure --prefix=/projects/ns351 > --with-tcl=/Library/Frameworks/Tcl.framework > $ make > $ sudo make install > > ... and it built just fine. > > - Gabriel Gabriel, Thanks for the suggestions/instructions. I have followed your instructions to the letter, with both 3.5.0 and 3.5.1, both with the same error. In both cases I have done a make clean and downloaded clean versions of the source. It sounds like there is something fishy on my system, I guess I just have to figure out what it is. Someone had suggested upgrading by version of make to 3.80, I think I will try that first. Thanks, Morgan
