On 5/3/12 11:36 AM, Paul Gearon wrote:
> Hi,
>
> Since moving to Lion I haven't been able to use tcltk. I tried
> throwing out Fink and starting again,
Which is good, because we don't support upgrades to Lion.
but I've either inadvertently
> kept some configuration, or else there's a problem with the tcltk
> build script.
>
> Any attempts to install tcltk (or anything dependent on it) end up failing
> with:
>
(this appears to be from the Tk side of the house)
> checking for Tcl configuration... configure: error: Can't find Tcl
> configuration definitions. Use --with-tcl to specify a directory
> containing tclConfig.sh
> ### execution of /tmp/fink.KH6Bh failed, exit code 1
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-tcltk-8.5.10-5
> (Reading database ... 23359 files and directories currently installed.)
> Removing fink-buildlock-tcltk-8.5.10-5 ...
> Failed: phase compiling: tcltk-8.5.10-5 failed
>
>
> My system details are:
> Package manager version: 0.32.6
> Distribution version: selfupdate-rsync Thu May 3 13:39:07 2012, 10.7, x86_64
> Trees: local/main stable/main
> Xcode: 4.1
> Max. Fink build jobs: 1
>
>
> I've checked my system, and it contains tclConfig.sh in several
> places, including:
> /sw/src/fink.build/tcltk-8.5.10-3/tcl8.5.10/unix/tclConfig.sh
That's from an attempt at a prior revision of tcltk, and had _better_
not be seen by your current build. :-)
> /System/Library/Frameworks/Tcl.framework/Versions/8.4/tclConfig.sh
> /System/Library/Frameworks/Tcl.framework/Versions/8.5/tclConfig.sh
> /System/Library/Frameworks/Tcl.framework/tclConfig.sh
>
>
These are supposed to be ignored.
> I haven't yet had time to see where the configure script is looking,
> but intend to do that soon. However, since I shouldn't have to hack
> into it like that I'm hoping someone might have a suggestion for me
> please?
>
> Thanks in advance.
>
> Paul
>
I don't reproduce your error (OS 10.7.3, Xcode 4.3.2). At the same
point in the build I have:
checking for Tcl configuration... found
/sw/src/fink.build/tcltk-8.5.10-5/tcl8.5.10/unix/tclConfig.sh
checking for existence of
/sw/src/fink.build/tcltk-8.5.10-5/tcl8.5.10/unix/tclConfig.sh... loading
Check the beginning of your first build stage. (tcl). I have
...
patching file tk8.5.10/unix/tkConfig.sh.in
/tmp/fink.9m4TC
#!/bin/sh -ev
pushd tcl8.5.10/unix
/sw/src/fink.build/tcltk-8.5.10-5/tcl8.5.10/unix
/sw/src/fink.build/tcltk-8.5.10-5
export COMMAND_MODE=legacy
./configure --prefix=/sw --enable-shared
--disable-corefoundation
--exec-prefix=/sw --mandir=/sw/share/man --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib tcl_cv_type_64bit="long long"
PKG_CONFIG_PATH="/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/xft2/lib/pkgconfig:$PKG_CONFIG_PATH"
--build=x86_64-apple-darwin`uname -r|cut -f1 -d.`
--host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
uname -r|cut -f1 -d.
uname -r|cut -f1 -d.
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for x86_64-apple-darwin11-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dirent.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking values.h usability... no
checking values.h presence... no
checking for values.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking if the compiler understands -pipe... yes
checking for building with threads... no (default)
checking for sin... yes
checking for main in -lieee... no
checking for main in -linet... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking how to build libraries... shared
checking for x86_64-apple-darwin11-ranlib... no
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking if compiler supports visibility "hidden"... yes
checking if rpath support is requested... yes
checking system version... Darwin-11.3.0
checking for dlopen in -ldl... yes
checking for x86_64-apple-darwin11-ar... no
checking for ar... ar
checking if ld accepts -single_module flag... yes
awk: warning: escape sequence `\.' treated as plain `.'
awk: warning: escape sequence `\.' treated as plain `.'
checking if ld accepts -search_paths_first flag... yes
checking whether to use CoreFoundation... no
checking for build with symbols... no
checking for required early compiler flags... none
checking for 64-bit integer type... (cached) long long
checking for struct dirent64... no
checking for struct stat64... yes
checking for open64... no
checking for lseek64... no
checking for off64_t... no
checking whether byte ordering is bigendian... no
checking for getcwd... yes
checking for opendir... yes
checking for strtol... yes
checking for waitpid... yes
checking for strerror... yes
checking for getwd... yes
checking for wait3... yes
checking for uname... yes
checking for realpath... yes
checking for getaddrinfo... yes
checking for working getaddrinfo... yes
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking termios vs. termio vs. sgtty... termios
checking for fd_set in sys/types... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking for mktime... yes
checking tm_tzadj in struct tm... no
checking tm_gmtoff in struct tm... yes
checking long timezone variable... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_blksize... yes
checking for blkcnt_t... yes
checking for fstatfs... yes
checking for working memcmp... yes
checking for memmove... yes
checking for strstr... yes
checking proper strstr implementation... ok
checking for strtoul... yes
checking proper strtoul implementation... ok
checking for strtod... yes
checking proper strtod implementation... ok
checking for strtod... (cached) yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for socklen_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for opendir... (cached) yes
checking union wait... yes
checking for strncasecmp... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking for gettimeofday declaration... present
checking whether char is unsigned... no
checking signed char declarations... yes
checking for a putenv() that copies the buffer... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking whether to use nl_langinfo... yes
checking for chflags... yes
checking isnan... yes
checking for getattrlist... yes
checking copyfile.h usability... yes
checking copyfile.h presence... yes
checking for copyfile.h... yes
checking for copyfile... yes
checking AvailabilityMacros.h usability... yes
checking AvailabilityMacros.h presence... yes
checking for AvailabilityMacros.h... yes
checking if weak import is available... yes
checking if Darwin SUSv3 extensions are available... yes
checking for fts... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking system version... (cached) Darwin-11.3.0
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
checking whether to use dll unloading... yes
checking for timezone data... /usr/share/zoneinfo
checking whether to enable DTrace support... no
checking if the C stack grows upwards in memory... no
checking how to package libraries... shared library
configure: creating ./config.status
config.status: creating Tcl-Info.plist
config.status: creating Tclsh-Info.plist
config.status: creating Makefile
config.status: creating dltest/Makefile
config.status: creating tclConfig.sh
make
...
How does what your system shows differ?
--
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users