unsubscribe ----- Original Message ----- From: "Automatic digest processor" <[EMAIL PROTECTED]> To: "Recipients of AOLSERVER digests" <[EMAIL PROTECTED]> Sent: Friday, June 01, 2001 12:04 AM Subject: AOLSERVER Digest - 30 May 2001 to 31 May 2001 (#2001-137) > There are 9 messages totalling 1364 lines in this issue. > > Topics of the day: > > 1. Procs with 2+ args in ns_register_proc (2) > 2. [ aolserver-Support Requests-428770 ] nsd_v3_r4 startup failure on solaris > 2.8 (2) > 3. [ aolserver-Support Requests-429141 ] help w/data from AOL into Postgresql > (2) > 4. [ aolserver-Support Requests-417631 ] Cannot compile AOLserver on FreeBSD > (3) > > ---------------------------------------------------------------------- > > Date: Thu, 31 May 2001 09:10:05 -0400 > From: Gaizka Villate <[EMAIL PROTECTED]> > Subject: Procs with 2+ args in ns_register_proc > > Is it possible have a proc with more than one argument registered with > ns_register_proc ? > > In the documentation it says it's possible: > (at http://www.aolserver.com/docs/tcldev/tapi-104.htm#3937 ): > ns_register_proc GET /twoargs twoargs fnord > ns_register_proc GET /threeargs threeargs fnord fjord > proc twoargs { conn context { greeble bork } } { > ... > } ; > proc threeargs { conn context {greeble bork } { hoover quark } } { > ... > } ; > > But when i try it in a session with nscp: > > nscp 1> proc threeargs { conn context {greeble bork } { hoover quark} } } { > return 0 > } > > b2civi-dev:nscp 2> ns_register_proc GET /threeargs threeargs fnord fjord > wrong # of args: should be "ns_register_proc ?-noinherit? method url > procName ? args?" > b2civi-dev:nscp 3> > > Is there a way to do it? > I've tried passing a list (ns_register_proc GET /threeargs [list fnord > fjord]) but it hasn't worked. > > Thanks a lot for your attention. > > -- Gaizka Villate > > ------------------------------ > > Date: Thu, 31 May 2001 14:23:50 +0100 > From: Simon Millward <[EMAIL PROTECTED]> > Subject: Re: Procs with 2+ args in ns_register_proc > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Too many close braces on the second proc. > > Simon Millward > CEO - OpenMSG Limited > www.open-msg.com > > (Public Key at www.keyserver.net) > > - -----Original Message----- > From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On > Behalf > Of Gaizka Villate > Sent: 31 May 2001 14:10 > To: [EMAIL PROTECTED] > Subject: [AOLSERVER] Procs with 2+ args in ns_register_proc > > > Is it possible have a proc with more than one argument registered > with > ns_register_proc ? > > In the documentation it says it's possible: > (at http://www.aolserver.com/docs/tcldev/tapi-104.htm#3937 ): > ns_register_proc GET /twoargs twoargs fnord > ns_register_proc GET /threeargs threeargs fnord fjord > proc twoargs { conn context { greeble bork } } { > ... > } ; > proc threeargs { conn context {greeble bork } { hoover quark } } > { > ... > } ; > > But when i try it in a session with nscp: > > nscp 1> proc threeargs { conn context {greeble bork } { hoover quark} > } } { > return 0 > } > > b2civi-dev:nscp 2> ns_register_proc GET /threeargs threeargs fnord > fjord > wrong # of args: should be "ns_register_proc ?-noinherit? method url > procName ? args?" > b2civi-dev:nscp 3> > > Is there a way to do it? > I've tried passing a list (ns_register_proc GET /threeargs [list > fnord > fjord]) but it hasn't worked. > > Thanks a lot for your attention. > > - -- Gaizka Villate > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> > > iQA/AwUBOxZF5rkY0ZOMgcS2EQJotACgioQvdE/sE+q4DW5EJa9vkKHHJfIAoKK4 > lP3WLJbRorzACvOYv8IMOySD > =t4C7 > -----END PGP SIGNATURE----- > > ------------------------------ > > Date: Thu, 31 May 2001 07:25:06 -0700 > From: "Mr. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-428770 ] nsd_v3_r4 startup failure on > solaris 2.8 > > Support Requests item #428770, was updated on 2001-05-30 12:03 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=428770&group_id= 3152 > > Category: Configuration: First-Time Startup > Group: aolserver3_4 > Status: Open > Priority: 5 > Submitted By: Andrew Stevens (acstevens) > Assigned to: Dossy Shiobara (dossy) > Summary: nsd_v3_r4 startup failure on solaris 2.8 > > Initial Comment: > Trying to start up AOLserver out of the box for the > first time. > The command line I am using is: > nsd -ft ../sample-config.tcl > > Here is the output: > [30/May/2001:14:51:04][11658.1][-main-] Notice: > config.tcl: starting to read config file... > [30/May/2001:14:51:04][11658.1][-main-] Warning: > config.tcl: nsssl not loaded -- key/cert files do not > exist. > [30/May/2001:14:51:04][11658.1][-main-] Warning: > config.tcl: nscp not loaded -- user/password is not > set. > [30/May/2001:14:51:04][11658.1][-main-] Notice: > config.tcl: finished reading config file. > [30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain: > AOLserver/3.4 starting > [30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain: > security info: uid=1001, euid=1001, gid=10, egid=10 > [30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain: > max files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = > 1024 > [30/May/2001:14:51:04][11658.1][-main-] Notice: adp: > mapped /*.adp > [30/May/2001:14:51:04][11658.1][-main-] Notice: > modload: loading '/usr/local/aolserver/bin/nssock.so' > [30/May/2001:14:51:04][11658.1][-main-] Warning: > modload: failed to load > '/usr/local/aolserver/bin/nssock.so': 'ld.so.1: nsd: > fatal: relocation error: file > /usr/local/aolserver/bin/nssock.so: symbol > Ns_RegisterDriver: referenced symbol not found' > [30/May/2001:14:51:04][11658.1][-main-] Fatal: modload: > failed to load module > '/usr/local/aolserver/bin/nssock.so' > > It there something wrong with my build or my runtime > env? > Any help is greatly appreciated. > > Thanks, > ACS > > > ---------------------------------------------------------------------- > > >Comment By: Andrew Stevens (acstevens) > Date: 2001-05-31 07:25 > > Message: > Logged In: YES > user_id=232706 > > Dossy, > > I built from source using gmake and gcc provided by cygnus. > Yes you are correct that it is a SPARC. My LD_LIBRARY_PATH > only has one thing in it for sybase: > "/opt/sybase/OCS-12_0/lib:" Do I need something in there for > AOLserver? > > Thanks, > > Andrew > > ---------------------------------------------------------------------- > > Comment By: Dossy Shiobara (dossy) > Date: 2001-05-30 18:42 > > Message: > Logged In: YES > user_id=21885 > > Did you build from source, or use a binary distribution? > > What is your LD_LIBRARY_PATH environment variable set to? > You can check by doing: > > $ echo $LD_LIBRARY_PATH > > I presume this is Solaris 8 on a SPARC, and not x86? Or, > am I wrong? -- Dossy > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=428770&group_id= 3152 > > ------------------------------ > > Date: Thu, 31 May 2001 13:48:18 -0700 > From: "Ms. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-429141 ] help w/data from AOL into > Postgresql > > Support Requests item #429141, was updated on 2001-05-31 13:48 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=429141&group_id= 3152 > > Category: Configuration: Database > Group: aolserver3_4 > Status: Open > Priority: 5 > Submitted By: Tyge Cawthon (tyge) > Assigned to: Nobody/Anonymous (nobody) > Summary: help w/data from AOL into Postgresql > > Initial Comment: > I have done a lot of reading and I am stuck. > I would appreciate any help. > > I am using FreeBSD 4.3, AOL 3.4 and postgreSQL all on > the same system. > I have created a database called tyge a table called > customer and a field called name. > > I started postgresql with the postmaster -i option. > This is the default Host: localhost Port:5432 > > I can use the SQL commands to insert data into the > "name" field", but when I try using HTML, ADP (TCL) > with AOL I get the following error message. > > [31/May/2001:15:27:39][3282.135895040][-conn4-] Error: > command "ns_db" is not enabled > while executing > "ns_db gethandle" > invoked from within chunk: 0 of adp: > /usr/local/aolserver/servers/server1/pages/tygedb.adp > > my config.tcl use by my AOL server is the default setup > with the exception of the commands below. > > # What is needed for connecting to a data base > # Added by Tyge Cawthon 5/14/01 > # > ns_section "ns/server/server1/db" > ns_param pools * > > ns_section "ns/db/drivers" > ns_param postgres nspostgres.so > # ns_param solid nssolid.so > > ns_section "ns/db/pools" > ns_param mypool "The Default Database Pool" > # ns_param otherdb "The Other Database Pool" > > ns_section "ns/db/pool/mypool" > ns_param driver postgres > ns_param connections 2 > ns_param datasource "localhost:5432:tyge" > ns_param LogSQLErrors on > > # ns_section "ns/db/pool/otherdb" > # ns_param driver solid > # ns_param connections 4 > # ns_param datasource "TCP/IP hostname 1313" > # > ns_section "ns/server/server1/modules" > ns_param nscp nscp.so > > ns_section "ns/server/server1/module/nscp" > ns_param port 9999 > ns_param address 127.0.0.1 > ns_param binary bin/nscp > # > # Tyge's statements end here > > > > > > tygedb.html > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 > Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html> > <head> > <title>Customer Input Form</title> > <meta http-equiv="Content-Type" content="text/html"> > </head> > > <body> > <h2>Customer Information</h2> > > <form method="post" action="tygedb.adp" /> > <p> > First Name <input type="text" size="30" name="name"> > </p> > <p> > <input type="submit" value="Submit"> > </p> > </form> > </body> > </html> > > > tygedb.adp > <HTML> > <HEAD> > <TITLE>Customer Input Information</TITLE> > </HEAD> > <BODY> > <H2> > Testing inputting customer information > </H2> > <P> > Thank You for testing! > > <% > # Get form data and assign to variables > set r [ns_conn form $conn] > set name [ns_set get $r name] > > # Update database with new subscription > set db [ns_db gethandle] > # ns_db dml $db \ > ns_db dml tyge \ > "insert into customer values ([ns_dbquotevalue $name])" > > \ > %> > </BODY> > </HTML> > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=429141&group_id= 3152 > > ------------------------------ > > Date: Thu, 31 May 2001 13:59:08 -0700 > From: "Ms. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-417631 ] Cannot compile AOLserver on > FreeBSD > > Support Requests item #417631, was updated on 2001-04-20 07:05 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id= 3152 > > Category: Configuration: First-Time Startup > Group: None > Status: Open > Priority: 9 > Submitted By: Doug Coughler (doug-coughler) > Assigned to: Nobody/Anonymous (nobody) > Summary: Cannot compile AOLserver on FreeBSD > > Initial Comment: > I am a Quality Assurance Software Engineer for Nokia, > Inc. in Kanata, Ontario, Canada. I am trying to > install AOLServer in our test lab for doing tests with > our new SSL Accelerator. The server is a FreeBSD 4.2 > machine. I am using GMAKE 3.79.1 to compile it. > > Everytime I try to compile aolserver, I get the > following error: > > ===== > gmake > ===== > > gmake[2]: Entering directory > `/usr/local/aolserver3_3_1/tcl7.6/unix' > gmake[2]: `libtcl76.a' is up to date. > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl7.6/unix' > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/tcl7.6' > (cd /usr/local/aolserver3_3_1/tcl8.3.2 && gmake all) > gmake[1]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > (cd /usr/local/aolserver3_3_1/tcl8.3.2/unix; gmake > CFLAGS='-I../include -D_REENTRANT=1 -DNDEBUG=1 -g - > fPIC -Wall -Wno-unused -pthread -mcpu=pentium - > D_THREAD_SAFE=1 -DHAVE_CMMSG=1 -DNO_TIMEZONE=1 - > DHAVE_TIMEGM=1 -DUSE_TCL8X -Dfork=ns_fork - > Dreaddir=ns_readdir -Dgmtime=ns_gmtime - > Dsignal=ns_signal -Dlocaltime=ns_localtime' > libtcl83g.a) > gmake[2]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[2]: *** No rule to make target `libtcl83g.a'. > Stop. > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > gmake: *** [libtcl8x] Error 2 > > > ========== > gmake install > ========== > > gmake[3]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[3]: *** No rule to make target `libtcl83g.a'. > Stop. > gmake[3]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > gmake[1]: *** [libtcl8x] Error 2 > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/nsd' > gmake: *** [install] Error 1 > > > What is causing these errors, and how can I fix them? > I have reformatted the server machine twice now. It > is imperative that I get this server up and running. > > - Doug Coughler > > _________________________________________________ > Doug Coughler > NOKIA > Quality Assurance Test Engineer > Phone: (613)271-6937 Cell: (613) 263-6120 > FAX:(613)591-7451 [EMAIL PROTECTED] > _________________________________________________ > > > ---------------------------------------------------------------------- > > Comment By: Tyge Cawthon (tyge) > Date: 2001-05-31 13:59 > > Message: > Logged In: YES > user_id=217624 > > Dossy and Doug, My statement below does correct the error > message Doug was getting. I have had AOL on FreeBSD since my > last message. Everything I tried seems to have worked. > > I would like to sugguest to both Dossy and Doug that we > cloae this ticket today (May 31th). > > Doug, May I suggest if you are still having problems please > submit another ticket. That way if there is still problems > it will be tracked easier. > > ---------------------------------------------------------------------- > > Comment By: Dossy Shiobara (dossy) > Date: 2001-05-28 17:26 > > Message: > Logged In: YES > user_id=21885 > > Doug, were you able to finally build AOLserver on FreeBSD? > tyge's suggestion should have got things going for you, but > you never downgraded this ticket from severity 9 -- is this > still an issue? Can this ticket be closed? > > > ---------------------------------------------------------------------- > > Comment By: Tyge Cawthon (tyge) > Date: 2001-05-11 17:06 > > Message: > Logged In: YES > user_id=217624 > > I may be wrong and I am NOT a programmer but this is what I > did. After reading some information about AOL, I Looked at > the file aolserver-3.3.1/include/Makefile.global > > Towards the end of the file there is a comment "Tcl 7.6 on > *BSD has a different name....." > > I looked at the ifeq statement and notice that TCL8X_LIB > line was not the same as in the else part. Since the > comment from above do not say anything about Tcl8.3 name > being different, I assumed that someone forgot to add the > period sign. So, what I did was to make the TCL8X_LIB line > in the "if" part look like the TCL8X_LIB line in the "else" > part. The gmake, gmake install and gmake clean completed. > > Right now I am trying to see if the AOL server is working. > I hope this helps you. > > BEFORE: > #Note: Tcl 7.6 on *BSD has a different name for no apparent > reason. > # > TCL8X_DIR=tcl8.3.2 > TCL76_DIR=tcl7.6 > ifeq (bsd, $(findstring bsd, $(PLATFORM))) > TCL76_LIB=libtcl76.a > TCL8X_LIB=libtcl83g.a > else > TCL76_LIB=libtcl7.6.a# > > AFTER: > Note: Tcl 7.6 on *BSD has a different name for no apparent > reason. > # > TCL8X_DIR=tcl8.3.2 > TCL76_DIR=tcl7.6 > ifeq (bsd, $(findstring bsd, $(PLATFORM))) > TCL76_LIB=libtcl76.a > TCL8X_LIB=libtcl8.3g.a > else > TCL76_LIB=libtcl7.6.a > TCL8X_LIB=libtcl8.3g.a > endif > > > > ---------------------------------------------------------------------- > > Comment By: Vince Kraemer (vkraemer) > Date: 2001-04-30 16:27 > > Message: > Logged In: YES > user_id=208615 > > Doug, > > I don't have an answer for you, but some suggestions that > might help. > > 1. Compare the following two makefiles: > /usr/local/aolserver3_3_1/tcl8.3.2/unix/Makefile and > /usr/local/aolserver3_3_1/tcl7.6/unix/Makefile > > 2. Compare these makefiles also: > /usr/local/aolserver3_3_1/tcl8.3.2/Makefile and > /usr/local/aolserver3_3_1/tcl7.6/Makefile > > You may also want to try building a non-debug version and > see if it compiles. > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id= 3152 > > ------------------------------ > > Date: Thu, 31 May 2001 17:31:14 -0700 > From: "Ms. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-417631 ] Cannot compile AOLserver on > FreeBSD > > Support Requests item #417631, was updated on 2001-04-20 07:05 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id= 3152 > > Category: Configuration: First-Time Startup > Group: None > Status: Open > Priority: 9 > Submitted By: Doug Coughler (doug-coughler) > Assigned to: Nobody/Anonymous (nobody) > Summary: Cannot compile AOLserver on FreeBSD > > Initial Comment: > I am a Quality Assurance Software Engineer for Nokia, > Inc. in Kanata, Ontario, Canada. I am trying to > install AOLServer in our test lab for doing tests with > our new SSL Accelerator. The server is a FreeBSD 4.2 > machine. I am using GMAKE 3.79.1 to compile it. > > Everytime I try to compile aolserver, I get the > following error: > > ===== > gmake > ===== > > gmake[2]: Entering directory > `/usr/local/aolserver3_3_1/tcl7.6/unix' > gmake[2]: `libtcl76.a' is up to date. > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl7.6/unix' > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/tcl7.6' > (cd /usr/local/aolserver3_3_1/tcl8.3.2 && gmake all) > gmake[1]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > (cd /usr/local/aolserver3_3_1/tcl8.3.2/unix; gmake > CFLAGS='-I../include -D_REENTRANT=1 -DNDEBUG=1 -g - > fPIC -Wall -Wno-unused -pthread -mcpu=pentium - > D_THREAD_SAFE=1 -DHAVE_CMMSG=1 -DNO_TIMEZONE=1 - > DHAVE_TIMEGM=1 -DUSE_TCL8X -Dfork=ns_fork - > Dreaddir=ns_readdir -Dgmtime=ns_gmtime - > Dsignal=ns_signal -Dlocaltime=ns_localtime' > libtcl83g.a) > gmake[2]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[2]: *** No rule to make target `libtcl83g.a'. > Stop. > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > gmake: *** [libtcl8x] Error 2 > > > ========== > gmake install > ========== > > gmake[3]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[3]: *** No rule to make target `libtcl83g.a'. > Stop. > gmake[3]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > gmake[1]: *** [libtcl8x] Error 2 > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/nsd' > gmake: *** [install] Error 1 > > > What is causing these errors, and how can I fix them? > I have reformatted the server machine twice now. It > is imperative that I get this server up and running. > > - Doug Coughler > > _________________________________________________ > Doug Coughler > NOKIA > Quality Assurance Test Engineer > Phone: (613)271-6937 Cell: (613) 263-6120 > FAX:(613)591-7451 [EMAIL PROTECTED] > _________________________________________________ > > > ---------------------------------------------------------------------- > > >Comment By: Dossy Shiobara (dossy) > Date: 2001-05-31 17:31 > > Message: > Logged In: YES > user_id=21885 > > As Tyge has suggested a solution and has verified that it > works under FreeBSD, and the lack of response from Doug, > I'm going to assume that Doug either got things working, or > has given up -- either way, as Tyge suggested, I'm going to > close this ticket. Doug, if you are still having problems, > feel free to open a new ticket. -- Dossy > > ---------------------------------------------------------------------- > > Comment By: Tyge Cawthon (tyge) > Date: 2001-05-31 13:59 > > Message: > Logged In: YES > user_id=217624 > > Dossy and Doug, My statement below does correct the error > message Doug was getting. I have had AOL on FreeBSD since my > last message. Everything I tried seems to have worked. > > I would like to sugguest to both Dossy and Doug that we > cloae this ticket today (May 31th). > > Doug, May I suggest if you are still having problems please > submit another ticket. That way if there is still problems > it will be tracked easier. > > ---------------------------------------------------------------------- > > Comment By: Dossy Shiobara (dossy) > Date: 2001-05-28 17:26 > > Message: > Logged In: YES > user_id=21885 > > Doug, were you able to finally build AOLserver on FreeBSD? > tyge's suggestion should have got things going for you, but > you never downgraded this ticket from severity 9 -- is this > still an issue? Can this ticket be closed? > > > ---------------------------------------------------------------------- > > Comment By: Tyge Cawthon (tyge) > Date: 2001-05-11 17:06 > > Message: > Logged In: YES > user_id=217624 > > I may be wrong and I am NOT a programmer but this is what I > did. After reading some information about AOL, I Looked at > the file aolserver-3.3.1/include/Makefile.global > > Towards the end of the file there is a comment "Tcl 7.6 on > *BSD has a different name....." > > I looked at the ifeq statement and notice that TCL8X_LIB > line was not the same as in the else part. Since the > comment from above do not say anything about Tcl8.3 name > being different, I assumed that someone forgot to add the > period sign. So, what I did was to make the TCL8X_LIB line > in the "if" part look like the TCL8X_LIB line in the "else" > part. The gmake, gmake install and gmake clean completed. > > Right now I am trying to see if the AOL server is working. > I hope this helps you. > > BEFORE: > #Note: Tcl 7.6 on *BSD has a different name for no apparent > reason. > # > TCL8X_DIR=tcl8.3.2 > TCL76_DIR=tcl7.6 > ifeq (bsd, $(findstring bsd, $(PLATFORM))) > TCL76_LIB=libtcl76.a > TCL8X_LIB=libtcl83g.a > else > TCL76_LIB=libtcl7.6.a# > > AFTER: > Note: Tcl 7.6 on *BSD has a different name for no apparent > reason. > # > TCL8X_DIR=tcl8.3.2 > TCL76_DIR=tcl7.6 > ifeq (bsd, $(findstring bsd, $(PLATFORM))) > TCL76_LIB=libtcl76.a > TCL8X_LIB=libtcl8.3g.a > else > TCL76_LIB=libtcl7.6.a > TCL8X_LIB=libtcl8.3g.a > endif > > > > ---------------------------------------------------------------------- > > Comment By: Vince Kraemer (vkraemer) > Date: 2001-04-30 16:27 > > Message: > Logged In: YES > user_id=208615 > > Doug, > > I don't have an answer for you, but some suggestions that > might help. > > 1. Compare the following two makefiles: > /usr/local/aolserver3_3_1/tcl8.3.2/unix/Makefile and > /usr/local/aolserver3_3_1/tcl7.6/unix/Makefile > > 2. Compare these makefiles also: > /usr/local/aolserver3_3_1/tcl8.3.2/Makefile and > /usr/local/aolserver3_3_1/tcl7.6/Makefile > > You may also want to try building a non-debug version and > see if it compiles. > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id= 3152 > > ------------------------------ > > Date: Thu, 31 May 2001 17:36:09 -0700 > From: "Ms. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-417631 ] Cannot compile AOLserver on > FreeBSD > > Support Requests item #417631, was updated on 2001-04-20 07:05 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id= 3152 > > Category: Configuration: First-Time Startup > >Group: aolserver3_3_1 > >Status: Closed > Priority: 9 > Submitted By: Doug Coughler (doug-coughler) > Assigned to: Nobody/Anonymous (nobody) > Summary: Cannot compile AOLserver on FreeBSD > > Initial Comment: > I am a Quality Assurance Software Engineer for Nokia, > Inc. in Kanata, Ontario, Canada. I am trying to > install AOLServer in our test lab for doing tests with > our new SSL Accelerator. The server is a FreeBSD 4.2 > machine. I am using GMAKE 3.79.1 to compile it. > > Everytime I try to compile aolserver, I get the > following error: > > ===== > gmake > ===== > > gmake[2]: Entering directory > `/usr/local/aolserver3_3_1/tcl7.6/unix' > gmake[2]: `libtcl76.a' is up to date. > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl7.6/unix' > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/tcl7.6' > (cd /usr/local/aolserver3_3_1/tcl8.3.2 && gmake all) > gmake[1]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > (cd /usr/local/aolserver3_3_1/tcl8.3.2/unix; gmake > CFLAGS='-I../include -D_REENTRANT=1 -DNDEBUG=1 -g - > fPIC -Wall -Wno-unused -pthread -mcpu=pentium - > D_THREAD_SAFE=1 -DHAVE_CMMSG=1 -DNO_TIMEZONE=1 - > DHAVE_TIMEGM=1 -DUSE_TCL8X -Dfork=ns_fork - > Dreaddir=ns_readdir -Dgmtime=ns_gmtime - > Dsignal=ns_signal -Dlocaltime=ns_localtime' > libtcl83g.a) > gmake[2]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[2]: *** No rule to make target `libtcl83g.a'. > Stop. > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > gmake: *** [libtcl8x] Error 2 > > > ========== > gmake install > ========== > > gmake[3]: Entering directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[3]: *** No rule to make target `libtcl83g.a'. > Stop. > gmake[3]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2/unix' > gmake[2]: *** [all] Error 2 > gmake[2]: Leaving directory > `/usr/local/aolserver3_3_1/tcl8.3.2' > gmake[1]: *** [libtcl8x] Error 2 > gmake[1]: Leaving directory > `/usr/local/aolserver3_3_1/nsd' > gmake: *** [install] Error 1 > > > What is causing these errors, and how can I fix them? > I have reformatted the server machine twice now. It > is imperative that I get this server up and running. > > - Doug Coughler > > _________________________________________________ > Doug Coughler > NOKIA > Quality Assurance Test Engineer > Phone: (613)271-6937 Cell: (613) 263-6120 > FAX:(613)591-7451 [EMAIL PROTECTED] > _________________________________________________ > > > ---------------------------------------------------------------------- > > Comment By: Dossy Shiobara (dossy) > Date: 2001-05-31 17:31 > > Message: > Logged In: YES > user_id=21885 > > As Tyge has suggested a solution and has verified that it > works under FreeBSD, and the lack of response from Doug, > I'm going to assume that Doug either got things working, or > has given up -- either way, as Tyge suggested, I'm going to > close this ticket. Doug, if you are still having problems, > feel free to open a new ticket. -- Dossy > > ---------------------------------------------------------------------- > > Comment By: Tyge Cawthon (tyge) > Date: 2001-05-31 13:59 > > Message: > Logged In: YES > user_id=217624 > > Dossy and Doug, My statement below does correct the error > message Doug was getting. I have had AOL on FreeBSD since my > last message. Everything I tried seems to have worked. > > I would like to sugguest to both Dossy and Doug that we > cloae this ticket today (May 31th). > > Doug, May I suggest if you are still having problems please > submit another ticket. That way if there is still problems > it will be tracked easier. > > ---------------------------------------------------------------------- > > Comment By: Dossy Shiobara (dossy) > Date: 2001-05-28 17:26 > > Message: > Logged In: YES > user_id=21885 > > Doug, were you able to finally build AOLserver on FreeBSD? > tyge's suggestion should have got things going for you, but > you never downgraded this ticket from severity 9 -- is this > still an issue? Can this ticket be closed? > > > ---------------------------------------------------------------------- > > Comment By: Tyge Cawthon (tyge) > Date: 2001-05-11 17:06 > > Message: > Logged In: YES > user_id=217624 > > I may be wrong and I am NOT a programmer but this is what I > did. After reading some information about AOL, I Looked at > the file aolserver-3.3.1/include/Makefile.global > > Towards the end of the file there is a comment "Tcl 7.6 on > *BSD has a different name....." > > I looked at the ifeq statement and notice that TCL8X_LIB > line was not the same as in the else part. Since the > comment from above do not say anything about Tcl8.3 name > being different, I assumed that someone forgot to add the > period sign. So, what I did was to make the TCL8X_LIB line > in the "if" part look like the TCL8X_LIB line in the "else" > part. The gmake, gmake install and gmake clean completed. > > Right now I am trying to see if the AOL server is working. > I hope this helps you. > > BEFORE: > #Note: Tcl 7.6 on *BSD has a different name for no apparent > reason. > # > TCL8X_DIR=tcl8.3.2 > TCL76_DIR=tcl7.6 > ifeq (bsd, $(findstring bsd, $(PLATFORM))) > TCL76_LIB=libtcl76.a > TCL8X_LIB=libtcl83g.a > else > TCL76_LIB=libtcl7.6.a# > > AFTER: > Note: Tcl 7.6 on *BSD has a different name for no apparent > reason. > # > TCL8X_DIR=tcl8.3.2 > TCL76_DIR=tcl7.6 > ifeq (bsd, $(findstring bsd, $(PLATFORM))) > TCL76_LIB=libtcl76.a > TCL8X_LIB=libtcl8.3g.a > else > TCL76_LIB=libtcl7.6.a > TCL8X_LIB=libtcl8.3g.a > endif > > > > ---------------------------------------------------------------------- > > Comment By: Vince Kraemer (vkraemer) > Date: 2001-04-30 16:27 > > Message: > Logged In: YES > user_id=208615 > > Doug, > > I don't have an answer for you, but some suggestions that > might help. > > 1. Compare the following two makefiles: > /usr/local/aolserver3_3_1/tcl8.3.2/unix/Makefile and > /usr/local/aolserver3_3_1/tcl7.6/unix/Makefile > > 2. Compare these makefiles also: > /usr/local/aolserver3_3_1/tcl8.3.2/Makefile and > /usr/local/aolserver3_3_1/tcl7.6/Makefile > > You may also want to try building a non-debug version and > see if it compiles. > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=417631&group_id= 3152 > > ------------------------------ > > Date: Thu, 31 May 2001 17:41:58 -0700 > From: "Ms. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-429141 ] help w/data from AOL into > Postgresql > > Support Requests item #429141, was updated on 2001-05-31 13:48 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=429141&group_id= 3152 > > Category: Configuration: Database > Group: aolserver3_4 > Status: Open > Priority: 5 > Submitted By: Tyge Cawthon (tyge) > >Assigned to: Dossy Shiobara (dossy) > Summary: help w/data from AOL into Postgresql > > Initial Comment: > I have done a lot of reading and I am stuck. > I would appreciate any help. > > I am using FreeBSD 4.3, AOL 3.4 and postgreSQL all on > the same system. > I have created a database called tyge a table called > customer and a field called name. > > I started postgresql with the postmaster -i option. > This is the default Host: localhost Port:5432 > > I can use the SQL commands to insert data into the > "name" field", but when I try using HTML, ADP (TCL) > with AOL I get the following error message. > > [31/May/2001:15:27:39][3282.135895040][-conn4-] Error: > command "ns_db" is not enabled > while executing > "ns_db gethandle" > invoked from within chunk: 0 of adp: > /usr/local/aolserver/servers/server1/pages/tygedb.adp > > my config.tcl use by my AOL server is the default setup > with the exception of the commands below. > > # What is needed for connecting to a data base > # Added by Tyge Cawthon 5/14/01 > # > ns_section "ns/server/server1/db" > ns_param pools * > > ns_section "ns/db/drivers" > ns_param postgres nspostgres.so > # ns_param solid nssolid.so > > ns_section "ns/db/pools" > ns_param mypool "The Default Database Pool" > # ns_param otherdb "The Other Database Pool" > > ns_section "ns/db/pool/mypool" > ns_param driver postgres > ns_param connections 2 > ns_param datasource "localhost:5432:tyge" > ns_param LogSQLErrors on > > # ns_section "ns/db/pool/otherdb" > # ns_param driver solid > # ns_param connections 4 > # ns_param datasource "TCP/IP hostname 1313" > # > ns_section "ns/server/server1/modules" > ns_param nscp nscp.so > > ns_section "ns/server/server1/module/nscp" > ns_param port 9999 > ns_param address 127.0.0.1 > ns_param binary bin/nscp > # > # Tyge's statements end here > > > > > > tygedb.html > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 > Transitional//EN" > "http://www.w3.org/TR/html4/loose.dtd"> > <html> > <head> > <title>Customer Input Form</title> > <meta http-equiv="Content-Type" content="text/html"> > </head> > > <body> > <h2>Customer Information</h2> > > <form method="post" action="tygedb.adp" /> > <p> > First Name <input type="text" size="30" name="name"> > </p> > <p> > <input type="submit" value="Submit"> > </p> > </form> > </body> > </html> > > > tygedb.adp > <HTML> > <HEAD> > <TITLE>Customer Input Information</TITLE> > </HEAD> > <BODY> > <H2> > Testing inputting customer information > </H2> > <P> > Thank You for testing! > > <% > # Get form data and assign to variables > set r [ns_conn form $conn] > set name [ns_set get $r name] > > # Update database with new subscription > set db [ns_db gethandle] > # ns_db dml $db \ > ns_db dml tyge \ > "insert into customer values ([ns_dbquotevalue $name])" > > \ > %> > </BODY> > </HTML> > > > ---------------------------------------------------------------------- > > >Comment By: Dossy Shiobara (dossy) > Date: 2001-05-31 17:41 > > Message: > Logged In: YES > user_id=21885 > > [ns_db gethandle] is complaining because you aren't > specifying which db pool to get a handle from. You > have two options: > > 1) Change [ns_db gethandle] to [ns_db gethandle mypool] > > or > > 2) Add the following to your ns/server/server1/db section: > > ns_param DefaultPool mypool > > The DefaultPool is the pool from which [ns_db gethandle] > will fetch a handle if the pool isn't specified. > > Does this solve your problem? -- Dossy > > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=429141&group_id= 3152 > > ------------------------------ > > Date: Thu, 31 May 2001 19:46:33 -0700 > From: "Ms. Source Forge" <[EMAIL PROTECTED]> > Subject: [ aolserver-Support Requests-428770 ] nsd_v3_r4 startup failure on > solaris 2.8 > > Support Requests item #428770, was updated on 2001-05-30 12:03 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=428770&group_id= 3152 > > Category: Configuration: First-Time Startup > Group: aolserver3_4 > Status: Open > Priority: 5 > Submitted By: Andrew Stevens (acstevens) > Assigned to: Dossy Shiobara (dossy) > Summary: nsd_v3_r4 startup failure on solaris 2.8 > > Initial Comment: > Trying to start up AOLserver out of the box for the > first time. > The command line I am using is: > nsd -ft ../sample-config.tcl > > Here is the output: > [30/May/2001:14:51:04][11658.1][-main-] Notice: > config.tcl: starting to read config file... > [30/May/2001:14:51:04][11658.1][-main-] Warning: > config.tcl: nsssl not loaded -- key/cert files do not > exist. > [30/May/2001:14:51:04][11658.1][-main-] Warning: > config.tcl: nscp not loaded -- user/password is not > set. > [30/May/2001:14:51:04][11658.1][-main-] Notice: > config.tcl: finished reading config file. > [30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain: > AOLserver/3.4 starting > [30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain: > security info: uid=1001, euid=1001, gid=10, egid=10 > [30/May/2001:14:51:04][11658.1][-main-] Notice: nsmain: > max files: FD_SETSIZE = 1024, rl_cur = 1024, rl_max = > 1024 > [30/May/2001:14:51:04][11658.1][-main-] Notice: adp: > mapped /*.adp > [30/May/2001:14:51:04][11658.1][-main-] Notice: > modload: loading '/usr/local/aolserver/bin/nssock.so' > [30/May/2001:14:51:04][11658.1][-main-] Warning: > modload: failed to load > '/usr/local/aolserver/bin/nssock.so': 'ld.so.1: nsd: > fatal: relocation error: file > /usr/local/aolserver/bin/nssock.so: symbol > Ns_RegisterDriver: referenced symbol not found' > [30/May/2001:14:51:04][11658.1][-main-] Fatal: modload: > failed to load module > '/usr/local/aolserver/bin/nssock.so' > > It there something wrong with my build or my runtime > env? > Any help is greatly appreciated. > > Thanks, > ACS > > > ---------------------------------------------------------------------- > > >Comment By: Dossy Shiobara (dossy) > Date: 2001-05-31 19:46 > > Message: > Logged In: YES > user_id=21885 > > I just built AOLserver 3.4 on a Solaris 2.8 sun4u box > using gcc-2.95.3 (using the gcc-2.95.3 package from > sunfreeware.com). > > I had to build using -fPIC in order to get things to link: > > $ gmake CC="gcc -fPIC" > > Once I got everything to build, starting nsd worked like > a charm using sample-config.tcl, and I was able to fetch > the default index.html from > servers/server1/pages/index.html. > > Perhaps you need to gmake clean then gmake CC="gcc -fPIC" > as I did in order to get things going. I don't have access > to a box with a cygnus build of gcc, so I can't verify. > > Let me know if this helps, otherwise I'll try to investigate > further. -- Dossy > > ---------------------------------------------------------------------- > > Comment By: Andrew Stevens (acstevens) > Date: 2001-05-31 07:25 > > Message: > Logged In: YES > user_id=232706 > > Dossy, > > I built from source using gmake and gcc provided by cygnus. > Yes you are correct that it is a SPARC. My LD_LIBRARY_PATH > only has one thing in it for sybase: > "/opt/sybase/OCS-12_0/lib:" Do I need something in there for > AOLserver? > > Thanks, > > Andrew > > ---------------------------------------------------------------------- > > Comment By: Dossy Shiobara (dossy) > Date: 2001-05-30 18:42 > > Message: > Logged In: YES > user_id=21885 > > Did you build from source, or use a binary distribution? > > What is your LD_LIBRARY_PATH environment variable set to? > You can check by doing: > > $ echo $LD_LIBRARY_PATH > > I presume this is Solaris 8 on a SPARC, and not x86? Or, > am I wrong? -- Dossy > > ---------------------------------------------------------------------- > > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=203152&aid=428770&group_id= 3152 > > ------------------------------ > > End of AOLSERVER Digest - 30 May 2001 to 31 May 2001 (#2001-137) > **************************************************************** > >
