Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-07-17
05:56 • Closed ticket [582148ffff]: Tcl 8.4b1 doesn't compile on HP-UX 10.20 plu... artifact: 97edeefe4d user: mdejong
2002-07-16
09:08 • New ticket [582148ffff]. artifact: 2e9b3816fc user: nobody

Tcl 8.4b1 doesn't compile on HP-UX 10.20

Closed / Rejected582148ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-07-16 09:08:54
Commands executed:
    cd unix
    ./configure --prefix=/home/jbek --exec-
prefix=/home/jbek
        --bindir=/home/jbek/bin/hp700 --
sbindir=/home/jbek/bin/hp700
        --x-includes=/usr/include/X11R6 --x-
libraries=/usr/lib/X11R6
    make
    

Results:

1. cc: "../generic/tcl.h", line 378: error 1681: Must use 
+e or -Ae for
   long long in ANSI mode.
   This is fixed by adding "-Ae" to CFLAGS in the 
Makefile after "-Aa".

2. A lot of the following messages:
       cc: "../generic/../unix/tclUnixPort.h", line 377: 
warning 525:
       Redeclaration of identifier "fd_mask".
   This message occurs the first time while compiling
   "generic/tclAlloc.c".
   This is fixed by deleting "-DNO_FD_SET=1" in 
AC_FLAGS in the Makefile.

3. While compiling "unix/tclUnixFCmd.c":
       cpp: "tclUnixFCmd.c", line 56: error 4036: Can't 
open include
           file 'sys/statfs.h'.
   This is fixed by adding "-DNO_FSTATFS=1" to 
AC_FLAGS in the Makefile.

After this, Tcl 8.4b1 compiles and works fine.
mdejongplain2002-07-17 05:56:48
Logged In: YES 
user_id=90858

Closing since this bug report does not provide
enough info to be actionable. These defines
are created by automated tests in configure.in,
so they need to be fixed. Just adding some flags
to the Makefile does not help, I need the output
of these tests (config.log) at the very least.
Log in (anonymous is fine) to add a comment.