Unfortunately, it's not likely to be that simple. I did the original coding and
all subsequent use of that interface on a 64-bit Linux box. However, there may
be some Mac-specific casting required that I'm not aware of. I would love to
hear more of these mac64 test reports, however.
Puneet, since you first raised this issue, I have done some patching of the OO
GD interface. This has all been committed to the git repo as of a couple of
weeks ago. Please make sure you have this latest version, as I did some minor
bug fixing while I was in there.
Thanks,
Judd
On Mar 15, 2011, at 4:19 PM, "Derek Lamb" <[email protected]> wrote:
> Hi Puneet,
>
> I do not use PDL::IO::GD, so I can't help too much. Can you post a simple
> test case that fails on 64-bit but succeeds on 32-bit? I could at least run
> it on my machine here and make sure I also get a segfault. Did it pass make
> test when you installed PDL?
>
> I know that PDL::FFTW does not pass make test on my 64-bit machine--there is
> a patch available for that, but the solution had to do with the return value
> of some C routines (int vs void *). Check the bug tracker for a synopsis and
> link--perhaps there's something similar going on with GD.
>
> cheers,
> Derek
>
>
> On Mar 7, 2011, at 12:32 PM, Mr. Puneet Kishor wrote:
>
>> Is there anyone on this list who is successfully using the OO interface to
>> PDL::IO::GD on an Intel Mac with 64-bit Snow Leopard?
>>
>> Every time I try to use the OO interface to PDL::IO::GD, I get a segfault. I
>> believe this is only a problem on my MacBook which has 64-bit Snow Leopard
>> (Mac OS X 10.6.x). I am using my own installation of Perl 5.12.1 which was
>> installed successful under /usr/local/.
>>
>> Judd Taylor, the author of PDL::IO::GD, has very kindly helped me
>> troubleshoot the issue, but I haven't really found a resolution. As such, a
>> fair amount of my work involving generating images quickly is stuck. I want
>> to determine whether it is the particular combination of hardware/operating
>> system, or whether it is some silliness on my part.
>>
>> Fwiw, the OO interface to PDL::IO::GD works just fine on my Xserve, but that
>> has the 32-bit Mac OS X 10.5.x installed on it.
>>
>> Puneet.
>> _______________________________________________
>> Perldl mailing list
>> [email protected]
>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl