Re: [AOLSERVER] 8-bit character

2004-05-17 Thread Mark Page
The ns/encodings section was added with one of the 3.5.x releases.
Unfortunately, the config documents were not updated.  You can see an
example of it's use in the sample-config.tcl file.

Mark

Wei Shi wrote on 5/14/2004, 1:56 PM:

  I can not find ns/encodings section in AOLServer 4.0
  documents.  Do you mean ns/mimetypes?
 
  Thanks.
 
  Wei
 
  --- Mark Page [EMAIL PROTECTED] wrote:
   If you are using AOLserver 3.5 or 4.0, you can tell
   it, via
   configuration, what the character encoding of your
   source files are.
   This is described in the sample-config.tcl in top of
   the aolserver
   distribution tree.
   For example:
  
   ns_section ns/encodings
   ns_param   .utf_html   utf-8
   ns_param   .sjis_html  shiftjis
   ns_param   .gb_htmlgb2312
   ns_param   .big5_html  big5
   ns_param   .euc-cn_htmleuc-cn
  
   If all your .adp source files are GB-2312 encoded,
   you may just want to
   specify that like:
  
   ns_section ns/encodings
   ns_param .adp gd2312
  
   What's happening here, is that AOLserver, when it
   reads the specified
   file into memory in order to parse and interpret it,
   must first convert
   the text in the source file from it's native
   character encoding, into
   the internal text character encoding, e.g., UTF-8.
   If you don't
   specifically tell AOLserver what the native
   character encoding is, it
   will use Tcl's 'system' encoding.  Depending upon
   your environment
   settings, this may not be what you want/expect.  If
   your system is
   currently set to have system encoding == latin-1,
   for example, it would
   definitly get confused when encountering a
   multi-byte GB character.
  
   Wei Shi wrote on 5/14/2004, 11:32 AM:
  
 Hi, Does anyone know how AOLServer handles 8-bit
   characters in .adp file?
 For example, I have some Chinese characters in
   GB-2312 encoding.  Each
 word
 is two bytes, and both bytes are 8-bit chars.
   From the HTML stream I got
 for this .adp file, it looks like AOLServer
   altered these two bytes into
 some other values.

 Is AOLServer supposed to pass through all chars
   without any altercation
 even for 8-bit characters?  If there's some
   parsing/altercation going on,
 can we turn it off?

 Thanks.

 Wei


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an
   email to
 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the
   body of SIGNOFF AOLSERVER in the email message.
   You can leave the Subject: field of your email
  blank.
 
 
 
 
 
  __
  Do you Yahoo!?
  SBC Yahoo! - Internet access at a great low price.
  http://promo.yahoo.com/sbc/
 
 
  --
  AOLserver - http://www.aolserver.com/
 
  To Remove yourself from this list, simply send an email to
  [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] compiling nsjk2

2004-05-17 Thread Elizabeth Thomas
For ${apr.home} definied in your build.properties, does
${apr.home}/lib/libapr.so exist?  (you may need to create a softlink
from libapr-0.so.)

For better or worse, AOL doesn't provide binary distributions of
AOLserver and its modules externally.

-Elizabeth


Nathaniel H wrote on 5/14/04, 5:14 PM:

  I'm compiling nsjk2 but it always fails with
 
  [so] StdErr:
 [so] /usr/bin/ld: cannot find -lapr
 [so] collect2: ld returned 1 exit status
 
  BUILD FAILED
  /sm/src/nsjk2/build.xml:168: Following error occured while executing this
  line
  /sm/src/nsjk2/ant/jkjni/connector.xml:57: Following error occured while
  executing this line
  /sm/src/jakarta-tomcat-connectors/jk/native2/build.xml:341: Link failed
  libjkjni
 
  Total time: 30 seconds
 
  APR 0.9.4
  Tomcat 4.1.27
  nsjk2 1.3
  cvs :pserver:[EMAIL PROTECTED]:/home/cvspublic co -r TOMCAT_4_1_27
  jakarta-tomcat-connectors
 
  There is no binary distribution?
 
 
  --
  AOLserver - http://www.aolserver.com/
 
  To Remove yourself from this list, simply send an email to
  [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] Problem compiling aolserver on Solaris 9

2004-05-17 Thread Trenton Cameron
I tried that and tried again with both make and gmake and received the
same results any other ideas would be greatly appreciated.
Rob Crittenden wrote:
Try:
% export CC=gcc
% make clean all
rob
Trenton Cameron wrote:
Aolserver is not compiling for me on solaris 9.  The make and install of
tcl8.4.5 ran just fine. I am not getting an error message that I know
how to interpet.  I am getting the source for Aolserver 4.0r3. The ouput
from my ./configure and make follow
bash-2.05# ./configure --with-threads=/usr/local/lib
loading cache ./config.cache
checking for Tcl configuration... (cached) found
/usr/local/lib/tclConfig.sh
checking for existence of /usr/local/lib/tclConfig.sh... loading
checking for build with symbols... no
checking for timegm... (cached) no
checking for fork1... (cached) no
checking for poll... (cached) no
checking for drand48... (cached) no
checking for random... (cached) no
checking for _NSGetEnviron... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for mach-o/dyld.h... (cached) yes
checking for dl.h... (cached) yes
checking need for dup high... no
checking msg_controllen in struct msghdr... no
checking how to build server image... shared
creating ./config.status
creating include/Makefile.global
creating include/Makefile.module
bash-2.05# make
make[1]: Entering directory
`/usr/local/src/aolserver/aolserver/nsthread'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsthread'
make[1]: Entering directory `/usr/local/src/aolserver/aolserver/nsd'
gcc -pipe -O -Wall -Wconversion -Wno-implicit-int -fPIC  -I../include
-I/usr/local/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
-DUSE_DYLD=1 -DUSE_DLSHL=1  -DNsdInit=_init   -c -o adpcmds.o adpcmds.c
In file included from adpcmds.c:38:
nsd.h:67: warning: `POLLIN' redefined
/usr/include/sys/poll.h:37: warning: this is the location of the
previous definition
nsd.h:68: warning: `POLLOUT' redefined
/usr/include/sys/poll.h:39: warning: this is the location of the
previous definition
nsd.h:69: warning: `POLLPRI' redefined
/usr/include/sys/poll.h:38: warning: this is the location of the
previous definition
In file included from adpcmds.c:38:
nsd.h:70: redefinition of `struct pollfd'
adpcmds.c:36: warning: `RCSID' defined but not used
make[1]: *** [adpcmds.o] Error 1
make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsd'
make: *** [all] Error 1
I am not really sure where to go from here any help would be
appreciated. Thanks
  -Trenton Cameron
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] Problem compiling aolserver on Solaris 9

2004-05-17 Thread Patrick O'Leary
Had the same problem before

try
%make distclean
%export CC=gcc
  then the configure, you may need to remove a config.cache as well, be
sure to back it up first!

P


Trenton Cameron wrote on 17/05/2004, 16:29:

  I tried that and tried again with both make and gmake and received the
  same results any other ideas would be greatly appreciated.
  Rob Crittenden wrote:
 
   Try:
  
   % export CC=gcc
   % make clean all
  
   rob
  
   Trenton Cameron wrote:
  
   Aolserver is not compiling for me on solaris 9.  The make and
  install of
   tcl8.4.5 ran just fine. I am not getting an error message that I know
   how to interpet.  I am getting the source for Aolserver 4.0r3. The
  ouput
   from my ./configure and make follow
  
   bash-2.05# ./configure --with-threads=/usr/local/lib
   loading cache ./config.cache
   checking for Tcl configuration... (cached) found
   /usr/local/lib/tclConfig.sh
   checking for existence of /usr/local/lib/tclConfig.sh... loading
   checking for build with symbols... no
   checking for timegm... (cached) no
   checking for fork1... (cached) no
   checking for poll... (cached) no
   checking for drand48... (cached) no
   checking for random... (cached) no
   checking for _NSGetEnviron... (cached) no
   checking how to run the C preprocessor... (cached) cc -E
   checking for mach-o/dyld.h... (cached) yes
   checking for dl.h... (cached) yes
   checking need for dup high... no
   checking msg_controllen in struct msghdr... no
   checking how to build server image... shared
   creating ./config.status
   creating include/Makefile.global
   creating include/Makefile.module
  
   bash-2.05# make
   make[1]: Entering directory
   `/usr/local/src/aolserver/aolserver/nsthread'
   make[1]: Nothing to be done for `all'.
   make[1]: Leaving directory
  `/usr/local/src/aolserver/aolserver/nsthread'
   make[1]: Entering directory `/usr/local/src/aolserver/aolserver/nsd'
   gcc -pipe -O -Wall -Wconversion -Wno-implicit-int -fPIC  -I../include
   -I/usr/local/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
   -DUSE_DYLD=1 -DUSE_DLSHL=1  -DNsdInit=_init   -c -o adpcmds.o
  adpcmds.c
   In file included from adpcmds.c:38:
   nsd.h:67: warning: `POLLIN' redefined
   /usr/include/sys/poll.h:37: warning: this is the location of the
   previous definition
   nsd.h:68: warning: `POLLOUT' redefined
   /usr/include/sys/poll.h:39: warning: this is the location of the
   previous definition
   nsd.h:69: warning: `POLLPRI' redefined
   /usr/include/sys/poll.h:38: warning: this is the location of the
   previous definition
   In file included from adpcmds.c:38:
   nsd.h:70: redefinition of `struct pollfd'
   adpcmds.c:36: warning: `RCSID' defined but not used
   make[1]: *** [adpcmds.o] Error 1
   make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsd'
   make: *** [all] Error 1
  
  
   I am not really sure where to go from here any help would be
   appreciated. Thanks
 -Trenton Cameron
  
  
   --
   AOLserver - http://www.aolserver.com/
  
   To Remove yourself from this list, simply send an email to
   [EMAIL PROTECTED] 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
   [EMAIL PROTECTED] 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
  [EMAIL PROTECTED] with the
  body of SIGNOFF AOLSERVER in the email message. You can leave the
  Subject: field of your email blank.
 

--
Patrick O'Leary
Software Engineer, AOL UK

AOL (UK) Ltd.
80 Hammersmith Road, London W14 8UD
United Kingdom

email: [EMAIL PROTECTED]
URL: www.aol.co.uk

Tel: +44 (0) 20 7348 8462
Fax: +44 (0) 20 7348 8009

AOL UK's recommended destination for online giving: givenow.org

This email, its contents and any files transmitted with it are
confidential and may be legally privileged. It is intended solely for
the addressee(s) only. If you are not the intended recipient, you must

Re: [AOLSERVER] Problem compiling aolserver on Solaris 9

2004-05-17 Thread Barry Books
I think you have to do a make distclean or something like that. This url will tell 
you, unfortunatly I can't get to it right now

http://sourceforge.net/tracker/index.php?func=detailaid=800570group_id=3152atid=103152


On Monday, May 17, 2004, at 10:29AM, Trenton Cameron [EMAIL PROTECTED] wrote:

I tried that and tried again with both make and gmake and received the
same results any other ideas would be greatly appreciated.
Rob Crittenden wrote:

 Try:

 % export CC=gcc
 % make clean all

 rob

 Trenton Cameron wrote:

 Aolserver is not compiling for me on solaris 9.  The make and install of
 tcl8.4.5 ran just fine. I am not getting an error message that I know
 how to interpet.  I am getting the source for Aolserver 4.0r3. The ouput
 from my ./configure and make follow

 bash-2.05# ./configure --with-threads=/usr/local/lib
 loading cache ./config.cache
 checking for Tcl configuration... (cached) found
 /usr/local/lib/tclConfig.sh
 checking for existence of /usr/local/lib/tclConfig.sh... loading
 checking for build with symbols... no
 checking for timegm... (cached) no
 checking for fork1... (cached) no
 checking for poll... (cached) no
 checking for drand48... (cached) no
 checking for random... (cached) no
 checking for _NSGetEnviron... (cached) no
 checking how to run the C preprocessor... (cached) cc -E
 checking for mach-o/dyld.h... (cached) yes
 checking for dl.h... (cached) yes
 checking need for dup high... no
 checking msg_controllen in struct msghdr... no
 checking how to build server image... shared
 creating ./config.status
 creating include/Makefile.global
 creating include/Makefile.module

 bash-2.05# make
 make[1]: Entering directory
 `/usr/local/src/aolserver/aolserver/nsthread'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsthread'
 make[1]: Entering directory `/usr/local/src/aolserver/aolserver/nsd'
 gcc -pipe -O -Wall -Wconversion -Wno-implicit-int -fPIC  -I../include
 -I/usr/local/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
 -DUSE_DYLD=1 -DUSE_DLSHL=1  -DNsdInit=_init   -c -o adpcmds.o adpcmds.c
 In file included from adpcmds.c:38:
 nsd.h:67: warning: `POLLIN' redefined
 /usr/include/sys/poll.h:37: warning: this is the location of the
 previous definition
 nsd.h:68: warning: `POLLOUT' redefined
 /usr/include/sys/poll.h:39: warning: this is the location of the
 previous definition
 nsd.h:69: warning: `POLLPRI' redefined
 /usr/include/sys/poll.h:38: warning: this is the location of the
 previous definition
 In file included from adpcmds.c:38:
 nsd.h:70: redefinition of `struct pollfd'
 adpcmds.c:36: warning: `RCSID' defined but not used
 make[1]: *** [adpcmds.o] Error 1
 make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsd'
 make: *** [all] Error 1


 I am not really sure where to go from here any help would be
 appreciated. Thanks
   -Trenton Cameron


 --
 AOLserver - http://www.aolserver.com/

 To Remove yourself from this list, simply send an email to
 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] Problem compiling aolserver on Solaris 9

2004-05-17 Thread Trenton Cameron
That worked Thanks so much for all of the help everyone.
Patrick O'Leary wrote:
Had the same problem before
try
%make distclean
%export CC=gcc
 then the configure, you may need to remove a config.cache as well, be
sure to back it up first!
P
Trenton Cameron wrote on 17/05/2004, 16:29:
 I tried that and tried again with both make and gmake and received the
 same results any other ideas would be greatly appreciated.
 Rob Crittenden wrote:

  Try:
 
  % export CC=gcc
  % make clean all
 
  rob
 
  Trenton Cameron wrote:
 
  Aolserver is not compiling for me on solaris 9.  The make and
 install of
  tcl8.4.5 ran just fine. I am not getting an error message that I know
  how to interpet.  I am getting the source for Aolserver 4.0r3. The
 ouput
  from my ./configure and make follow
 
  bash-2.05# ./configure --with-threads=/usr/local/lib
  loading cache ./config.cache
  checking for Tcl configuration... (cached) found
  /usr/local/lib/tclConfig.sh
  checking for existence of /usr/local/lib/tclConfig.sh... loading
  checking for build with symbols... no
  checking for timegm... (cached) no
  checking for fork1... (cached) no
  checking for poll... (cached) no
  checking for drand48... (cached) no
  checking for random... (cached) no
  checking for _NSGetEnviron... (cached) no
  checking how to run the C preprocessor... (cached) cc -E
  checking for mach-o/dyld.h... (cached) yes
  checking for dl.h... (cached) yes
  checking need for dup high... no
  checking msg_controllen in struct msghdr... no
  checking how to build server image... shared
  creating ./config.status
  creating include/Makefile.global
  creating include/Makefile.module
 
  bash-2.05# make
  make[1]: Entering directory
  `/usr/local/src/aolserver/aolserver/nsthread'
  make[1]: Nothing to be done for `all'.
  make[1]: Leaving directory
 `/usr/local/src/aolserver/aolserver/nsthread'
  make[1]: Entering directory `/usr/local/src/aolserver/aolserver/nsd'
  gcc -pipe -O -Wall -Wconversion -Wno-implicit-int -fPIC  -I../include
  -I/usr/local/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
  -DUSE_DYLD=1 -DUSE_DLSHL=1  -DNsdInit=_init   -c -o adpcmds.o
 adpcmds.c
  In file included from adpcmds.c:38:
  nsd.h:67: warning: `POLLIN' redefined
  /usr/include/sys/poll.h:37: warning: this is the location of the
  previous definition
  nsd.h:68: warning: `POLLOUT' redefined
  /usr/include/sys/poll.h:39: warning: this is the location of the
  previous definition
  nsd.h:69: warning: `POLLPRI' redefined
  /usr/include/sys/poll.h:38: warning: this is the location of the
  previous definition
  In file included from adpcmds.c:38:
  nsd.h:70: redefinition of `struct pollfd'
  adpcmds.c:36: warning: `RCSID' defined but not used
  make[1]: *** [adpcmds.o] Error 1
  make[1]: Leaving directory `/usr/local/src/aolserver/aolserver/nsd'
  make: *** [all] Error 1
 
 
  I am not really sure where to go from here any help would be
  appreciated. Thanks
-Trenton Cameron
 
 
  --
  AOLserver - http://www.aolserver.com/
 
  To Remove yourself from this list, simply send an email to
  [EMAIL PROTECTED] 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
  [EMAIL PROTECTED] 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
 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] server crash on ns_respond

2004-05-17 Thread Dossy
On 2004.05.13, Alberto Marchesini [EMAIL PROTECTED] wrote:
 Hi all!
 I'm using aolserver 4.0.1 with tcl 8.4.5.
 Running this simple code in an adp page:
   ns_respond -status 505 -string internal error

 the server crash (connection thread crash, you can see [defunct] process
 with ps). Adding -type text/plain all is ok.

Does this crash if you define ns/mimetypes default param in your
config .tcl file?

I think if -type isn't specified and ns/mimetypes default isn't set,
ns_respond should throw a Tcl error.  Silently using text/plain as the
default if one isn't set doesn't seem like the right thing to do.

However, crashing the server if ns/mimetypes default isn't set *AND*
-type isn't passed is a bug.  That should be fixed: again, I think it
should throw a Tcl error.

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.


Re: [AOLSERVER] Intermittent hangs without a message

2004-05-17 Thread Dossy
On 2004.05.10, Fen Tamanaha [EMAIL PROTECTED] wrote:

 I recompiled using the patch you sent, but we're still getting
 AOLserver crashes which leave a lone unresponsive thread.  Do you think
 there's some other signal that's responsible besides SIGSEGV and SIGBUS?

I'm puzzled -- what OS/platform are you running on again?  Can you send
me a copy of your config .tcl file(s) with any sensitive information
removed?

-- Dossy

--
Dossy Shiobara   mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
  He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on. (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to [EMAIL PROTECTED] with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: field of 
your email blank.