Re: [AOLSERVER] aolserver not liking tcl8.6 beta 7
I'd guess this is related to the code to rebuild namespaces, there may be something different enough about tcloo namespaces to break it. It could be something as simple as using "namespace" instead of "::namespace". I'll try building with the latest tcl and see what I run into. -J John Buckman from BookMooch wrote: > I tried tcl8.6.0.0b7 (from the current ActiveTcl) an it does build fine with > aolserver, but when loading adp pages, I get: > >> [15/Sep/2012:10:14:36][60416.32952320][-default:5-] Error: Tcl exception: >> wrong # args: should be "namespace objName" >> while executing >> "namespace export {[a-z]*}" >> (in namespace eval "::oo::InfoObject" script line 1) >> invoked from within >> "namespace eval ::oo::InfoObject {namespace export {[a-z]*} >> }" >> invoked from within >> "ns_ictl update" > > > the problem appears to be centered around this ns_ictl code in bin/init.tcl > >> # >> # Register the init and cleanup callbacks. >> # >> >> ns_ictl trace create {ns_ictl update} >> ns_ictl trace allocate ns_init >> ns_ictl trace deallocate ns_cleanup > > I wasn't able to solve the problem (banged on it for an hour), but just > wanted to post an FYI in case anyone else has seen it or worked on it. > > -john > > > -- > How fast is your code? > 3 out of 4 devs don\\\'t know how their code performs in production. > Find out how slow your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219672;13503038;z? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > ___ > aolserver-talk mailing list > aolserver-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/aolserver-talk > -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ aolserver-talk mailing list aolserver-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aolserver-talk
[AOLSERVER] aolserver not liking tcl8.6 beta 7
I tried tcl8.6.0.0b7 (from the current ActiveTcl) an it does build fine with aolserver, but when loading adp pages, I get: > [15/Sep/2012:10:14:36][60416.32952320][-default:5-] Error: Tcl exception: > wrong # args: should be "namespace objName" > while executing > "namespace export {[a-z]*}" > (in namespace eval "::oo::InfoObject" script line 1) > invoked from within > "namespace eval ::oo::InfoObject {namespace export {[a-z]*} > }" > invoked from within > "ns_ictl update" the problem appears to be centered around this ns_ictl code in bin/init.tcl > # > # Register the init and cleanup callbacks. > # > > ns_ictl trace create {ns_ictl update} > ns_ictl trace allocate ns_init > ns_ictl trace deallocate ns_cleanup I wasn't able to solve the problem (banged on it for an hour), but just wanted to post an FYI in case anyone else has seen it or worked on it. -john -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ aolserver-talk mailing list aolserver-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aolserver-talk
[AOLSERVER] -fvisibility=hidden breaks the build
I've fixed my aolserver build process -- I believe that the following C Flag: -fvisibility=hidden is the problem and should be removed from ns.make. -fvisibility=hidden appears to hide the nsthread libraries from the rest of nsd, and thus creates a link error. I removed it from include/ns.mak and the aolserver build process on both linux and osx now work. -john -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html___ aolserver-talk mailing list aolserver-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aolserver-talk
[AOLSERVER] building the current cvs tree, link error on nsthread
I'm trying to build the current cvs tree on both osx, and 64 bit Linux, and both are failing with link errors against nsthread. To build, I'm running nsconfig.tcl, then make. Is there a different process these days? On Linux: /usr/local/bin/tclsh8.6 /opt/tmp/aol/aolserver/util/nsremove.tcl nsthreadtest gcc -o nsthreadtest nsthreadtest.o \ -L. -lnsthread -L/opt/ActiveTcl-8.6/lib -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lgcc_s -Wl,--export-dynamic -Wl,-rpath,/usr/local/lib -Wl,-rpath,/lib nsthreadtest.o: In function `Pthread': nsthreadtest.c:(.text+0xc): undefined reference to `Ns_ThreadSetName' many more undefined references... -- On OSX there's an ns.mak error, causing gcc to try to build both for 64 and 32 bit architectures (ns.mak has "gcc -arch x86_64 -arch i386"), but then the same link error appears: gcc -DALLOW_EMPTY_EXPAND -arch x86_64 -pipe -fvisibility=hidden -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -o nsthreadtest nsthreadtest.o \ -L. -lnsthread -F/Library/Frameworks -framework Tcl -lz -lpthread -framework CoreFoundation -headerpad_max_install_names -Wl,-search_paths_first Undefined symbols for architecture x86_64: "_ns_ctime", referenced from: _Msg in nsthreadtest.o _WorkThread in nsthreadtest.o "_Ns_MutexLock", referenced from: _Msg in nsthreadtest.o _Pthread in nsthreadtest.o _DumperThread in nsthreadtest.o _MemTime in nsthreadtest.o _MemThread in nsthreadtest.o _main in nsthreadtest.o _WorkThread in nsthreadtest.o ... "_Ns_ThreadGetName", referenced from: _Msg in nsthreadtest.o "_Ns_MutexUnlock", referenced from: _Msg in nsthreadtest.o _Pthread in nsthreadtest.o _DumperThread in nsthreadtest.o _MemTime in nsthreadtest.o _MemThread in nsthreadtest.o _main in nsthreadtest.o _WorkThread in nsthreadtest.o ... -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ aolserver-talk mailing list aolserver-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/aolserver-talk