Cliff, Rob - Thanks for working this out. I'll have to wait for Dmitry to get back from vacation to figure out the correct way to move forward on this.
On Tue, Jul 10, 2012 at 9:34 AM, Clifford Sobchuk < [email protected]> wrote: > I took it that build means > perl Makefile.pl > dmake > dmake test > dmake install > > 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 > > It seems that performing the 'dmake install' re-creates "Prima.a", but > apparently it doesn't matter because when I performed a 'cpanm install > PDL::Drawing::Prima' it passed for the 0.5 version and 'cpanm install > PDL::Graphics::Prima' installed correctly as well. > > 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? > In any case, it works great. > Thanks for your help Rob. > Great interface Dave. > ^^^ Thanks! :-) David > > CLIFF SOBCHUK > Core RF Engineering > Phone 613-667-1974 ecn: 8109-71974 > mobile 403-819-9233 > yahoo: sobchuk > www.ericsson.com > > "The author works for Telefonaktiebolaget L M Ericsson ("Ericsson"), who > is solely responsible for this email and its contents. All inquiries > regarding this email should be addressed to Ericsson. The web site for > Ericsson is www.ericsson.com." > > This Communication is Confidential. We only send and receive email on the > basis of the terms set out at www.ericsson.com/email_disclaimer > > > -----Original Message----- > From: Sisyphus [mailto:[email protected]] > Sent: Monday, July 09, 2012 5:41 PM > To: Clifford Sobchuk; David Mertens; perldl; [email protected] > Subject: Re: [Perldl] Announcing PDL::Graphics::Prima and company > > > ----- Original Message ----- > From: "Clifford Sobchuk" <[email protected]> > To: "Sisyphus" <[email protected]>; "David Mertens" > <[email protected]>; "perldl" <[email protected]>; < > [email protected]> > Sent: Tuesday, July 10, 2012 1:09 AM > Subject: RE: [Perldl] Announcing PDL::Graphics::Prima and company > > > > Hi Rob. > > > > I need a little more hand holding. I am confused by which renaming one > > should do. Is this the name of the directory in the build_params file > > in the _build directory for the PDL-Drawing-Prima? Or is this > > something that I need to do with the Prima install itself? > > Thanks, > > > > After you've installed Prima, you should find that you have: > C:/strawberry/perl/site/lib/auto/Prima/Prima.a > > Rename that file to: > C:/strawberry/perl/site/lib/auto/Prima/libPrima.a > > Then you should be able to build PDL::Drawing::Prima. > > That hack works ok for me - let me know if it doesn't work for you. > > What we need to do, is work out a correct fix - so that hacks like the > above are not necessary. But I don't know where the problem ought to be > fixed. > If the building of Prima were to name the import lib 'libPrima.a' instead > of just 'Prima.a', then there would be no problem. That might be the > simplest fix, but I'm not so sure that it really ought to be up to Prima to > fix this. > I think the problem is associated with the existence of 2 separate dll's > named 'Prima.dll' (one made by building Prima, the other by building > PDL::Drawing::Prima). That being so, another solution would be to rename > the 'Prima' part of 'PDL::Drawing::Prima' to anything other than 'Prima', > so that the Prima.dll built by Prima is the only Prima.dll that gets > created ... but that's an unfair imposition on the naming of the > PDL::Drawing::Prima module. > > Cheers, > Rob > > -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan
_______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
