./configure --enhable-gcc --disable-load --prefix=$dir
Problem :
./../unix/tclUnixInit.c
./../unix/tclUnixInit.c: In function 'TclpSetVariables':
./../unix/tclUnixInit.c:536: error: storage size of 'name' isn't known
./../unix/tclUnixInit.c:547: warning: implicit declaration of function 'uname'
./../unix/tclUnixInit.c:536: warning: unused variable 'name'
make: *** [tclUnixInit.o] Error 1
Solution:
Add -DNO_UNAME to your CFLAGS in the Makefile
cd $dir/lib
mv libtcl8.3.so libtcl8.3.a
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment