|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
Error compiling tk 8.5.7 on Mac OS X 10.5Hi folks,
I'm trying to compile tcl/tk on my mac. tcl compiled and installed with no problems. tk fails with the following error: /Users/adam/Downloads/tk8.5.7/unix/../generic/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5 I'm trying to compile in the macosx directory using: ./configure --enable-framework --disable-xft make Google pointed me to this post: http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-12/msg00519.html and in turn this wiki article: http://wiki.tcl.tk/12987 but I had no luck trying the following: ./configure --enable-framework --disable-xft --with-tcl=/Users/adam/Downloads/tcl8.5.7/macosx make and variations upon: ln -fs /Users/adam/Downloads/tcl8.5.7/macosx/buildtcltk/ /Users/adam/Downloads/tk8.5.7/macosx/buildtcltk So, can anyone tell me what I'm missing? Thanks, Adam ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5Adam Ginsburg wrote:
> Hi folks, > I'm trying to compile tcl/tk on my mac. tcl compiled and installed > with no problems. tk fails with the following error: > > /Users/adam/Downloads/tk8.5.7/unix/../generic/tk.h:23:3: error: #error > Tk 8.5 must be compiled with tcl.h from Tcl 8.5 > > I'm trying to compile in the macosx directory using: > ./configure --enable-framework --disable-xft > make > > Google pointed me to this post: > http://coding.derkeiler.com/Archive/Tcl/comp.lang.tcl/2008-12/msg00519.html > and in turn this wiki article: > http://wiki.tcl.tk/12987 > > but I had no luck trying the following: > ./configure --enable-framework --disable-xft > --with-tcl=/Users/adam/Downloads/tcl8.5.7/macosx > make > > and variations upon: > ln -fs /Users/adam/Downloads/tcl8.5.7/macosx/buildtcltk/ > /Users/adam/Downloads/tk8.5.7/macosx/buildtcltk > > So, can anyone tell me what I'm missing? > > Thanks, > Adam > Are you trying to build the native Aqua version or an X11 version? --enable-framework is for Aqua, and the XFT flag is for X11. If you're building Aqua, cd to the toplevel of your source tree (the one with both tcl and tk) and run make -C tcl/macosx and make -C tk/macosx (adjust the directory names as required). If you're building X11, run ./configure etc. from the Unix directory of both source trees. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5Thanks Kevin. I was trying to do either and/or both; whatever works
(I have some other code telling me I need to install tcl/tk from source but I don't know if aqua or X11 is the way to go). The unix install worked. The mac install did not. If I try make -C tcl/macosx & make -C tk/macosx, I run into the same error as before: In file included from /Users/adam/Downloads/tk8.5.7/unix/../generic/tkInt.h:21, from /Users/adam/Downloads/tk8.5.7/unix/../generic/tk3d.c:16: /Users/adam/Downloads/tk8.5.7/unix/../generic/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5 make[3]: *** [tk3d.o] Error 1 make[2]: *** [build-tk] Error 2 make[1]: *** [tk] Error 2 make: *** [develop] Error 2 Adam ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5Adam Ginsburg wrote:
> Thanks Kevin. I was trying to do either and/or both; whatever works > (I have some other code telling me I need to install tcl/tk from > source but I don't know if aqua or X11 is the way to go). > > The unix install worked. The mac install did not. > > If I try make -C tcl/macosx & make -C tk/macosx, I run into the same > error as before: > In file included from /Users/adam/Downloads/tk8.5.7/unix/../generic/tkInt.h:21, > from /Users/adam/Downloads/tk8.5.7/unix/../generic/tk3d.c:16: > /Users/adam/Downloads/tk8.5.7/unix/../generic/tk.h:23:3: error: #error > Tk 8.5 must be compiled with tcl.h from Tcl 8.5 > make[3]: *** [tk3d.o] Error 1 > make[2]: *** [build-tk] Error 2 > make[1]: *** [tk] Error 2 > make: *** [develop] Error 2 > > Adam > > Very odd. Did you have Tcl 8.5 in the same source tree as Tk 8.5? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5On 01/06/2009, at 1:13, Kevin Walzer wrote: > Adam Ginsburg wrote: >> Thanks Kevin. I was trying to do either and/or both; whatever works >> (I have some other code telling me I need to install tcl/tk from >> source but I don't know if aqua or X11 is the way to go). >> >> The unix install worked. The mac install did not. FWIW, the unix install is the mac install... all the makefiles in macosx do is wrap the unix configure/make and set common configure flags and make overrides (and for embedded installs they do some postprocessing) configure --help and the macosx/README tells you about the available configure options. Not all combinations are valid (but X11 with -- enable-framework is) >> >> If I try make -C tcl/macosx & make -C tk/macosx, I run into the same >> error as before: >> In file included from /Users/adam/Downloads/tk8.5.7/unix/../generic/ >> tkInt.h:21, >> from /Users/adam/Downloads/tk8.5.7/unix/../generic/ >> tk3d.c:16: >> /Users/adam/Downloads/tk8.5.7/unix/../generic/tk.h:23:3: error: >> #error >> Tk 8.5 must be compiled with tcl.h from Tcl 8.5 you're pickup up the OS provided tcl 8.4 headers, probably because you are not following the instructions in tk/macosx/README correctly... Cheers, Daniel -- ** Daniel A. Steffen ** ** <mailto:das@...> ** ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5Re: Kevin - Yes, I extracted both .gz files into my ~/Downloads/
directory and ran make -C (tcl|tk)8.5.7/macosx/ from there > FWIW, the unix install is the mac install... all the makefiles in macosx do > is wrap the unix configure/make and set common configure flags and make > overrides (and for embedded installs they do some postprocessing) > > configure --help and the macosx/README tells you about the available > configure options. Not all combinations are valid (but X11 with > --enable-framework is) OK, that's helpful. Presumably, though, that means that some configure flag is causing the problems I'm running in to? > you're pickup up the OS provided tcl 8.4 headers, probably because you are > not following the instructions in tk/macosx/README correctly... I removed my source directories and re-extracted them to have a clean go at this. export ver="8.5.7" make -C tcl8.5.7/macosx/ make -C tk8.5.7/macosx/ leads to error: make tk \ BUILD_STYLE=Development CONFIGURE_ARGS=--enable-symbols make install-tk INSTALL_ROOT="/Users/adam/Downloads/tk8.5.7/macosx/../../build/tk/Development/" make -C "/Users/adam/Downloads/tk8.5.7/macosx/../../build/tk/Development" all tktest INSTALL_ROOT='/Users/adam/Downloads/tk8.5.7/macosx/../../build/tk/Development/' INSTALL_TARGETS='install-binaries install-libraries install-private-headers install-demos' VERSION='8.5' gcc -c -g -pipe -fpascal-strings -Wall -fno-common -I/Users/adam/Downloads/tk8.5.7/unix/../unix -I/Users/adam/Downloads/tk8.5.7/unix/../generic -I/Users/adam/Downloads/tk8.5.7/unix/../bitmaps -I/Users/andreask/dbn/lba/night/builds/macosx-ix86/tcl/generic -I/Users/andreask/dbn/lba/night/builds/macosx-ix86/tcl/unix -I/Users/adam/Downloads/tk8.5.7/unix/../macosx -I/Users/adam/Downloads/tk8.5.7/unix/../xlib -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_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DMAC_OSX_TK=1 -DTK_MAC_DEBUG=1 -DTK_FRAMEWORK=1 -DTCL_NO_DEPRECATED -DTK_FRAMEWORK_VERSION=\"8.5\" -DUSE_TCL_STUBS /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:22:20: error: tclInt.h: No such file or directory /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c: In function 'Tk_MainEx': /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:129: warning: implicit declaration of function 'Tcl_GetStartupScript' /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:129: warning: comparison between pointer and integer /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:144: warning: comparison between pointer and integer /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:158: warning: implicit declaration of function 'Tcl_SetStartupScript' /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:174: warning: assignment makes pointer from integer without a cast /Users/adam/Downloads/tk8.5.7/unix/../generic/tkMain.c:269: warning: assignment makes pointer from integer without a cast {standard input}:806:non-relocatable subtraction expression, "_dataKey" minus "L00000000002$pb" {standard input}:806:symbol: "_dataKey" can't be undefined in a subtraction expression {standard input}:100:non-relocatable subtraction expression, "_dataKey" minus "L00000000001$pb" {standard input}:100:symbol: "_dataKey" can't be undefined in a subtraction expression make[3]: *** [tkMain.o] Error 1 make[2]: *** [build-tk] Error 2 make[1]: *** [tk] Error 2 make: *** [develop] Error 2 so... hey, at least it's a new error. I think I was following the directions in the README correctly, but I used different ./configure options because someone else told me to (I'm trying to install tcl/tk so I can get sage to recognize it...) Thanks, Adam ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5On 01/06/2009, at 16:07, Adam Ginsburg wrote: >> you're pickup up the OS provided tcl 8.4 headers, probably because >> you are >> not following the instructions in tk/macosx/README correctly... > > I removed my source directories and re-extracted them to have a clean > go at this. make sure you also remove the build directory created parallel to the source directories > export ver="8.5.7" > make -C tcl8.5.7/macosx/ > make -C tk8.5.7/macosx/ this works 100% fine for me, just verified on a stock 10.5 box: $ curl -O 'http://osdn.dl.sourceforge.net/sourceforge/tcl/t{cl,k}8.5.7- src.tar.gz' $ for f in *.gz; do tar zxf $f; done $ make -j 4 -C tcl8.5.7/macosx && make -j 4 -C tk8.5.7/macosx > make tk \ > BUILD_STYLE=Development CONFIGURE_ARGS=--enable-symbols > make install-tk > INSTALL_ROOT="/Users/adam/Downloads/tk8.5.7/macosx/../../build/tk/ > Development/" > make -C "/Users/adam/Downloads/tk8.5.7/macosx/../../build/tk/ > Development" > all tktest INSTALL_ROOT='/Users/adam/Downloads/tk8.5.7/macosx/../../ > build/tk/Development/' > INSTALL_TARGETS='install-binaries install-libraries > install-private-headers install-demos' VERSION='8.5' > gcc -c -g -pipe -fpascal-strings -Wall -fno-common > -I/Users/adam/Downloads/tk8.5.7/unix/../unix > -I/Users/adam/Downloads/tk8.5.7/unix/../generic > -I/Users/adam/Downloads/tk8.5.7/unix/../bitmaps > -I/Users/andreask/dbn/lba/night/builds/macosx-ix86/tcl/generic > -I/Users/andreask/dbn/lba/night/builds/macosx-ix86/tcl/unix these two lines are the problem, they indicate something is different from what you mention above, they should say: -I/Users/adam/Downloads/tcl8.5.7/generic -I/Users/adam/Downloads/tcl8.5.7/unix somehow tk configure is picking up tcl from a different location than ~/Downloads/tcl8.5.7, from the looks of things from an ActiveTcl install (built by andreask) probably in /Library/Frameworks check the top of the Tk configure message, it should say checking for Tcl configuration... found /Users/adam/Downloads/build/ tcl/Development/tclConfig.sh checking for existence of /Users/adam/Downloads/build/tcl/Development/ tclConfig.sh... loading > I think I was following the > directions in the README correctly, but I used different ./configure > options because someone else told me to (I'm trying to install tcl/tk > so I can get sage to recognize it...) the way to add configure options with the macosx makefiles is to use the EXTRA_CONFIGURE_ARGS make override (or you could just use the unix buildsystem directly and skip the macosx makefiles) Cheers, Daniel -- ** Daniel A. Steffen ** ** <mailto:das@...> ** ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5Thanks Daniel. You're quite right that I had been forgetting to
delete the build/ directory. I discovered that a few minutes before your e-mail arrived and was able to successfully compile.... However, I still can't get tk to compile 64 bit: eta ~/Downloads$ file build/tk/Tk.framework/Versions/Current/Tk build/tk/Tk.framework/Versions/Current/Tk: Mach-O dynamically linked shared library i386 despite re-configuring with the --enable-64-bit flag. But I'm going to go back and try doing this with EXTRA_CONFIGURE_ARGS and/or not using the macosx/ version. Adam ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5On 01/06/2009, at 22:43, Adam Ginsburg wrote: > Thanks Daniel. You're quite right that I had been forgetting to > delete the build/ directory. I discovered that a few minutes before > your e-mail arrived and was able to successfully compile.... > > However, I still can't get tk to compile 64 bit: > eta ~/Downloads$ file build/tk/Tk.framework/Versions/Current/Tk > build/tk/Tk.framework/Versions/Current/Tk: Mach-O dynamically linked > shared library i386 Tk configured with --enable-aqua does not support 64bit in the current mainline release, you need the TkCocoa port for that, see recent posts on this list for details: http://github.com/das/tcltk/tree/de-carbon http://cloud.github.com/downloads/das/tcltk/tk8.5.7-decarbon.tar.gz Tk configured for X11 does support 64bit (as long as you OS version has 64bit X11) > despite re-configuring with the --enable-64-bit flag. > > But I'm going to go back and try doing this with EXTRA_CONFIGURE_ARGS > and/or not using the macosx/ version. if you like you can also use the macosx makefiles to build Tk for X11, just set the TK_X11 makefile override Cheers, Daniel -- ** Daniel A. Steffen ** ** <mailto:das@...> ** ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5> Tk configured with --enable-aqua does not support 64bit in the current
> mainline release, you need the TkCocoa port for that, see recent posts on > this list for details: > http://github.com/das/tcltk/tree/de-carbon > http://cloud.github.com/downloads/das/tcltk/tk8.5.7-decarbon.tar.gz > > Tk configured for X11 does support 64bit (as long as you OS version has > 64bit X11) OK. I think 10.5 should have 64 bit x11... most of Leopard is 64 bit but I don't know off the top of my head how to check. I don't really care about aqua/carbon support, I'm much more interested in 64-bit x11 support. So Tk should compile 64 bit? Any idea what's wrong with doing this: tar -xzf tk8.5.7-src.tar.gz export CFLAGS="-arch ppc -arch i386 -arch x86_64 \ -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" cd tk8.5.7/unix/ ./configure --enable-framework --enable-64-bit cd ../../ make -j8 -C tk8.5.7/unix/ Because that gives me this result: file tk8.5.7/unix/Tk tk8.5.7/unix/Tk: Mach-O universal binary with 2 architectures tk8.5.7/unix/Tk (for architecture ppc): Mach-O dynamically linked shared library ppc tk8.5.7/unix/Tk (for architecture i386): Mach-O dynamically linked shared library i386 >> despite re-configuring with the --enable-64-bit flag. >> >> But I'm going to go back and try doing this with EXTRA_CONFIGURE_ARGS >> and/or not using the macosx/ version. > > > if you like you can also use the macosx makefiles to build Tk for X11, just > set the TK_X11 makefile override OK, I might want to do that. Is that just ./configure --TK_X11 ? Sorry, I'm not the most experience with changing flags. Thanks! Adam ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5On 01/06/2009, at 22:59, Adam Ginsburg wrote: > OK. I think 10.5 should have 64 bit x11... most of Leopard is 64 bit > but I don't know off the top of my head how to check. $ file /usr/X11/lib/libX11.dylib /usr/X11/lib/libX11.dylib: Mach-O universal binary with 4 architectures /usr/X11/lib/libX11.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /usr/X11/lib/libX11.dylib (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64 /usr/X11/lib/libX11.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/X11/lib/libX11.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 > I don't really > care about aqua/carbon support, I'm much more interested in 64-bit x11 > support. > > So Tk should compile 64 bit? Any idea what's wrong with doing this: > > tar -xzf tk8.5.7-src.tar.gz > export CFLAGS="-arch ppc -arch i386 -arch x86_64 \ > -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version- > min=10.4" if you want 10.5-only features like 64bit X11, you should not ask for 10.4 support ;-) just use $ export CFLAGS="-arch ppc -arch i386 -arch x86_64" >> if you like you can also use the macosx makefiles to build Tk for >> X11, just >> set the TK_X11 makefile override > > OK, I might want to do that. Is that just ./configure --TK_X11 ? no, makefile override means passing a variable to the make command line: $ make -C tk8.5.7/macosx TK_X11=1 Cheers, Daniel -- ** Daniel A. Steffen ** ** <mailto:das@...> ** ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
|
|
Re: Error compiling tk 8.5.7 on Mac OS X 10.5Many thanks.
>> OK. I think 10.5 should have 64 bit x11... most of Leopard is 64 bit >> but I don't know off the top of my head how to check. > > $ file /usr/X11/lib/libX11.dylib > /usr/X11/lib/libX11.dylib: Mach-O universal binary with 4 architectures > /usr/X11/lib/libX11.dylib (for architecture ppc7400): Mach-O dynamically > linked shared library ppc > /usr/X11/lib/libX11.dylib (for architecture ppc64): Mach-O 64-bit > dynamically linked shared library ppc64 > /usr/X11/lib/libX11.dylib (for architecture i386): Mach-O dynamically > linked shared library i386 > /usr/X11/lib/libX11.dylib (for architecture x86_64): Mach-O 64-bit > dynamically linked shared library x86_64 eta ~/Downloads/clean_tcltk$ file /usr/X11/lib/libX11.6.dylib /usr/X11/lib/libX11.6.dylib: Mach-O universal binary with 4 architectures /usr/X11/lib/libX11.6.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/X11/lib/libX11.6.dylib (for architecture ppc7400): Mach-O dynamically linked shared library ppc /usr/X11/lib/libX11.6.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/X11/lib/libX11.6.dylib (for architecture ppc64): Mach-O 64-bit dynamically linked shared library ppc64 > if you want 10.5-only features like 64bit X11, you should not ask for 10.4 > support ;-) > > just use > $ export CFLAGS="-arch ppc -arch i386 -arch x86_64" Ah, that's what I figured, but the README had the full line... I'll cut out the extra stuff. > no, makefile override means passing a variable to the make command line: > > $ make -C tk8.5.7/macosx TK_X11=1 OK. I will try this... succesfully! Wow! Were the extra compile flags really the whole problem? Or TK_X11 was the necessary step I was missing.... Well, thank you very much! This has been driving me nuts for about a week. Good to finally have it done. Adam ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Tcl-mac mailing list tcl-mac@... https://lists.sourceforge.net/lists/listinfo/tcl-mac |
| Free embeddable forum powered by Nabble | Forum Help |