Tcl Source Code

View Ticket
Login
Ticket UUID: 844936
Title: tk8.4.4 build fails on sparc-sun-solaris2.8
Type: Bug Version: obsolete: 8.4.4
Submitter: hrmadhu Created on: 2003-11-19 05:51:17
Subsystem: 53. Configuration and Build Tools Assigned To: mdejong
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-11-19 21:05:40
Resolution: Invalid Closed By: dkf
    Closed on: 2003-11-19 14:05:40
Description:
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".
User Comments: dkf added on 2003-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.

hrmadhu added on 2003-11-19 12:58:50:

File Added - 67954: Makefile

hrmadhu added on 2003-11-19 12:51:17:

File Added - 67953: config.log

Attachments: