tk8.4.4 build fails on sparc-sun-solaris2.8
Closed / Invalid844936ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-11-19 05:51:17
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".
hrmadhuplain2003-11-19 12:51:17
File Added - 67953: config.log
hrmadhuplain2003-11-19 12:58:50
File Added - 67954: Makefile
dkfplain2003-11-19 21:05:40
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.
Log in (anonymous is fine) to add a comment.
Attachments:
- Makefile [download] added by hrmadhu on 2003-11-19 12:58:50. [details]
- config.log [download] added by hrmadhu on 2003-11-19 12:51:17. [details]