[Qgis-developer] Mac OSX - Clean machine setup issues

Martin Dobias wonder.sk at gmail.com
Thu Feb 8 02:09:53 EST 2007


On 2/5/07, Tom Elwertowski <telwertowski at comcast.net> wrote:
> Martin Dobias wrote:
> > On 2/5/07, Tom Elwertowski <telwertowski at comcast.net> wrote:
> >> Martin Dobias wrote:
> >> > I've added the paths so you shouldn't need to specify GSL_CONFIG,
> >> > GDAL_CONFIG and GRASS_PREFIX on Mac anymore.
> >>
> >> -- Found Proj: /Library/Frameworks/proj.framework
> >> -- Found Sqlite3: /Library/Frameworks/sqlite3.framework
> >> -- Found GEOS: /Library/Frameworks/geos.framework
> >> -- Found GDAL: /usr/local/lib/libgdal.so
> >>
> >> The latest change still finds the library even though the framework is
> >> present. Also, the library filename is libgdal.dylib not libgdal.so.
> >
> > CMake searches first directories in PATH, then the additional
> > specified directories - that's why it has chosen GDAL in /usr/local in
> > your case.
>
> There are copies of proj, sqlite3, geos and gdal in both /usr/local and
> /Library/Frameworks. Why wouldn't the search path be the same for all
> searches?

Probably because search for GDAL works differently - while some other
packages search directly for libs and include dirs, GDAL search looks
for gdal-config. So if you modify PATH to search in frameworks first I
think it will work well.

Martin



More information about the Qgis-developer mailing list