Hi Max-

The correct way to get the latest PDL-2.007 pre-release is
to use cpanm with a distribution pathname rather than
just a module name:

  cpanm CHM/PDL-2.006_91.tar.gz   # the current version

and CHM/PDL-2.006_92.tar.gz will be released by tomorrow
with an annoucement via the perldl list when it is available.

Unfortunately, you appear to have caught the git repository
in a state where it couldn't build.  The problem has been
fixed but you managed to get caught.  You also did an install
which means you should definitely remove the installed PDL
files before building/testing/installing another PDL.

The simplest way to be certain that you have removed all
the PDL install is to use the unix find command to locate
directories named PDL in the perl library paths.  If you do
a global find on /usr you'll probably find them as well.
Then do a rm -r on the PDL directories.  Be careful with
the rm step!  This is what I find on my cygwin setup:

> find $PERL5LIB /usr/lib/perl5 -type d -name PDL
>  /cygdrive/f/perl/local/lib/perl5/cygwin-thread-multi-64int/auto/PDL
>  /cygdrive/f/perl/local/lib/perl5/cygwin-thread-multi-64int/auto/Test/PDL
>  /cygdrive/f/perl/local/lib/perl5/cygwin-thread-multi-64int/PDL
>  /cygdrive/f/perl/local/lib/perl5/cygwin-thread-multi-64int/PDL/HtmlDocs/PDL
>  /cygdrive/f/perl/local/lib/perl5/PDL
>  /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/auto/PDL
>  /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int/PDL
>  /usr/lib/perl5/site_perl/5.14/PDL

Other than that problem, the rest of your output seems ok.
Let me know how an attempt with cpanm and the distribution
path works.  BTW, the permissions problem is likely because
the build had failed.

Regards,
Chris


On Tue, Oct 8, 2013 at 3:59 PM, David Mertens <[email protected]> wrote:
> Yep, best to keep the mailing list in the loop. I'm busy at the moment, but
> will chime in later.
>
> David
>
> ---------- Forwarded message ----------
> From: "Maximilian Krautloher" <[email protected]>
> Date: Oct 8, 2013 1:03 PM
> Subject: Re: [Perldl] installing PDL, error in make test
> To: "David Mertens" <[email protected]>
> Cc:
>
> HiDavid,
>
> the first message was sent too early, sorry it is getting late again.
>
>
> On 10/08/2013 04:48 AM, David Mertens wrote:
>> Maximilian -
>>
>> I must admit, it's a bit unexpected to see an email to the perldl
>> list addressed to David. Were you intentionally writing to me? I
>> presume you were reading about Installing PDL Manually
>>
> <http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Installing_PDL_Manually>,
>
>> and I guess I did write a lot of that...
>
> well, yeah, I was reading your wiki-article and having had a long day I
> didn't realize I was addressing a whole Mailinglist.
> I hope it is okay if I comment directly to your email:
>
>
>> You report an issue very similar to what Luis Mochan also just
>> reported earlier today. Interestingly, you both report a problem with
>> v2.006, and I *highly* suspect that this problem has been resolved
>> with Chris Marshall's latest work on the 64-bit support. But if not,
>> I'm sure Chris is very anxious to get some feedback. Could you reply
>> and let us know (1) what version of Perl are you using and (2) is
>> your machine 32-bit or 64-bit?
>
> (1) $ perl -v:    This is perl 5, version 18, subversion 1 (v5.18.1)
> built for x86_64-linux-thread-multi
>
> (2) I am working on a pure 64-bit Archinstall (meaning, multilib
> repositories are not enabled).
>
>
>> If you want to try installing the very latest PDL, with Chris's
>> latest work, you can do either of the following:
>>
>> 1) Install App::cpanminus (which, astoundingly, does not have an Arch
>> package yet) using CPAN, or whatever other means you like. Then say
>
> cpan[xx]> install App::cpanminus        # flawless
>
>> $ cpanm git://git.code.sf.net/p/pdl/code.git
>> <http://git.code.sf.net/p/pdl/code.git>
>
> failed, see output[1].txt
>
> Alright, second approach:
>
>
>> 2) Clone the latest git repo into your own directory:
>>
>> $ cd your/preferred/projects/directory/ $ git clone
>> git://git.code.sf.net/p/pdl/code
>> <http://git.code.sf.net/p/pdl/code>pdl $ cd pdl $ perl Makefile.PL
>
> everything ok, nevertheless: see output[2].txt
>
>> $ make
>
> fails while building (see output[3].txt and the following tail)
>
> Can't load '/data/sofware/pdl/blib/arch/auto/PDL/Core/Core.so' for
> module PDL::Core: /data/sofware/pdl/blib/arch/auto/PDL/Core/Core.so:
> failed to map segment from shared object: Operation not permitted at
> /usr/lib/perl5/core_perl/DynaLoader.pm line 190.5.
>
> as this was due to a denied permission, i did a
>
> $ chmod -R 777 ../pdl            # (is this a bad thing to do? if so,
> please be so kind and tell me, never did a thing like this before)
>
> and
>
> $ make
>
> which worked. Then I did a stupid thing: I did a
>
> $ make install
>
> and only cancelled when I realized what I had actually typed in. The
> result is in ouput[4].txt, is there a way of reversing this step?
> Nevertheless, a
>
>> $ make test
> failed: see output[5].txt
>
> Can you make anything of this output? Shall I redirect this mail to the
> mailing-list as well?
>
> Best regards, Max
>
>
>
> _______________________________________________
> 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

Reply via email to