Trying to install Trf on HP-UX 11.00
I installed ActvieTcl version 8.3.5.0 and that is OK
I'm trying to install trf2.1p2. I ran the configure script with
the following options:
--prefix=/usr/local/ActiveTcl
--enable-gcc
--enable-shared
The configure script seemed to go OK.
I get the following error when run make:
# make
gcc -DVERSION=\"2.1\" -DTRF_VERSION=\"2.1\" -
DWORDS_BIGENDIAN=1 -DSIZEOF_INT=4 -
DSIZEOF_LONG_INT=4 -DHAVE_LTOA=1 -DUSE_TC
L_STUBS=1 -DHAVE_ZLIB_H=1 -DHAVE_DLFCN_H=1 -
DHAVE_STDLIB_H=1 -
DCRYPT_LIB_NAME=\"libmd5crypt.sl\" -
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_S
YS_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 -D
HAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -
DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -
DHAVE_SIGNED_CHAR=1 -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE
_SYS_IOCTL_H=1
-I"/usr/local/ActiveTcl/include" -I/usr/local/ActiveTcl
/include -I
#==========================================
============================== -O +z -c
`echo ./generic/b
z2lib.c` -o bz2lib.o
gcc: argument to `-I' is missing
*** Error exit code 1
Stop.
Removed backslash from line 201 that defines
Trf_INCLUDES, but that didn't fix problem as -I was still
missing an arguement
line 201: removed backslash
Trf_INCLUDES = -I$(ZLIB_INCLUDE_DIR) \
-I$(SSL_INCLUDE_DIR) \
232 SSL_INCLUDE_DIR =
I removed the SSL_INCLUDE_DIR from Trf_INCLUDES
After setting Trf_INCLUDES to the following, I ran make
again and got the following error:
Not sure where to go from here???
Trf_INCLUDES = -I$(ZLIB_INCLUDE_DIR)
# make
gcc -DVERSION=\"2.1\" -DTRF_VERSION=\"2.1\" -
DWORDS_BIGENDIAN=1 -DSIZEOF_INT=4 -
DSIZEOF_LONG_INT=4 -DHAVE_LTOA=1 -DUSE_TC
L_STUBS=1 -DHAVE_ZLIB_H=1 -DHAVE_DLFCN_H=1 -
DHAVE_STDLIB_H=1 -
DCRYPT_LIB_NAME=\"libmd5crypt.sl\" -
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_S
YS_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 -D
HAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -
DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -
DHAVE_SIGNED_CHAR=1 -
D_XOPEN_SOURCE_EXTENDED=1 -DHAVE
_SYS_IOCTL_H=1
-I"/usr/local/ActiveTcl/include" -I/usr/local/ActiveTcl
/include -O +z -c `echo ./generic/bz2lib.c` -o bz2lib.o
gcc: cannot specify -o with -c or -S and multiple
compilations
*** Error exit code 1
Stop.
#
Logged In: YES
user_id=75003
Does the same happen when trying to build the CVS head ?
Note requirements of the head (not yet documented in
README :( ):
For building: zlibtcl (See tkimg, libz/tcl)
For testing: memchan
Note 2: Tk is not required!, nor is tkimg at large. Only the
samll part of tkim mentioned above has to be built, and is
independent of Tk.