You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by Simon Hefti <he...@netcetera.ch> on 2001/11/15 21:20:16 UTC
make_mod_websh.so (was: Re: open bug list / website)
David,
> Currently,
>
> make mod_websh.so
>
> seems to work ok, although the resulting shared lib segfaults
> Apache...
I am trying to look into that. While doing so, I stumbled over a
compile problem with our old Solaris cc (did not find the version
string real quick, but it is dated 1996):
cc -DVERSION=\"%%MAJOR_VERSION%%.%%MINOR_VERSION%%%%PATCHLEVEL%%\"
-DSYSV=1 -DUSE_TCL_STUBS=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=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
-DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1
-DHAVE_SIGNED_CHAR=1 -D_REENTRANT=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_FILIO_H=1
-I"/usr/local/tcl8.3.4/include/"
-I"/home/hefti/myprojects//installed/apache-1.3/include/" -O -KPIC
-c ../generic/script.c
"../generic/script.h", line 2: newline in string literal
gcc-2.95.2 has no problem with that. Then again, the configure script
does not figure out the compile/link settings properly, and linking
fails, again on Solaris-2.6.
Simon.
------------------------------------------------------------------------
Simon Hefti simon.hefti@netcetera.ch
Netcetera AG, 8040 Zuerich phone +41 1 247 79 47 fax +41 1 247 70 75
Re: make_mod_websh.so (was: Re: open bug list / website)
Posted by "David N. Welton" <da...@dedasys.com>.
Simon Hefti <he...@netcetera.ch> writes:
> "../generic/script.h", line 2: newline in string literal
> gcc-2.95.2 has no problem with that. Then again, the configure script
> does not figure out the compile/link settings properly, and linking
> fails, again on Solaris-2.6.
Tcl itself does this:
static char initScript[] = "if {[info proc tclInit]==\"\"} {\n\
proc tclInit {} {\n\
global tcl_libPath tcl_library errorInfo\n\
global env tclDefaultLibrary\n\
rename tclInit {}\n\
set errors {}\n\
set dirs {}\n\
...
I'll see about changing that in ours.
--
David N. Welton
Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org/
Personal: http://www.efn.org/~davidw/