Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1f2c86ea5c5d7a45a8d364485b67f798f45a4e9c
Ticket: 506393ffffffffffffffffffffffffffffffffff
Compile tcltk 8.3.4 on MacOSX
User & Date: nobody on 2002-01-21 11:27:33
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I have tried to compile tcltk 8.3.4 on MacOSX 10.1.2.
    I have encoutered the following problems.
    
    (1) I have to add the following line to Makefile after
    configure in order to compile.
    
    @@ -372,7 +373,7 @@
     # a shared library or non-shared library for Tk.
    
     ${TK_LIB_FILE}: ${OBJS}
    
     rm -f ${TK_LIB_FILE}
    
    -${SHLIB_LD} -o $@ ${OBJS} $(TK_LD_SEARCH_FLAGS) 
    
    -L$(TCL_BIN_DIR) $(TCL_STUB_LIB_FLAG) ${SHLIB_LD_LIBS}
    
    +${SHLIB_LD} -o $@ ${OBJS} $(TK_LD_SEARCH_FLAGS)
    -L$(TCL_BIN_DIR) $(TCL_STUB_LIB_FLAG) ${SHLIB_LD_LIBS}
    -L/usr/X11R6/lib -lX11 -ltcl8.3
            $(RANLIB) ${TK_LIB_FILE}
    (2)I could compile tcltk8.3.4 but there is still
    warning as follows.
    
    cc -pipe  tkAppInit.o
    -L/Users/kcg/scratch/GNU/tk8.3.4/unix -ltk8.3 
    -L/Users/kcg/scratch/GNU/tcl8.3.4/unix -ltcl8.3 
    -L/usr/X11R6/lib -lX11   -lc  -o wish
    
    /usr/bin/ld: warning multiple definitions of symbol
    _dataKey
    /Users/kcg/scratch/GNU/tk8.3.4/unix/libtk8.3.dylib(tkMain.o)
    definition of _dataKey
    /Users/kcg/scratch/GNU/tcl8.3.4/unix/libtcl8.3.dylib(tclMain.o)
    definition of _dataKey
    
    Is it OK?
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to: "Compile tcltk 8.3.4 on MacOSX"
  11. type changed to: "Bug"