1. Successfully built Tcl8.4.4
2. Build of Tk8.4.4 failed with error message
<!--start error message--->
gcc -pipe tkAppInit.o \
-L/export/home/madhu/gnu/tk8.4.4/unix -ltk8.4 \
-F/export/home/madhu/gnu/tcl8.4.4/unix -
framework Tcl -lsocket -lpthread -L/usr/openwin/lib -
lX11 -ldl -lm -Wl,-R,/opt/ccl/gnu/lib:/usr/openwin/lib -o
wish
gcc: Tcl: No such file or directory
gcc: unrecognized option `-
F/export/home/madhu/gnu/tcl8.4.4/unix'
make: *** [wish] Error 1
<---end error message---!>
3. configured with command:
./configure --prefix=/opt/ccl/gnu --host=sparc-sun-
solaris2.8 --enable-threads --with-
tcl=/export/home/madhu/gnu/tcl8.4.4/unix
4 the Makefile generated contains
(on line 220)
TCL_LIB_SPEC = -
F/export/home/madhu/gnu/tcl8.4.4/unix -framework Tcl
(on line 231)
WISH_LIBS = $(TCL_LIB_SPEC) -lsocket -lpthread
$(X11_LIB_SWITCHES) -ldl -lm
(on line 424 )
wish: $(WISH_OBJS) $(TK_LIB_FILE)
$(TK_STUB_LIB_FILE)
$(CC) $(LDFLAGS) $(WISH_OBJS) \
-L/export/home/madhu/gnu/tk8.4.4/unix -
ltk8.4 \
$(WISH_LIBS) $(CC_SEARCH_FLAGS) -o wish
5. the "-framework Tcl' is being passed to gcc which
cribs that it cannot find the file "Tcl".
The config.log file generated by configure with options as said.
The makefile in question.
Logged In: YES
user_id=79902
It sounds like the option --enable-frameworks was passed to
configure. That is a *MacOSX only* option. No other
platform has frameworks. Please do a 'make distclean' and
then rerun configure making sure you do not include that
option. Your remake should then run smoothly. Only if it
still doesn't is there a problem for us to fix.