Good spot on the $include_path. Additional commit pushed on the projfixp2 
branch, should just work. Rob, does it work for you?

Oddly now on my Win32 system I'm getting conflicts between PVALUE in MinGW 
and in Proj4, which Rob I see you asked about a long while ago?

-----Original Message----- 
From: sisyph...@optusnet.com.au
Sent: Tuesday, March 31, 2015 12:06 PM
To: Ed
Cc: pdl-devel
Subject: Re: [Pdl-devel] Proj presently broken

-----Original Message----- 
From: Ed
Sent: Tuesday, March 31, 2015 4:41 PM
To: Sisyphus
Cc: pdl-devel
Subject: Re: [Pdl-devel] Proj presently broken

Hi Rob,

> Your premise seems to be that my code (in Lib/GIS/Proj/Makefile.PL and 
> Lib/Transform/Proj4/Makefile.PL) doesn't pass the relevant %PDL::Config 
> contents through to Alien::Proj4. However, it in fact does, with the 
> Alien::Proj4->import method, as documented in the Alien::Proj4 POD, which 
> I'm assuming you've read.

No - I've zero interest in Alien, and it's lessening by the minute.

> You also seem to have the premise that @DEFAULT_INC and @DEFAULT_LIB need 
> to have your perldl.conf vars there, but they don't, because they're only 
> the default. The values Alien::Proj4 works off are @inc_locations and 
> @lib_locations.

Yes, you're correct - Alien::Proj4::import() does bring in the desired
@inc_locations and @lib_locations.

So .... my next contention is that the problem comes down to this:
In Proj4.pm's installed() sub we have:

    incpath=>$include_path,

but $include_path is uninitialized.

Changing that line to:

    incpath=>@inc_locations,

fixes the issue for me - where @inc_locations is
('C:/MinGW/msys/1.0/local/include', 'include').

Cheers,
Rob





------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to