Print

Print


It's been a while since I've updated anything in my starlink source tree, 
but I needed to get the latest version of ast going. I'm using 64bit FC4.

I managed to get ast to build and install, but it broke my Gaia so I 
finally decided to try out the new version which requires the new tclsys.
I deleted tclsys completely from the thirdparty directory and did a fresh 
checkout, bootstrap, configure, make. It died here:

make[3]: Entering directory 
`/home/echapin/star-build/thirdparty/tclsys/tclx/tclx'
gcc -pipe -DPACKAGE_NAME=\"tclx\" -DPACKAGE_TARNAME=\"tclx\" 
-DPACKAGE_VERSION=\"8.4\" -DPACKAGE_STRING=\"tclx\ 8.4\" 
-DPACKAGE_BUGREPORT=\"\" -DFULL_VERSION=\"8.4.0\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 
-DHAVE_SYS_SELECT_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 
-DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 
-DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 
-DHAVE_TIMEZONE_VAR=1   -I"./generic" -I"./unix" -I"/stardev/include" 
-m64 -Wall -g -O2 -mtune=opteron -pipe -O2 -Wall -Wno-implicit-int -fPIC 
-c `echo ./generic/tclXbsearch.c` -o tclXbsearch.o
In file included from ./generic/tclExtdInt.h:31,
                  from ./generic/tclXbsearch.c:19:
./unix/tclXunixPort.h:46:25: error: tclUnixPort.h: No such file or 
directory
In file included from ./generic/tclXbsearch.c:19:
./generic/tclExtdInt.h:511: warning: ‘struct in_addr’ declared inside 
parameter list
./generic/tclExtdInt.h:511: warning: its scope is only this definition or 
declaration, which is probably not what you want
make[3]: *** [tclXbsearch.o] Error 1
make[3]: Leaving directory 
`/home/echapin/star-build/thirdparty/tclsys/tclx/tclx'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/echapin/star-build/thirdparty/tclsys/tclx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/echapin/star-build/thirdparty/tclsys'
make: *** [all-recursive] Error 1

Looks like a configure problem? I actually find the file that it tried to 
include:

[echapin@bends tclsys]$ find . -name tclUnixPort.h
./tcl/unix/tclUnixPort.h

cheers,
Ed

+----------------------------------------------------------------+
| Dr. Edward Chapin                       (604) 822-6709  (work) |
| Dept. of Physics and Astronomy          (604) 602-2382  (home) |
| University of British Columbia                                 |
| 6224 Agricultural Road, Vancouver, B.C.                        |
| V6T 1Z1, Canada                         [log in to unmask]    |
+----------------------------------------------------------------+