[MacPorts] #56150: py36-cartopy @0.15.1_2: install fails: setup.py can't find proj

MacPorts noreply at macports.org
Tue Apr 3 13:24:43 UTC 2018


#56150: py36-cartopy @0.15.1_2: install fails: setup.py can't find proj
-------------------------+----------------------
  Reporter:  mndavidoff  |      Owner:  petrrr
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.2
Resolution:              |   Keywords:
      Port:  py-cartopy  |
-------------------------+----------------------

Comment (by news24lor):

 Hi\\

 Yes. It does not see proj49 folder. This problem is similar to other
 packages (py-spatialite, ...)

 I've resolved with symbolic link.

 {{{
 $ sudo ln -s /opt/local/lib/proj49/bin/geod /opt/local/bin/
 $ sudo ln -s /opt/local/lib/proj49/bin/nad2bin /opt/local/bin/
 $ sudo ln -s /opt/local/lib/proj49/bin/proj /opt/local/bin/
 $ sudo ln -s /opt/local/lib/proj49/lib/libproj.dylib /opt/local/lib/
 $ sudo ln -s /opt/local/lib/proj49/lib/libproj.a /opt/local/lib/
 $
 $ sudo ln -s /opt/local/lib/proj49/include/proj_api.h /opt/local/include
 $ sudo ln -s /opt/local/lib/proj49/include/geodesic.h /opt/local/include/
 $ sudo ln -s /opt/local/lib/proj49/include/org_proj4_PJ.h
 /opt/local/include/
 $ sudo ln -s /opt/local/lib/proj49/include/org_proj4_Projections.h
 /opt/local/include/

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56150#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list