| Ticket UUID: | 1202951 | |||
| Title: | Problem compiling tk 8.5a2 | |||
| Type: | Bug | Version: | obsolete: 8.5a2 | |
| Submitter: | pierre42 | Created on: | 2005-05-16 16:46:45 | |
| Subsystem: | 84. Unix Build | Assigned To: | dgp | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2005-05-18 02:45:55 | |
| Resolution: | Invalid | Closed By: | dgp | |
| Closed on: | 2005-05-17 19:45:55 | |||
| Description: |
# make
gcc -pipe -c -O2 -s -O3 -march=i686 -Wall
-Wno-implicit-int -fno-strict-aliasing -fPIC
-I/tmp/tk8.5a2/unix -I/tmp/tk8.5a2/unix/../generic
-I/tmp/tk8.5a2/unix/../bitmaps -I/tmp/tcl8.5a2/generic
-I/tmp/tcl8.5a2/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
-DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1
-DUSE_THREAD_STORAGE=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
-DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1
-DHAVE_PTHREAD_GETATTR_NP=1 -DGETATTRNP_NOT_DECLARED=1
-DHAVE_READDIR_R=1 -DPEEK_XCLOSEIM=1
-DTCL_CFG_OPTIMIZED=1 -DTCL_CFG_DEBUG=1
-D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long
-DHAVE_STRUCT_STAT64=1 -DHAVE_TYPE_OFF64_T=1
-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1 -DHAVE_XFT=1 -DTCL_NO_DEPRECATED
-DUSE_TCL_STUBS /tmp/tk8.5a2/unix/../generic/tk3d.c
In file included from
/tmp/tk8.5a2/unix/../generic/tkPort.h:32,
from
/tmp/tk8.5a2/unix/../generic/tkInt.h:27,
from
/tmp/tk8.5a2/unix/../generic/tk3d.h:18,
from
/tmp/tk8.5a2/unix/../generic/tk3d.c:16:
/tmp/tk8.5a2/unix/tkUnixPort.h:224:20: tclInt.h: No
such file or directory
make: *** [tk3d.o] Error 1
| |||
| User Comments: |
dgp added on 2005-05-18 02:45:55:
Logged In: YES
user_id=80530
I offer you several options:
1) Keep the Tcl sources in place until
after you build/install Tk. Once both are
installed, you can remove sources for
both. This will definitely work.
2) Go ahead and delete the Tcl sources,
and when you configure Tk, use the
--with-tcl= option to tell Tk where the Tcl
file tclConfig.sh got installed. This might
work, but might not; doesn't get tested
regularly.
3) Skip all the headaches of building Tcl/Tk
and just get them in binary form as part of
ActiveTcl from:
www.activestate.com
If you can recommend any concrete changes
to the Tk README and other files to make this
more clear, please contribute them.
pierre42 added on 2005-05-18 02:37:28: Logged In: YES user_id=512388 After compiling and installing tcl successfully, I removed the directory containing the sources, as I do for any other software. Does the tcl installation need to keep the source directory on the system ? dgp added on 2005-05-17 09:51:41: Logged In: YES user_id=80530 I see in your report the option "-I/tmp/tcl8.5a2/generic" . That should be all that's needed to find the file /tmp/tcl8.5a2/generic/tclInt.h Did you unpack the Tcl source code distribution into the directory named /tmp/tcl8.5a2 ? Where is the file /tmp/tcl8.5a2/generic/tclInt.h ? It would help clarify things if you told us everything about your failed attempt to build Tcl/Tk. Where are the files; what options did you pass to configure; etc. ? pierre42 added on 2005-05-17 08:51:56: Logged In: YES user_id=512388 What do you mean by 'correct' ? I just installed tcl 8.5a2 before. dgp added on 2005-05-17 04:46:02: Logged In: YES user_id=80530 Did you pass the correct --with-tcl= argument to configure? | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki