The demos haven’t been updated to work in the context of the core/rest split 
yet. The main problem is that “rest” still depends on %PDLA::Config rather than 
just trying things to see if they’ll work, which is on the to-do list. The plan 
for demos after that will be to have the demo-list command use Module::Find, 
and it should be straightforward.



Similarly, you won’t be able to install PDLA::Graphics::Gnuplot separately, 
because it’s still part of PDLA::Rest. Volunteers to split it out, using the 
techniques in devops/NOTES.md are welcome :-)



Sorry about the problem with PDLA::Graphics::TriD – it seems it’s not being 
tested properly, possibly due to the %PDLA::Config issue mentioned above. 
Again, feel free to open a GitHub issue and/or help by splitting it out!



It’s not possible to use PDL stuff on PDLA without some symbol-table messing, 
which may or may not work. If there’s something you want fixing up / splitting 
out first, please open an issue. This was a deliberate decision in order to not 
interfere with legacy PDL.



As for “why not just split out PDL”, nothing has changed in the 12 days since I 
wrote you this email: https://sourceforge.net/p/pdl/mailman/message/36639949/ 
;-)



Thanks for taking the time to have a go at this and then reporting the issues, 
it’s really helpful!



Best regards,

Ed



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



________________________________
From: Luis Mochan <moc...@icf.unam.mx>
Sent: Friday, April 26, 2019 11:43:28 PM
To: pdl-devel@lists.sourceforge.net
Subject: Re: [Pdl-devel] PDL/PDLA and Strawberry Perl PDL editions

I edited by hand the Makefile and finished my installation.

Ran pdla and pdla2 and they seem good.

Tried running pdl the demos, but some didn't work:

   pdla> demo 3d
   Runtime error: Undefined subroutine &PDLA::Demos::TriD1::run called at (eval 
409) line 48, <DATA> line 90.
    at (eval 409) line 48, <DATA> line 90.pdl> demo 3d

When I tried

    pdla> use PDLA::Graphics::TriD;
    Bareword "KeyPressMask" not allowed while "strict subs" in use at 
/home/mochan/.perlbrew/libs/perl-5.28.0@pdla/lib/perl5/x86_64-linux-thread-multi/PDLA//Graphics//TriD//GL.pm
 line 691, <DATA> line 90.
    BEGIN not safe after errors--compilation aborted at 
/home/mochan/.perlbrew/libs/perl-5.28.0@pdla/lib/perl5/x86_64-linux-thread-multi/PDLA//Graphics//TriD//GL.pm
 line 976, <DATA> line 90.
    Compilation failed in require at 
/home/mochan/.perlbrew/libs/perl-5.28.0@pdla/lib/perl5/x86_64-linux-thread-multi/PDLA/Graphics/TriD.pm
 line 694, <DATA> line 90.
    BEGIN failed--compilation aborted at 
/home/mochan/.perlbrew/libs/perl-5.28.0@pdla/lib/perl5/x86_64-linux-thread-multi/PDLA/Graphics/TriD.pm
 line 697, <DATA> line 90.
    Compilation failed in require at (eval 65) line 4, <DATA> line 90.
    BEGIN failed--compilation aborted at (eval 65) line 4, <DATA> line 90.



pdla> demo gnuplot
   Runtime error:
   
*******************************************************************************
   This demo requires both the external "gnuplot" application and the module
   "PDLA::Graphics::Gnuplot".  You don't seem to have the module installed on 
your
   system.  You might want to get it from CPAN and try again.
   
*******************************************************************************

I tried to install PDLA::Graphics::Gnuplot,

   $ cpanm PDLA::Graphics::Gnuplot

but it doesn't seem to exist.

I wonder if PDL and PDLA packages can be mixed.

I tried running pdla, using PDLA::FFTW3 (it doesn't exist), trying to
install it (it doesn't exist), using PDL::FFTW3 and attempting an
inverse Fourier transform, but I got an error

    $b=ifftn($a,1)
    Can't locate object method "new_or_inplace" via package "PDLA::Type" at 
/home/mochan/perl5/perlbrew/perls/perl-5.28.0/lib/site_perl/5.28.1/x86_64-linux-thread-multi/PDL/Core.pm
 line 2533.

so I guess it is not possible to mix PDLA and PDL packages.

I still don't fully understand the pros and cons of using the
namespace PDLA instead of making a branch of PDL that becomes agile
(without changing name) and that in some future replaces the current
PDL.

Best regards,
Luis




On Fri, Apr 26, 2019 at 03:46:23PM -0500, Luis Mochan wrote:
> Failed my second attempt to install PDLA::Rest. When I
>
>        make install
>
> I get the error
>
>   doc_site_install: Building PDLA documentation database ...
>   Can't open perl script "Doc/scantree.pl": No such file or directory
>   make: *** [Makefile:1128: doc_site_install] Error 2
>
> Regards,
> Luis
>

--

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB




_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to