Re: Tk Aqua with Perl

2006-05-19 Thread Robert Hicks

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
=

Should I try the Tkx one?

Robert


Re: Tk Aqua with Perl

2006-05-19 Thread Manfred Bergmann


Am 19.05.2006 um 03:55 schrieb Robert Hicks:


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
=

Should I try the Tkx one?


Didn't try the Tcl::Tk module.
Tkx works for me. Maybe you should try it. It also has a better  
documentation. At least I didn't find one for Tcl::Tk.



Manfred



RE: Tk Aqua with Perl

2006-05-19 Thread Jan Dubois
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





Re: Tk Aqua with Perl

2006-05-19 Thread Robert Hicks

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


cperl-mode on xemacs broken

2006-05-19 Thread Donald S Dunbar
I recently purchased a 17 Intel MacBook.  All is relatively well,  
except that the cperl-mode in XEmacs (my perl editor of choice) is  
now broken.  Other edit modes work fine (e.g., F90).  When I open a  
perl file I get the following message:


Fontifying region...(wrong-number-of-arguments (lambda (beg end)  
(let* ((modified ...


I'm using XEmacs vs. 21.4 (patch 15) installed from source (Fink).   
Any ideas on the source of the problem and how to repair it?  I had  
no such problem on my PowerBook.


Don