Jan Dubois wrote:
On Thu, 18 May 2006, Robert Hicks wrote:
Jan Dubois wrote:
On Mon, 15 May 2006, Manfred Bergmann wrote:
TclTk Aqua is shipped with Mac OSX Tiger.

Is it somehow possible to use it with Perl?
You should be able to do this with the Tcl::Tk module:

    http://search.cpan.org/~vkon/Tcl-Tk/

I get a whole lot of errors when I try to install Tcl::Tk. I am using AS
Perl and AS Tcl.

=== ERROR ===
Tcl config file '/usr/local/lib/tclConfig.sh' not found
Running make test
   Make had some problems, maybe interrupted? Won't test
Running make install
   Make had some problems, maybe interrupted? Won't install
=============

You need to specify the location of the Tcl installation you want to
use, e.g.

  perl Makefile.PL - 
--tclconfig=/System/Library/Frameworks/Tcl.framework/tclConfig.sh

I don't have my Mac here, but I think the ActiveTcl location would be
in /usr/local/ActiveTcl/lib/tclConfig.sh.

Should I try the Tkx one?

Tkx builds on top of Tcl and Tcl::Tk, so you need to get those working first.

Cheers,
-Jan



Can I export that as an ENV variable before loading it through CPAN?

Robert

Reply via email to