Tk Source Code

View Ticket
Login
Ticket UUID: 1519720
Title: Problem compiling tk8.5a4
Type: Bug Version: obsolete: 8.5a4
Submitter: pierre42 Created on: 2006-07-09 23:23:52
Subsystem: 84. Unix Build Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-11-23 06:24:45
Resolution: Works For Me Closed By: patthoyts
    Closed on: 2008-11-22 23:24:45
Description:
# make
gcc -pipe -c -O2 -s -O3 -march=i686 -Wall
-Wno-implicit-int -fPIC -I/tmp/tk8.5a4/unix/../unix
-I/tmp/tk8.5a4/unix/../generic
-I/tmp/tk8.5a4/unix/../bitmaps -I/tmp/tcl8.5a4/generic
-I/tmp/tcl8.5a4/unix -I/usr/X11R6/include
-DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\"
-DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1
-DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_PTHREAD_GETATTR_NP=1 -DGETATTRNP_NOT_DECLARED=1
-DTCL_THREADS=1 -DPEEK_XCLOSEIM=1
-DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_OPTIMIZED=1
-DTCL_CFG_DEBUG=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1
-DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DHAVE_XSS=1 -DHAVE_XFT=1     
-DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS 
/tmp/tk8.5a4/unix/../generic/tkMain.c
/tmp/tk8.5a4/unix/../generic/tkMain.c:23:20: tclInt.h:
No such file or directory
/tmp/tk8.5a4/unix/../generic/tkMain.c: In function
`Tk_MainEx':
/tmp/tk8.5a4/unix/../generic/tkMain.c:145: warning:
implicit declaration of function `Tcl_GetStartupScript'
/tmp/tk8.5a4/unix/../generic/tkMain.c:145: warning:
comparison between pointer and integer
/tmp/tk8.5a4/unix/../generic/tkMain.c:159: warning:
implicit declaration of function `Tcl_SetStartupScript'
/tmp/tk8.5a4/unix/../generic/tkMain.c:175: warning:
assignment makes pointer from integer without a cast
/tmp/tk8.5a4/unix/../generic/tkMain.c:256: warning:
assignment makes pointer from integer without a cast
make: *** [tkMain.o] Error 1


I have just installed tcl8.5a4
User Comments: pierre42 added on 2006-10-22 07:05:02:
Logged In: YES 
user_id=512388

Why does it need the sources ??

patthoyts added on 2006-10-16 22:04:35:
Logged In: YES 
user_id=202636

Try:
 mkdir /tmp/build/tcl ; mkdir /tmp/build/tk
 cd /tmp/build/tcl
 ../../tcl8.5a5/unix/configure
 make
 cd /tmp/build/tk
 ../../tk8.5a4/unix/configure --with-tcl=/tmp/build/tcl
 make

Tk must be told where the tcl sources were.