[Fink-users] TkGate refuses to compile (Tcl/Tk problem)
Hi! I've done a fresh install of fink-0.29.9 on Mac OS X 10.6.4 in order to install and use the digital circuit simulator TkGate. But after invoking 'fink install tkgate' (Yes, I've run 'fink configure' to use the unstable tree as well and also 'fink selfupdate fink update-all'.) all I get is: C compiler: gcc Auto-configuring language to 'en' (LANG=de_DE.UTF-8). Tcl/Tk Version: not found # WARNING: I was unable to find one or more required tcl/tk components. If you are sure you have tcl/tk on your system, you may need to manually configure the location. Uncomment and modify the TKGATE_IPATH, TKGATE_LPATH, TKGATE_LIBS TCL_LIBRARY and TK_LIBRARY variables. See the README file for more details. # in the process of compiling. This is quite confusing me, because fink tells me that it has installed the packages tcltk, tcltk-dev and tcltk-shlibs BEFORE downloading and compiling TkGate's source code. So, if I tried this with manually downloaded source bundle by running './configure', the libraries were found. Therefore I guess it might be a problem with the path setup. I also tried to alter the *.patch file, but that leads me into trouble, if fink tries to apply those patches. One can see, that uncommenting those variables in the error message above isn't really working at all. Modifying those isn't necessary, because the tcl/tk libs were exactly in the mentioned paths. Other packages like 'blt' compiling without any problem, so this looks like a specific one to the 'tkgate' package. Anyone to give me some advice on that issue? Thanks in advance. Carsten-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] TkGate refuses to compile (Tcl/Tk problem)
ein.briefkas...@web.de wrote: Hi! I've done a fresh install of fink-0.29.9 on Mac OS X 10.6.4 in order to install and use the digital circuit simulator TkGate. But after invoking 'fink install tkgate' (Yes, I've run 'fink configure' to use the unstable tree as well and also 'fink selfupdate fink update-all'.) all I get is: C compiler: gcc Auto-configuring language to 'en' (LANG=de_DE.UTF-8). Tcl/Tk Version: not found It is rather surprising that you got so far. This package has basically been unmaintained since early OSX 10.4. It lacks knowledge about recent developments in 10.5 and 10.6 (absence of xmkmf/imake), and it hasn't heard about tcltk version 8.5, which is what fink installs on 10.6/64bit. # WARNING: I was unable to find one or more required tcl/tk components. If you are sure you have tcl/tk on your system, you may need to manually configure the location. Uncomment and modify the TKGATE_IPATH, TKGATE_LPATH, TKGATE_LIBS TCL_LIBRARY and TK_LIBRARY variables. See the README file for more details. # in the process of compiling. This is quite confusing me, because fink tells me that it has installed the packages tcltk, tcltk-dev and tcltk-shlibs BEFORE downloading and compiling TkGate's source code. So, The package depends on tcltk, so it downloads and installs the latest available version, which is 8.5 in your case. But then it checks for the presence of versions up to 8.4: tkgate-1.8.6/config.h:#define TKGATE_TCLTK_VERSIONS 8.4 8.3 8.2 8.1 8.0 One would have to patch this in order to include 8.5. if I tried this with manually downloaded source bundle by running './configure', the libraries were found. Therefore I guess it might be a problem with the path setup. I also tried to alter the *.patch file, but that leads me into trouble, if fink tries to apply those patches. One can see, that uncommenting You need to create a new patch file and change the md5sum in the *.info file accordingly. those variables in the error message above isn't really working at all. Modifying those isn't necessary, because the tcl/tk libs were exactly in the mentioned paths. Other packages like 'blt' compiling without any problem, so this looks like a specific one to the 'tkgate' package. Yes. It needs some maintaining, but I don't know if the maintainer is still active. I am CCing him, but he hasn't been heard of for quite some time, AFAIK. -- Martin -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Failed: phase compiling: kdeutils3-3.5.10-3 failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/27/10 2:33 PM, Daniel E. Macks wrote: Dominique Dhumieres domi...@lps.ens.fr said: On ppc 10.5.8 updating to kdeutils3-3.5.10-3 failed with the now usual miising symbols. I just committed a fix. dan WorkedForMe(TM) on 10.5.8/Intel. - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwom/kACgkQB8UpO3rKjQ/mQACgjyM80+DhWbEcCQe4TiG77oy7 P4wAn1z+rFcqBLs2NzYOnAVcOmTqBIVp =9nNu -END PGP SIGNATURE- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] libiconv-1.12 missing iconv?
From the shell, % ipython -pylab gives, Traceback (most recent call last): File /sw/bin/ipython, line 28, in module IPython.Shell.start().mainloop() File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 1233, in start return shell(user_ns = user_ns) File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 1108, in __init__ shell_class=MatplotlibMTShell) File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 778, in __init__ import gtk File /sw/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, line 48, in module from gtk import _gtk ImportError: dlopen(/sw/lib/python2.5/site-packages/gtk-2.0/gtk/ _gtk.so, 2): Symbol not found: _iconv Referenced from: /usr/X11/lib/libfontconfig.1.dylib Expected in: /sw/lib/libiconv.2.dylib Indeed, % otool -Tv /sw/lib/libiconv.2.dylib /sw/lib/libiconv.2.dylib: Table of contents (8 entries) module name symbol name single module__libiconv_version single module_iconv_canonicalize single module_libiconv single module_libiconv_close single module_libiconv_open single module_libiconv_set_relocation_prefix single module_libiconvctl single module_libiconvlist whereas, otool -Tv /usr/lib/libiconv.2.dylib /usr/lib/libiconv.2.dylib: Table of contents (20 entries) module name symbol name single module__libiconv_version single module_aliases2_lookup single module_aliases_lookup single module_iconv single module_iconv_canonicalize single module_iconv_close single module_iconv_open single module_iconvctl single module_iconvlist single module_libiconv single module_libiconv_close single module_libiconv_open single module_libiconv_relocate single module_libiconv_set_relocation_prefix single module_libiconvctl single module_libiconvlist single module_locale_charset single module_utf8_decodestr single module_utf8_encodestr single module_utf_extrabytes % printenv DYLD_LIBRARY_PATH /usr/local/lib:/sw/lib:/usr/lib:/lib % fink list iconv Information about 9777 packages read in 3 seconds. i libiconv 1.12-4 Character set conversion library i libiconv-bin 1.12-4 Executables for libiconv package i libiconv-dev 1.12-4 Developer files for libiconv package text-iconv-pm51 1.7-2The iconv() character set conversion func... text-iconv-pm58 1.7-2The iconv() character set conversion func... text-iconv-pm58 1.7-2The iconv() character set conversion func... Anyone know why /sw/lib/libiconv.2.dylib doesn't provide iconv? Or for that matter, why fink doesn't just provide a virtual package for libiconv, since Xcode3 provides it already? Thanks, TFH -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libiconv-1.12 missing iconv?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/28/10 3:52 PM, Timothy Havel wrote: From the shell, % ipython -pylab gives, Traceback (most recent call last): File /sw/bin/ipython, line 28, in module IPython.Shell.start().mainloop() File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 1233, in start return shell(user_ns = user_ns) File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 1108, in __init__ shell_class=MatplotlibMTShell) File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 778, in __init__ import gtk File /sw/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, line 48, in module from gtk import _gtk ImportError: dlopen(/sw/lib/python2.5/site-packages/gtk-2.0/gtk/ _gtk.so, 2): Symbol not found: _iconv Referenced from: /usr/X11/lib/libfontconfig.1.dylib Expected in: /sw/lib/libiconv.2.dylib Indeed, % otool -Tv /sw/lib/libiconv.2.dylib /sw/lib/libiconv.2.dylib: Table of contents (8 entries) module name symbol name single module__libiconv_version single module_iconv_canonicalize single module_libiconv single module_libiconv_close single module_libiconv_open single module_libiconv_set_relocation_prefix single module_libiconvctl single module_libiconvlist whereas, otool -Tv /usr/lib/libiconv.2.dylib /usr/lib/libiconv.2.dylib: Table of contents (20 entries) module name symbol name single module__libiconv_version single module_aliases2_lookup single module_aliases_lookup single module_iconv single module_iconv_canonicalize single module_iconv_close single module_iconv_open single module_iconvctl single module_iconvlist single module_libiconv single module_libiconv_close single module_libiconv_open single module_libiconv_relocate single module_libiconv_set_relocation_prefix single module_libiconvctl single module_libiconvlist single module_locale_charset single module_utf8_decodestr single module_utf8_encodestr single module_utf_extrabytes % printenv DYLD_LIBRARY_PATH /usr/local/lib:/sw/lib:/usr/lib:/lib % fink list iconv Information about 9777 packages read in 3 seconds. i libiconv 1.12-4 Character set conversion library i libiconv-bin 1.12-4 Executables for libiconv package i libiconv-dev 1.12-4 Developer files for libiconv package text-iconv-pm51 1.7-2The iconv() character set conversion func... text-iconv-pm58 1.7-2The iconv() character set conversion func... text-iconv-pm58 1.7-2The iconv() character set conversion func... Anyone know why /sw/lib/libiconv.2.dylib doesn't provide iconv? Or for that matter, why fink doesn't just provide a virtual package for libiconv, since Xcode3 provides it already? Thanks, TFH You've got something else going on than you think. /usr/X11/lib/libfontconfig.1.dylib should *not* be linking to a Fink libiconv at all. Do you have DYLD_LIBRARY_PATH=/sw or something? - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwpAgoACgkQB8UpO3rKjQ/+eQCdFsy3FEFop28XiYUeXdRTHHlY cmYAnjOhBZUaYDOx62OKYvT//IHWVTjp =rgsF -END PGP SIGNATURE- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libiconv-1.12 missing iconv?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/28/10 4:11 PM, Alexander Hansen wrote: On 6/28/10 3:52 PM, Timothy Havel wrote: From the shell, % ipython -pylab gives, Traceback (most recent call last): File /sw/bin/ipython, line 28, in module IPython.Shell.start().mainloop() File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 1233, in start return shell(user_ns = user_ns) File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 1108, in __init__ shell_class=MatplotlibMTShell) File /sw/lib/python2.5/site-packages/IPython/Shell.py, line 778, in __init__ import gtk File /sw/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py, line 48, in module from gtk import _gtk ImportError: dlopen(/sw/lib/python2.5/site-packages/gtk-2.0/gtk/ _gtk.so, 2): Symbol not found: _iconv Referenced from: /usr/X11/lib/libfontconfig.1.dylib Expected in: /sw/lib/libiconv.2.dylib Indeed, % otool -Tv /sw/lib/libiconv.2.dylib /sw/lib/libiconv.2.dylib: Table of contents (8 entries) module name symbol name single module__libiconv_version single module_iconv_canonicalize single module_libiconv single module_libiconv_close single module_libiconv_open single module_libiconv_set_relocation_prefix single module_libiconvctl single module_libiconvlist whereas, otool -Tv /usr/lib/libiconv.2.dylib /usr/lib/libiconv.2.dylib: Table of contents (20 entries) module name symbol name single module__libiconv_version single module_aliases2_lookup single module_aliases_lookup single module_iconv single module_iconv_canonicalize single module_iconv_close single module_iconv_open single module_iconvctl single module_iconvlist single module_libiconv single module_libiconv_close single module_libiconv_open single module_libiconv_relocate single module_libiconv_set_relocation_prefix single module_libiconvctl single module_libiconvlist single module_locale_charset single module_utf8_decodestr single module_utf8_encodestr single module_utf_extrabytes % printenv DYLD_LIBRARY_PATH /usr/local/lib:/sw/lib:/usr/lib:/lib % fink list iconv Information about 9777 packages read in 3 seconds. i libiconv 1.12-4 Character set conversion library i libiconv-bin 1.12-4 Executables for libiconv package i libiconv-dev 1.12-4 Developer files for libiconv package text-iconv-pm51 1.7-2The iconv() character set conversion func... text-iconv-pm58 1.7-2The iconv() character set conversion func... text-iconv-pm58 1.7-2The iconv() character set conversion func... Anyone know why /sw/lib/libiconv.2.dylib doesn't provide iconv? Or for that matter, why fink doesn't just provide a virtual package for libiconv, since Xcode3 provides it already? Thanks, TFH You've got something else going on than you think. /usr/X11/lib/libfontconfig.1.dylib should *not* be linking to a Fink libiconv at all. Do you have DYLD_LIBRARY_PATH=/sw or something? Oops, I just noticed your DYLD_LIBRARY_PATH above. That's what's causing this problem. Use DYLD_FALLBACK_LIBRARY_PATH instead. - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwpAqAACgkQB8UpO3rKjQ8lbwCeL4upJaSFqbMO/ffD/J0dE+Rn 3tsAoIAgvsuUyzpHKt462tC9KyGGi1YM =dDuc -END PGP SIGNATURE- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libiconv-1.12 missing iconv?
On Jun 28, 2010, at 1:52 PM, Timothy Havel wrote: % printenv DYLD_LIBRARY_PATH /usr/local/lib:/sw/lib:/usr/lib:/lib This seems to be the source of your trouble. DYLD_LIBRARY_PATH *overrides* the natural search path which dyld uses. Unlike Linux (which you may be familiar with example), each library contains a full path to all libraries it is linked to, and dyld normally follows that path. Setting DYLD_LIBRARY_PATH to *any* nonempty value overrides the normal search. If something you have installed really needs to have a path specified through an environment variable, DYLD_FALLBACK_LIBRARY_PATH is a much better choice. -- Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libiconv-1.12 missing iconv?
Thanks for the answers. Using the *_FALLBACK_* as you suggest does solve the problem, but I remain puzzled by the fact that I set DYLD_LIBRARY_PATH so that /sw/lib was searched before /usr/lib, so why did it grab something from there unless it couldn't find it in /sw/ lib? In any case I install things I can't get from fink in /usr/local, so that should be searched first. Please let me know if I've let myself in for further puzzles at some unknown future date, when this exchange will have faded from my memory ... TFH On Jun 28, 2010, at 16:16 , David R. Morrison wrote: On Jun 28, 2010, at 1:52 PM, Timothy Havel wrote: % printenv DYLD_LIBRARY_PATH /usr/local/lib:/sw/lib:/usr/lib:/lib This seems to be the source of your trouble. DYLD_LIBRARY_PATH *overrides* the natural search path which dyld uses. Unlike Linux (which you may be familiar with example), each library contains a full path to all libraries it is linked to, and dyld normally follows that path. Setting DYLD_LIBRARY_PATH to *any* nonempty value overrides the normal search. If something you have installed really needs to have a path specified through an environment variable, DYLD_FALLBACK_LIBRARY_PATH is a much better choice. -- Dave -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libiconv-1.12 missing iconv?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 6/28/10 5:01 PM, Timothy Havel wrote: Thanks for the answers. Using the *_FALLBACK_* as you suggest does solve the problem, but I remain puzzled by the fact that I set DYLD_LIBRARY_PATH so that /sw/lib was searched before /usr/lib, so why did it grab something from there unless it couldn't find it in /sw/lib? In any case I install things I can't get from fink in /usr/local, so that should be searched first. Please let me know if I've let myself in for further puzzles at some unknown future date, when this exchange will have faded from my memory ... TFH Dave said it below: DYLD_LIBRARY_PATH *overrides* the search order. So you're searching /usr/local/lib, then /sw/lib, then /usr/lib. DYLD_FALLBACK_LIBRARY_PATH doesn't override the search order, but appends to it. (hence the name) However, since as Dave said, binaries encode the full path to any libraries, typically you don't even need to specify DYLD_FALLBACK_LIBRARY_PATH. Building using Fink with libraries in /usr/local/lib may well set you up for problems down the road, BTW, if you get any cross-linkage. We recommend moving /usr/local out of the way while you do Fink builds. - -- Alexander Hansen Fink User Liaison On Jun 28, 2010, at 16:16 , David R. Morrison wrote: On Jun 28, 2010, at 1:52 PM, Timothy Havel wrote: % printenv DYLD_LIBRARY_PATH /usr/local/lib:/sw/lib:/usr/lib:/lib This seems to be the source of your trouble. DYLD_LIBRARY_PATH *overrides* the natural search path which dyld uses. Unlike Linux (which you may be familiar with example), each library contains a full path to all libraries it is linked to, and dyld normally follows that path. Setting DYLD_LIBRARY_PATH to *any* nonempty value overrides the normal search. If something you have installed really needs to have a path specified through an environment variable, DYLD_FALLBACK_LIBRARY_PATH is a much better choice. -- Dave -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwpIWIACgkQB8UpO3rKjQ9scACdHYJIAXg+t9KE+SWtuOFy19sp +10AnRVr1XVW8Ky+6pWbIIKxrr/EVEdg =W+34 -END PGP SIGNATURE- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Failed: phase compiling: kdeutils3-3.5.10-3 failed
On 6/27/10 2:33 PM, Daniel E. Macks wrote: Dominique Dhumieresdomi...@lps.ens.fr said: On ppc 10.5.8 updating to kdeutils3-3.5.10-3 failed with the now usual miising symbols. I just committed a fix. dan WorkedForMe(TM) on 10.5.8/Intel. - -- Alexander Hansen Fink User Liaison It also works for me on 10.5.8/PPC. --Robert -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users