From: Bernard D. <bde...@or...> - 2008-09-22 14:46:44
|
Hi, I'm having trouble compiling the Tcl framework on Leopard. I tried both 8.5.4 and 8.6a2 sources and for each I get an error because of the copyfile.h and sys/sdt.h header files. The configuration says that they are "present but cannot be compiled" and make fails with error "copyfile.h: No such file or directory". I see that copyfile.h is present in /usr/include so what give ? I've found nothing about this in the archives or with google. I'm certainly missing something. I append the stderr output below. I have the developer tools coming with Xcode 3.1.1. Thanks for any help, Bernard configure: WARNING: copyfile.h: present but cannot be compiled configure: WARNING: copyfile.h: check for missing prerequisite headers? configure: WARNING: copyfile.h: see the Autoconf documentation configure: WARNING: copyfile.h: section "Present But Cannot Be Compiled" configure: WARNING: copyfile.h: proceeding with the preprocessor's result configure: WARNING: copyfile.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------ ## configure: WARNING: ## Report this to the tcl lists. ## configure: WARNING: ## ------------------------------ ## configure: WARNING: sys/sdt.h: present but cannot be compiled configure: WARNING: sys/sdt.h: check for missing prerequisite headers? configure: WARNING: sys/sdt.h: see the Autoconf documentation configure: WARNING: sys/sdt.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/sdt.h: proceeding with the preprocessor's result configure: WARNING: sys/sdt.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------ ## configure: WARNING: ## Report this to the tcl lists. ## configure: WARNING: ## ------------------------------ ## /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../generic/ tclBasic.c: In function ‘PlugCoroutineChains’: /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../generic/ tclBasic.c:8160: warning: unused variable ‘interp’ /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../generic/ tclBasic.c: In function ‘PlugCoroutineChains’: /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../generic/ tclBasic.c:8160: warning: unused variable ‘interp’ /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXBundle.c: In function ‘Tcl_MacOSXOpenVersionedBundleResources’: /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXBundle.c:191: warning: ‘NSIsSymbolNameDefinedWithHint’ is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ mach-o/dyld.h:153) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXBundle.c:193: warning: ‘NSLookupAndBindSymbolWithHint’ is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ mach-o/dyld.h:161) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXBundle.c: In function ‘Tcl_MacOSXOpenVersionedBundleResources’: /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXBundle.c:191: warning: ‘NSIsSymbolNameDefinedWithHint’ is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ mach-o/dyld.h:153) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXBundle.c:193: warning: ‘NSLookupAndBindSymbolWithHint’ is deprecated (declared at /Developer/SDKs/MacOSX10.4u.sdk/usr/include/ mach-o/dyld.h:161) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:26:22:/Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/ unix/../macosx/tclMacOSXFCmd.c:26:22: error: copyfile.h: No such file or directory error: copyfile.h: No such file or directory /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c: In function ‘TclMacOSXCopyFileAttributes’:/Volumes/ mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/tclMacOSXFCmd.c: In function ‘TclMacOSXCopyFileAttributes’: /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: warning: implicit declaration of function ‘copyfile’ /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: warning: implicit declaration of function ‘copyfile’ /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: error: ‘COPYFILE_XATTR’ undeclared (first use in this function) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: error: ‘COPYFILE_XATTR’ undeclared (first use in this function) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: error: (Each undeclared identifier is reported only once /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: error: for each function it appears in.) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:395: error: ‘COPYFILE_NOFOLLOW_SRC’ undeclared (first use in this function) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: error: (Each undeclared identifier is reported only once /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:394: error: for each function it appears in.)/Volumes/ mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/tclMacOSXFCmd.c: 396: error: ‘COPYFILE_ACL’ undeclared (first use in this function) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:395: error: ‘COPYFILE_NOFOLLOW_SRC’ undeclared (first use in this function) /Volumes/mb2/Tcl/Tcl_Sources/8.6a2/tcl8.6a2/unix/../macosx/ tclMacOSXFCmd.c:396: error: ‘COPYFILE_ACL’ undeclared (first use in this function) lipo: can't open input file: /var/folders/Gf/Gf2WKjVxHSqmSJHzf0K+o+++ +TI/-Tmp-//ccfXXmx6.out (No such file or directory) make[3]: *** [tclMacOSXFCmd.o] Error 1 make[2]: *** [build-tcl] Error 2 make[1]: *** [tcl] Error 2 make: *** [develop] Error 2 |