Re: Proposed Mac::Pasteboard

2008-02-06 Thread Tom Wyant
On Feb 5, 12:38 pm, [EMAIL PROTECTED] (Tom Wyant) wrote:
 On Jan 31, 9:55 pm, [EMAIL PROTECTED] wrote:



  Since there hasn't been any further discussion for a day or so, I have
  published Mac-Pasteboard-0.000_01 to CPAN. I suspect you'll need to
  download by package name (WYANT/Mac-Pasteboard-0.000_01.tar.gz I
  think; at least, WYANT is the right CPAN username) if you're using the
  'cpan' script.

 There's a problem with this software if you are running Mac OS 10.4 or
 above: the get the real pasteboard name functionality dies with a
 bus error. Unfortunately I found this by having my machine die and
 acquiring a new machine with 10.5, so it'll be a bit before I can put
 full time on sorting this out. The easy thing for me to do is to
 publish an update without the functionality. Until then, disable it by
 doing a 'make realclean' (or './Build realclean'), editing Makefile.PL
 and/or Build.PL to comment out the lines

 $osvers = 10.004
 and push @ld, '-DTIGER';

 and rebuild. This is probably what release 0.000_02 will consist of,
 when it gets made.

I was wrong. The problem was that I didn't dereference a pointer I
should have. So version 0.000_02 has just been uploaded, with the
Tiger (and up) functionality working, instead of causing a bus error
as 0.000_01 did. In addition, a couple compiler complaints were
cleaned up.

Tom Wyant



Re: CPAN modules on Leopard

2008-02-06 Thread Timothy Bailey

At 8:34 AM -0800 2/5/08, John Baldwin wrote:
That's very strange. I'm running on a Macbook. I just ran the make 
and test on Class::MethodMaker within cpan and all tests passed (2 
subtests skipped).


I'd try cleaning out your CPAN directory to see if that helps.


I assume that by my CPAN directory, you mean:

/Users/timothybailey/.cpan

I cleaned it out entirely, and tried doing some installs, but I am 
still getting errors - the same as before with running my test 
scripts.


--
   Tim Bailey   |\/  Of all tyrannies, a tyranny exercised for the
[EMAIL PROTECTED]|\/  good of its victims may be the most oppressive.
   [EMAIL PROTECTED]   | It may be better to live under robber barons
 http://www.moonrise.org than under omnipotent moral busybodies.
--'--,--@   The robber baron's cruelty may sometimes sleep,
   his cupidity may at some point be satiated;
  but those who torment us for our own good will torment us without end,
 for they do so with the approval of their own conscience.
 -- C.S. Lewis