Hi
TCL_LIB is where tclConfig.sh is. In my setup is
/usr/local/aolserver/lib/ .
This is the only tcl installation I have (I removed with port remove
tcl) BUT I did find / -name tclConfig.sh and it shows:
/System/Library/Frameworks/Tcl.framework/tclConfig.sh
/System/Library/Frameworks/Tcl.framework/Versions/8.4/tclConfig.sh
/usr/lib/tclConfig.sh (it's a link to /System ... )
/usr/local/aolserver45/lib/tclConfig.sh
/usr/local/src/tcl8.4.19/unix/tclConfig.sh (it's the source software)
So it appears to be some installation
How can I remove it? I had already done "port remove tcl", so it could
be delete that files directly?
Thanks
Cesáreo
El 19/octubre/09 20:33, russell muetzelfeldt escribió:
On 20/10/2009, at 12:11 PM, Cesáreo García Rodicio wrote:
Mmm... I added --disable-corefoundation in configure command (
aolserver building process) and it didn't work. But it makes sense.
in your AOLserver configure command you say "--with-tcl=$TCL_LIB".
what's the value of $TCL_LIB at this point? is it pointing at your
system TCL, or at the TCL installed in $AOLSERVER_INST?
It's a problem when executing it. Maybe setting ulimit -u 256? But as
I read, this was solved with 4.5.1
the error message isn't saying that nsd can't exec(), it's saying that
you *must* exec() in order to avoid some issue within CoreFoundation -
presumably something between the fork() and the exec() calls into
CoreFoundation by default, in a way that CF doesn't like.
El 19/octubre/09 13:45, Gustaf Neumann escribió:
You have to compile Tcl and all tcl based modules with
--disable-corefoundation
and you have to make sure that you are linking against this version
of tcl.
best regards
-gustaf neumann
Cesáreo García Rodicio schrieb:
Dear Gustaf,
Thanks for your answer but, sadly, it didn't work. Same problem:
" ... The process has forked and you cannot use this CoreFoundation
functionality safely. You MUST exec(). ... "
The building process ends, apparently, OK. This is what I'm doing:
-------- TCL building ---------
1. ./configure --prefix=$AOLSERVER_INST --enable-threads
--disable-corefoundation --enable-symbols
2. make test
3. make && make install
-------- AOS building ---------
1. ./configure --with-tcl=$TCL_LIB --prefix=$AOLSERVER_INST
--enable-symbols
2. $TCL_EXEC/tclsh8.4 nsconfig.tcl -install $AOLSERVER_INST -debug
4. make && make install
¿More ideas?
Thanks
Cesáreo
El 19/octubre/09 1:42, Gustaf Neumann escribió:
Dear Cesáreo,
for compiling under Mac OS X Leopard or newer,
use the following flags to compile Tcl:
./configure --prefix=/opt/aolserver --enable-threads
--disable-corefoundation --enable-symbols
best regards
-gustaf neumann
Cesáreo García Rodicio schrieb:
Hi!
I'm trying to build from source Aolserver 4.5.1 in
/usr/local/aolserver under Mac OS X Leopard. First of all, I had
problems with make (it didn't find tclsh), but it was solved as in
http://www.mail-archive.com/aolserver@listserv.aol.com/msg10030.html
Finally I did get to install it in /usr/local/aolserver (bare
aolserver, so far, no extra modules). My problem is when I test nsd:
"
roraima:aolserver root# ./bin/nsd -t base.tcl -u nobody -g web
roraima:aolserver root# The process has forked and you cannot use
this
CoreFoundation functionality safely. You MUST exec().
Break on __THE_PROCESS .... "
I added --enable-64bit to tcl configure script and I rebuilt it. Same
problem ( "forked" )
I was seeking it in this list (some things) but I've only found the
--enable-64bit thing and it didn't work for me
Some clues?
Thanks
Cesáreo
PD: Macports had some problems with make (suppose tcl executable)
roraima:aolserver-4.5.1 root# uname -a
Darwin roraima.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15
16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
<lists...@listserv.aol.com> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.