Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

obsolete: 8.4b1
closed-rejected
Mo DeJong
5
2002-07-16
2002-07-16
Anonymous
No

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.

Discussion

  • Mo DeJong
    Mo DeJong
    2002-07-16

    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.

     
  • Mo DeJong
    Mo DeJong
    2002-07-16

    • status: open --> closed-rejected