|
From: Arjen M. <arj...@wl...> - 2005-10-28 12:33:07
|
> Bruno Picard wrote:
>
>
> So, there are strange things during the install of PDL:
> - at perl Makefile.PL
> it can't find libplplot.dll : actually, libplplot.dll.a
> exists so, it finally works if
> -
> I "cp libplplot.dll.a libplplot.dll
> or - I
> modify Makefile.PL in /Graphics/PLplot : my $libname =
> "libplplotd.dll.a" instead of
>
Hm, I get similar files (libplplot.dll.a etc.) when using the builds
for Fortran and C. But somehow the GCC linker I use then is able
to use that exact file.
I think that the Perl Makefile script is not aware of this
convention under Cygwin. Have you asked this on the Perl newsgroup?
> my
> $libname = "libplplotd.dll".config("so")
> - finally, it (seems to) work but, at the end of "make":
> it can't find /blib/script/pdl : actually, "pdl.exe"
> exists, so I "cp PDL.exe PDL" ... and it works (?)
>
Here again, a similar mismatch in expectations.
As I know nothing about the Perl make system, I can not help out
with these issues.
> - make install : all (seems to be) is ok
>
> - perldl inline command works:
> perldl> $x = sequence 3,4
> perldl> set $x, 2,1,99
> perldl> p $x
> [
> [ 0 1 2]
> [ 3 4 99]
> [ 6 7 8]
> [ 9 10 11]
> ]
> (from http://www.us025.ird.fr/article.php3?id_article=17)
>
> Now, the problem is:
> perl -v "use PDL::Graphics::PLplot;"
> can't load
> '/usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll'
> for module PDL/Graphics/PLplot:
> no such file or directory in Dynaloader.pm line 230
>
> (line 230 of Dynaloader:; my $libref = dl_load_file( [...] ) )
>
> But
> /usr/lib/perl5/site_perl/5.8/cygwin/auto/PDL/Graphics/PLplot/PLplot.dll
> exists (libPLplot.dll.a too) and is non void!!!
>
> I didn't find any similar situation neither on the web nor in forums
> and i can't remember the number of (re)installation of
> the whole config (including cygwin) : (
>
> any suggestions will be welcomed as the first day of spring after a
> long and cold winter : p,
>
My guess is that the dynamic loader is expecting a file with a
different name or extension. Could you copy the .dll file to:
PLplot.so and PLplot.dll.so ?
Just a few suggestions, as I am not at all familiar with this
part of Perl.
Regards,
Arjen
|