Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP! problem trying to compile/install tcl 8.3.2 on hp-ux 11.0

Status
Not open for further replies.

RobJordan

MIS
Apr 3, 2001
296
US
Trying to compile tcl 8.3.2 on hp-ux 11.0
and running into errors.
I am a novice at compling applications.

Robert

root @ wwhq726a [/home/downloads/expect/tcl8.3.2/unix]
# ./configure
loading cache ./config.cache
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) cc -E
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
checking for building with threads... no (default)
checking for getcwd... (cached) yes
checking for opendir... (cached) yes
checking for strstr... (cached) yes
checking for strtol... (cached) yes
checking for tmpnam... (cached) yes
checking for waitpid... (cached) yes
checking for strerror... (cached) yes
checking for getwd... (cached) yes
checking for wait3... (cached) yes
checking for uname... (cached) yes
checking for realpath... (cached) yes
checking dirent.h... yes
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking termios vs. termio vs. sgtty... termios
checking fd_set and sys/select... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for sys/time.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for tm_zone in struct tm... (cached) no
checking for tzname... (cached) yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... no
checking long timezone variable... yes
checking for st_blksize in struct stat... (cached) yes
checking for fstatfs... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for memmove... (cached) yes
checking proper strstr implementation... yes
checking for strtoul... (cached) yes
checking for strtod... (cached) yes
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for opendir... (cached) yes
checking union wait... no
checking matherr support... no
checking for strncasecmp... (cached) yes
checking for BSDgettimeofday... (cached) no
checking for gettimeofday... (cached) yes
checking for gettimeofday declaration... present
checking whether char is unsigned... (cached) no
checking signed char declarations... no
checking for sin... (cached) no
checking for main in -lieee... (cached) no
checking for main in -linet... (cached) no
checking for net/errno.h... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... HP-UX-B.11.00
checking if gcc is being used... no (cc)
checking for dlopen in -ldl... (cached) no
checking for shl_load in -ldld... (cached) yes
checking for build with symbols... no
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) no
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking how to build libraries... shared
creating ./config.status
creating Makefile
creating tclConfig.sh


# make install
cc -c -O +z -I./../generic -I. -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_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".sl\" -DTCL_LIBRARY=\"/usr/local/lib/tcl8.3\" -DTCL_PACKAGE_PATH="\"/usr/local/lib\"" ./../unix/tclUnixInit.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.
rm -f libtcl8.3.sl
ld -b -o libtcl8.3.sl regcomp.o regexec.o regfree.o regerror.o tclAlloc.o tclAsync.o tclBasic.o tclBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o tclCompCmds.o tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o tclExecute.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o tclIndexObj.o tclInterp.o tclIo_O tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o tclListObj.o tclLiteral.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o tclPanic.o tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o tclProc.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o tclThread.o tclStubInit.o tclStubLib.o tclTimer.o tclUtf.o tclUtil.o tclVar.o tclMtherr.o tclUnixChan.o tclUnixEvent.o tclUnixFCmd.o tclUnixFile.o tclUnixPipe.o tclUnixSock.o tclUnixTime.o tclUnixInit.o tclUnixThrd.o tclUnixNotfy.o tclLoadShl.o
ld: Invalid loader fixup in text space needed in output file for symbol "$00000061" in input file: "regcomp.o". Make sure it was compiled with +z/+Z.
*** Error exit code 1

Stop.

Robert G. Jordan

Robert@JORDAN2000.com
Unix Sys Admin
Chicago, Illinois U.S.A.
[lightsaber]
 
Hi Robert,
Why don't you just download the precompile version of tcl?

Patel
 
Yes, I was able to install the precompiled version.
It would still be nice if someone could tell me
why the code compile failed. Many of the newer versions
are not available precompiled.

Robert Robert G. Jordan

Robert@JORDAN2000.com
Unix Sys Admin
Chicago, Illinois U.S.A.
[lightsaber]
 
Hi,

Try giving the ./configure options.

./configure --help

I could compile & install tcl8.3.2 on HPUX 11i.
Btw, has anybody tried compiling "tclreadline 2.1.0" and make it work with tcl8.3.2 ??

when I tried running the "pkg_mkIndex" on the tcl prompt to register the tclreadline package, tcl gives the error "Couldn't find procedure Tclreadline_Init"

regards,
Prakash
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top