Hi,

Trying to build Lib/Transform/Proj4 without Alien is causing me some
difficulty.

The problem arises in the Inline-generated _Inline/build/Alien/Proj4_e243
directory because the Makefile.PL in that directory specifies:
'INC' => '-I"C:/sisyphusion/PDL-2.007_13/Lib/Transform/Proj4"
"-IC:\\sisyphusion\\PDL-2.007_13\\Lib\\GIS\\Proj\\include"',

which instead needs to specify "-IC:/MinGW/msys/1.0/local/include" ahead of
"-IC:\\sisyphusion\\PDL-2.007_13\\Lib\\GIS\\Proj\\include".

I've managed to get $hash{INC} set correctly in 
Lib/Transform/Proj4/Makefile.PL - but it's not being transferred to the 
Makefile.PL that Inline generates.

Is this Inline stuff intended to be *only* for Alien builds ? If so - how do
I circumvent it ? If not - how do I influence the setting of INC in the
problem Makefile.PL ?

I had problems with the Lib/GIS/Proj Makefile.PL, too - but that has been
fixed (for me, at least) by the Lib/GIS/ProjMakefile.PL I've just pushed to
git.

One thing I haven't addressed is that I needed to specify "WITH_PROJ => 1,"
(in perldl.conf). Setting WITH_PROJ to undef is no longer sufficient, though
it ought to suffice.
I thought about messing with the Lib/GIS/Proj/Makefile.PL logic that
determines whether the build can proceed .... but decided it was simpler to
just set WITH_PROJ to 1.

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