[GRASS-user] Grass-GIS 6.4 on OSX

Richard Chirgwin rchirgwin at ozemail.com.au
Wed Nov 26 02:44:59 EST 2008


First, an embarrassed 'mea culpa' about the menus. I'm so accustomed to
dragging the GIS manager to my second screen that I didn't even look at
the primary screen for the menus! Sorry 'bout that ... <blush>

Now for the serious stuff ...

William Kyngesburye wrote:
> On Nov 25, 2008, at 11:22 PM, Glynn Clements wrote:
>
>> First, note that the Xerces check in the v.in.wfs script is broken; it
>> uses "ldd", which (AFAIK) is specifc to Linux. You might want to try
>> removing the lines:
>>
>> if [ -z "`ldd $OGRINFO | grep xerces`" ] ; then
>> g.message -e "OGR needs to be compiled with xerces-c support"
>> exit 1
>> fi
>>
>> from the $GISBASE/scripts/v.in.wfs file.
>>
> Even if there is a similar tool on OSX (otool provides that info),
> this will only work if Xerces is linked as a shared library. I build
> my GDAL framework with a static Xerces since GDAL is the only thing
> I've encountered so far that uses it.
>
>
> I see another problem - OSX does not have lynx. Wouldn't curl or wget
> work for this, and be more universally available? (curl for OSX)
So which would be safer, to remove the check from v.in.wfs, or try some
other workaround?

By the way, the error from v.in.wfs is "OGR needs to be compiled with
xerces-c support".

RC
>
>> Other than that, I don't know whether William's GDAL framework
>> includes Xerces. If it doesn't, you'll probably need to build GDAL
>> (and possibly Xerces itself) from source.
>>
> It does.
>
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "History is an illusion caused by the passage of time, and time is an
> illusion caused by the passage of history."
>
> - Hitchhiker's Guide to the Galaxy
>
>
>



More information about the grass-user mailing list