[AOLSERVER] -fvisibility=hidden breaks the build

2012-09-15 Thread John Buckman from BookMooch
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] aolserver not liking tcl8.6 beta 7

2012-09-15 Thread John Buckman from BookMooch
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


Re: [AOLSERVER] aolserver not liking tcl8.6 beta 7

2012-09-15 Thread Jeff Rogers
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