I've unpacked the tclhttpd-3.0.2 bundle from dev.scriptics.com and have
run into a problem compiling. I've edit the CONFIG and MAKE scripts in
the build directory but when I compile I get the following errors:
george# ./MAKE
gcc -pipe -c -g -Wall -Wconversion -Wno-implicit-int -fPIC
-I../../generic -I.. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DTCL_THREADS=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" -DUSE_TCLALLOC=0
../../generic/tclAlloc.c
In file included from ../../generic/tclPort.h:27,
from ../../generic/tclAlloc.c:22:
../../generic/../unix/tclUnixPort.h:499: pthread.h: No such file or
directory
In file included from ../../generic/tclPort.h:27,
from ../../generic/tclAlloc.c:22:
../../generic/../unix/tclUnixPort.h:500: syntax error before `TclpMutex'
../../generic/../unix/tclUnixPort.h:500: warning: data definition has no
type or storage class
../../generic/../unix/tclUnixPort.h:501: syntax error before `*'
../../generic/../unix/tclUnixPort.h:502: syntax error before `*'
../../generic/../unix/tclUnixPort.h:503: syntax error before `*'
*** Error code 1
Stop.
gcc -pipe -c -g -Wall -Wconversion -Wno-implicit-int -fPIC
-I../../generic -I.. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DTCL_THREADS=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_GETCWD=1
-DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1
-DHAVE_WAITPID=1 -DNO_VALUES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1
-DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
-DNEED_MATHERR=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
-DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" -DUSE_TCLALLOC=0
../../generic/tclAlloc.c
In file included from ../../generic/tclPort.h:27,
from ../../generic/tclAlloc.c:22:
../../generic/../unix/tclUnixPort.h:499: pthread.h: No such file or
directory
In file included from ../../generic/tclPort.h:27,
from ../../generic/tclAlloc.c:22:
../../generic/../unix/tclUnixPort.h:500: syntax error before `TclpMutex'
../../generic/../unix/tclUnixPort.h:500: warning: data definition has no
type or storage class
../../generic/../unix/tclUnixPort.h:501: syntax error before `*'
../../generic/../unix/tclUnixPort.h:502: syntax error before `*'
../../generic/../unix/tclUnixPort.h:503: syntax error before `*'
*** Error code 1
Stop.
make: no target to make.
make: don't know how to make install. Stop
make: no target to make.
make: don't know how to make install. Stop
[: ==: unknown operand
cp: base64/*.n: No such file or directory
cp: cmdline/*.n: No such file or directory
cp: fileutil/*.n: No such file or directory
cp: mime/*.n: No such file or directory
george#
Whats going wrong?
Thanks
Ben Bogart