Hi Matt, Chris,

The supporting files for Proj.4 are usually kept at $PREFIX/share/proj. So, 
since I used macports to install Proj.4, and macports stuffs everything under 
/opt/local, my Proj.4 definitions are under /opt/local/share/proj

punkish@mumbai /opt/local/share/proj$ls
FL                  WI                  epsg.orig           nad27               
nzgd2kgrid0005.gsb  stlrnc
GL27                WO                  esri                nad83               
other.extra         stpaul
IGNF                alaska              esri.extra          ntf_r93.gsb         
proj_def.dat        world
MD                  conus               hawaii              ntv1_can.dat        
prvi
TN                  epsg                nad.lst             null                
stgeorge


All of the above files are available at the Proj.4 download site. Hope this 
helps.


On Nov 23, 2011, at 3:27 PM, Chris Marshall wrote:

> In addition to the library files and executables for PROJ4,
> one also needs to have the datum files which have the
> definitions of the various coordinate systems for proj.exe
> and the library routines to use.  If you don't have them
> installed, then you will not be able to convert coordinate
> projections.  You'll either need to set an environment
> variable or get an additional package with those files.
> I don't know what or where that would be for the Mac.
> 
> --Chris
> 
> On Wed, Nov 23, 2011 at 3:58 PM, Matthew Kenworthy
> <[email protected]> wrote:
>> I've compiled and installed proj4 on Lion Mac OS X, but although I've
>> defined the paths for LIB and INCLUDE in perldl.conf, but the perl
>> Makefile.PL
>> 
>>   Will forcibly try and build PDL::GIS::Proj on this system
>> 
>>        PDL::GIS::Proj: Found /usr/local/lib/libproj.a
>>     Trying check for projUV...
>>                YES
>>  PROJ4 library found but cannot initialize projection, won't build
>> 
>> I can't see what's causing the build to skip, any suggestions as to what to 
>> try?
>> 
>> Many thanks,
>> 
>> Matt
>> 
>> 
>> --
>> Matthew Kenworthy / Assistant Professor / Leiden Observatory
>> Niels Bohrweg 2 (#463) / P.O. Box 9513 / 2300 RA Leiden / NL
>> 
>> _______________________________________________
>> 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


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

Reply via email to