[email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to