-----Original Message----- From: Automatic digest processor [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 10:01 PM To: Recipients of AOLSERVER digests Subject: AOLSERVER Digest - 29 Dec 2002 to 30 Dec 2002 (#2002-280)
There are 8 messages totalling 430 lines in this issue. Topics of the day: 1. Problem with the compile 2. nspostgres 3.5 released. (2) 3. Rewrite URL module ready for review (2) 4. compile aolserver Solaris 9 SPARC (3) ---------------------------------------------------------------------- Date: Mon, 30 Dec 2002 09:50:18 EST From: Elizabeth Thomas <[EMAIL PROTECTED]> Subject: Re: Problem with the compile --part1_19b.e53d469.2b41b72a_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Perhaps you are linking with a tcl library that was not built with threads enabled? (need to specify --enable-threads when running the configure script when building tcl) -Elizabeth --part1_19b.e53d469.2b41b72a_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit <HTML><FONT FACE=arial,helvetica><BODY BGCOLOR="#ffffff"><FONT style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0"><BR> Perhaps you are linking with a tcl library that was not built with threads enabled? <BR> (need to specify --enable-threads when running the configure script when building tcl)<BR> <BR> -Elizabeth</FONT></HTML> --part1_19b.e53d469.2b41b72a_boundary-- ------------------------------ Date: Mon, 30 Dec 2002 11:23:46 -0700 From: Wes James <[EMAIL PROTECTED]> Subject: Re: nspostgres 3.5 released. So should I use the nspostgres 3.5 or the postgres driver at openacs? wj ------------------------------ Date: Mon, 30 Dec 2002 10:32:31 -0800 From: Tom Jackson <[EMAIL PROTECTED]> Subject: Re: nspostgres 3.5 released. Wes, The nspostgres-3.5 driver at the AOLserver SourceForge site is the most current. Right now the only difference between the SF version and the OpenACS cvs version is an improved makefile in the SF version. --Tom Jackson Wes James wrote: >So should I use the nspostgres 3.5 or the postgres driver at openacs? > > ------------------------------ Date: Mon, 30 Dec 2002 12:24:42 -0800 From: Tom Jackson <[EMAIL PROTECTED]> Subject: Rewrite URL module ready for review Rob Mayoff's original nsrewrite module now has documentation on use. I would like to add this to the list of AOLserver modules available from SourceForge, assuming there is interest. Anyone wishing to review the files in this module can visit the temporary home at: http://zmbh.com/nsrewrite/ Please post any questions or problems to the AOLserver list. The demonstration module is running at http://zmbh.com:8888/ --Tom Jackson ------------------------------ Date: Mon, 30 Dec 2002 15:58:00 -0500 From: Stefan Parvu <[EMAIL PROTECTED]> Subject: compile aolserver Solaris 9 SPARC Hello, I am trying to learn aolserver. First I got the source code and tried to compile: the compilation ended with errors. I am using Solaris 9, SPARC with Sun's compiler cc. I tried with gcc compiler but with the same results. jupiter 2032 $ uname -a SunOS jupiter 5.9 Generic_112233-02 sun4u sparc SUNW,Ultra-5_10 jupiter 1083 $ CC=cc; export CC jupiter 1084 $ ./configure --prefix=/export/home/stefan/tcltk --with-tcl=/export/home/stefan/tcltk/lib --enable-threads checking for Tcl configuration... found /export/home/stefan/tcltk/lib/tclConfig.sh checking for existence of /export/home/stefan/tcltk/lib/tclConfig.sh... loading checking for build with symbols... no checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... no checking whether cc accepts -g... yes checking for timegm... no checking for fork1... yes checking for poll... yes checking for drand48... yes checking for random... yes checking for _NSGetEnviron... no checking how to run the C preprocessor... cc -E checking for mach-o/dyld.h... no checking for dl.h... no checking need for dup high... yes checking msg_controllen in struct msghdr... no configure: creating ./config.status config.status: creating include/Makefile.global config.status: creating include/Makefile.module ### What is this ... checking for _NSGetEnviron... no ??? Then I started gmake: $ gmake ... ... cc -O -KPIC -I../include -I/export/home/stefan/tcltk/include -DNO_CONST -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_FORK1=1 -DHAVE_POLL=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DUSE_DUPHIGH=1 -c -o tclenv.o tclenv.c "tclenv.c", line 87: warning: implicit function declaration: Ns_GetEnviron "tclenv.c", line 87: warning: improper pointer/integer combination: op "=" "tclenv.c", line 225: identifier redeclared: Ns_GetEnviron current : function(void) returning pointer to pointer to char previous: function() returning int : "tclenv.c", line 87 cc: acomp failed for tclenv.c gmake[1]: *** [tclenv.o] Error 2 gmake[1]: Leaving directory `/export/home/stefan/aolserver-3.5.1-src/nsd' gmake: *** [all] Error 1 Some ideas what is going wrong ? Thanks a lot stefan ------------------------------ Date: Mon, 30 Dec 2002 22:31:47 +0100 From: Wojciech Kocjan <[EMAIL PROTECTED]> Subject: Re: Rewrite URL module ready for review Tom Jackson wrote: > Rob Mayoff's original nsrewrite module now has documentation on use. > > I would like to add this to the list of AOLserver modules available from > SourceForge, assuming there is interest. Anyone wishing to review the > files in this module can visit the temporary home at: Here's something also worth interesting: http://www.dq-e.com/nsdqe/nsdqe-1.0.tar.gz (no HTML page about it at the moment, sorry) Besides nssmartvh-like vhosting, it also has filters, which allow doing cool stuff like rewriting /getpdf/somefile.pdf to /__tcl/getpdf/somefile.pdf I use it along with a module that adds ns_register_proc to __tcl, which calls a .tcl file in the webroot directory (which is hostname-dependant :)... It also features neat stuff like sessions written in C and some other utilities. -- WK (written at Stardate 56997.9) "Data typing is an illusion. Everything is a sequence of bytes." -Todd Coram ------------------------------ Date: Mon, 30 Dec 2002 19:43:19 -0500 From: Marc Spitzer <[EMAIL PROTECTED]> Subject: Re: compile aolserver Solaris 9 SPARC I have never had any problem using gcc, solaris and freebsd. marc On Mon, 30 Dec 2002 15:58:00 -0500 Stefan Parvu <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to learn aolserver. First I got the source code and tried to > compile: > > the compilation ended with errors. I am using Solaris 9, SPARC with Sun's > compiler cc. I tried with gcc compiler but with the same results. > > jupiter 2032 $ uname -a > SunOS jupiter 5.9 Generic_112233-02 sun4u sparc SUNW,Ultra-5_10 > > jupiter 1083 $ CC=cc; export CC > > > jupiter 1084 $ ./configure --prefix=/export/home/stefan/tcltk > --with-tcl=/export/home/stefan/tcltk/lib --enable-threads > checking for Tcl configuration... found > /export/home/stefan/tcltk/lib/tclConfig.sh > checking for existence of /export/home/stefan/tcltk/lib/tclConfig.sh... loading > checking for build with symbols... no > checking for gcc... cc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for executable suffix... > checking for object suffix... o > checking whether we are using the GNU C compiler... no > checking whether cc accepts -g... yes > checking for timegm... no > checking for fork1... yes > checking for poll... yes > checking for drand48... yes > checking for random... yes > checking for _NSGetEnviron... no > checking how to run the C preprocessor... cc -E > checking for mach-o/dyld.h... no > checking for dl.h... no > checking need for dup high... yes > checking msg_controllen in struct msghdr... no > configure: creating ./config.status > config.status: creating include/Makefile.global > config.status: creating include/Makefile.module > > ### What is this ... checking for _NSGetEnviron... no ??? > > Then I started gmake: > > $ gmake > > ... > ... > > cc -O -KPIC -I../include -I/export/home/stefan/tcltk/include -DNO_CONST > -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 > -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 > -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 > -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 > -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 > -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 > -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 > -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 > -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 > -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 > -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 > -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_FORK1=1 -DHAVE_POLL=1 > -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DUSE_DUPHIGH=1 -c -o tclenv.o tclenv.c > "tclenv.c", line 87: warning: implicit function declaration: Ns_GetEnviron > "tclenv.c", line 87: warning: improper pointer/integer combination: op "=" > "tclenv.c", line 225: identifier redeclared: Ns_GetEnviron > current : function(void) returning pointer to pointer to char > previous: function() returning int : "tclenv.c", line 87 > cc: acomp failed for tclenv.c > gmake[1]: *** [tclenv.o] Error 2 > gmake[1]: Leaving directory `/export/home/stefan/aolserver-3.5.1-src/nsd' > gmake: *** [all] Error 1 > > > Some ideas what is going wrong ? > > Thanks a lot > stefan ------------------------------ Date: Mon, 30 Dec 2002 19:00:07 -0600 From: "Scott S. Goodwin" <[EMAIL PROTECTED]> Subject: Re: compile aolserver Solaris 9 SPARC Try setting CC=gcc. If you don't have GNU C installed on your Solaris system, get it from ftp://gatekeeper.dec.com/pub/GNU/gcc. I would suggest using gcc-2.95.3 rather than 3.x. /s. ----------------------------------------------------------------------- Scott S. Goodwin e: [EMAIL PROTECTED] | u: http://scottg.net aim: scottgnet ----- Original Message ----- From: "Stefan Parvu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 2:58 PM Subject: [AOLSERVER] compile aolserver Solaris 9 SPARC > Hello, > > I am trying to learn aolserver. First I got the source code and tried to > compile: > > the compilation ended with errors. I am using Solaris 9, SPARC with Sun's > compiler cc. I tried with gcc compiler but with the same results. > > jupiter 2032 $ uname -a > SunOS jupiter 5.9 Generic_112233-02 sun4u sparc SUNW,Ultra-5_10 > > jupiter 1083 $ CC=cc; export CC > > > jupiter 1084 $ ./configure --prefix=/export/home/stefan/tcltk > --with-tcl=/export/home/stefan/tcltk/lib --enable-threads > checking for Tcl configuration... found > /export/home/stefan/tcltk/lib/tclConfig.sh > checking for existence of /export/home/stefan/tcltk/lib/tclConfig.sh... loading > checking for build with symbols... no > checking for gcc... cc > checking for C compiler default output... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for executable suffix... > checking for object suffix... o > checking whether we are using the GNU C compiler... no > checking whether cc accepts -g... yes > checking for timegm... no > checking for fork1... yes > checking for poll... yes > checking for drand48... yes > checking for random... yes > checking for _NSGetEnviron... no > checking how to run the C preprocessor... cc -E > checking for mach-o/dyld.h... no > checking for dl.h... no > checking need for dup high... yes > checking msg_controllen in struct msghdr... no > configure: creating ./config.status > config.status: creating include/Makefile.global > config.status: creating include/Makefile.module > > ### What is this ... checking for _NSGetEnviron... no ??? > > Then I started gmake: > > $ gmake > > ... > ... > > cc -O -KPIC -I../include -I/export/home/stefan/tcltk/include -DNO_CONST > -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 > -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 > -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 > -DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 > -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 > -DHAVE_STRTOLL=1 -DHAVE_STRTOULL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 > -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 > -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 > -DHAVE_LOCALTIME_R=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 > -Dstrtod=fixstrtod -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 > -DHAVE_LANGINFO=1 -D_REENTRANT=1 -D_POSIX_PTHREAD_SEMANTICS=1 > -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DHAVE_FORK1=1 -DHAVE_POLL=1 > -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DUSE_DUPHIGH=1 -c -o tclenv.o tclenv.c > "tclenv.c", line 87: warning: implicit function declaration: Ns_GetEnviron > "tclenv.c", line 87: warning: improper pointer/integer combination: op "=" > "tclenv.c", line 225: identifier redeclared: Ns_GetEnviron > current : function(void) returning pointer to pointer to char > previous: function() returning int : "tclenv.c", line 87 > cc: acomp failed for tclenv.c > gmake[1]: *** [tclenv.o] Error 2 > gmake[1]: Leaving directory `/export/home/stefan/aolserver-3.5.1-src/nsd' > gmake: *** [all] Error 1 > > > Some ideas what is going wrong ? > > Thanks a lot > stefan > > ------------------------------ End of AOLSERVER Digest - 29 Dec 2002 to 30 Dec 2002 (#2002-280) ****************************************************************