----- Original Message ----- From: "Clifford Sobchuk" <[email protected]>
To: "Sisyphus" <[email protected]>; "David Mertens"
<[email protected]>; "perldl" <[email protected]>;
<[email protected]>
Sent: Wednesday, July 11, 2012 12:34 AM
Subject: RE: [Perldl] Announcing PDL::Graphics::Prima and company


I took it that build means
perl Makefile.pl
dmake
dmake test
dmake install

Yes - that would loosely be referred to as a "manual" build. You could also
do 'cpan install ...' (or one of its variants) as that does the same thing

The "Prima.a" file was recreated so I changed the name in the
c:\strawberry\perl\site\lib\auto\Prima again and just ran:
dmake
dmake test
dmake install

I didn't mean that you should build Prima again - just rename the
perl/site/lib/auto/Prima/Prima.a to libPrima.a and then build
PDL::Drawing::Prima again.

It seems that performing the 'dmake install' re-creates "Prima.a",

Yes - it installs the Prima.a that's sitting in the blib into the perl installation.
That shouldn't clobber any existing libPrima.a.
As long as there's a libPrima.a, I think you'll be fine (even if there's also a Prima.a alongside it ... but I haven't specifically checked this.). If I'm right about that it's because the '-lPrima' link will link to Prima.a only if there's no libPrima.a to be found.

There is a note in the Prima Makefile.pl that says:
** Warning: expected format of Makefile generated by ExtUtils::MakeMaker
is
changed, so making of library Prima.a will not be performed correctly.
Prima will run OK, but modules dependent on it may not build.
Please notify the author.

BAD_MAKEFILE

Is that a hint that it is the Prima build that is not functioning as
expected for dependent modules?

Looks like he's saying that.
However, the only problem with Prima.a that I can find, is its name. It's
contents seem fine.
Perhaps Dmitry thinks the problem is in the contents ... and, faik, there
could be such a problem (of which I am unaware).

I'll dig about a bit and see what needs to be changed in order that the
Prima build process create a libPrima.a instead of a Prima.a.

In any case, it works great.
Thanks for your help Rob.

You're welcome !!

Great interface Dave.

Yes !!

Cheers,
Rob



_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to