On Tue, 10 Aug 2004, Norman Gray wrote:
> > 3) Now failing in various ways to build tclsys/tcl/unix
>
>
> I don't know if that's supposed to be working or not.
It was last time I looked, but it looks like it has now broken.
Making files in the tcl/unix directory used to give me, e.g.:
cc -c -O -D__NO_STRING_INLINES -D__NO_MATH_INLINES -fPIC -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_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SHLIB_EXT=\".so\" ./../unix/tclMtherr.c
and it now gives me:
gcc -c -g -O2 -I/star/include -fPIC -I./../generic -I. -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.2.3\" -DPACKAGE_STRING=\"tcl\ 8.2.3\" -DPACKAGE_BUGREPORT=\"[log in to unmask]\" -DPACKAGE=\"tcl\" -DVERSION=\"8.2.3\" -DTCL_SHLIB_EXT=\".so\" ./../unix/tclMtherr.c
(which results in this particular case in an error:
./../unix/tclMtherr.c:38: redefinition of `struct exception'
which seems to result from lacking the -DNEED_MATHERR=1 def).
So it looks to me like running configure in the tcl/unix subdirectory
is taking place in accordance with the starconf-type autoconf setup,
when it ought to be ignoring all that and just running configure without
any reference to anything outside tcl/unix. I've tried removing
all the cache files I can think of and re-running tcl/unix/configure;
but it still gives me a makefile that contains
-DPACKAGE_BUGREPORT=\"[log in to unmask]\" etc so I'm obviously
missing something.
Norman, I think this looks like something wrong with the bootstrap or
configure files or something - can you take a look?
Cheers,
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|