marco.pasetti@alice.it wrote:
Hi Benjamin,
I'm afraid that you're doing that work right now, and not a week before
because I just released a new MSYS GRASS environment, while it would be
perfect to also add Xerces and Expat support to both GDAL and GRASS
(only Xerces)
it will be on the next time
That's OK, there are plenty more things that need further work, anyway.
anyway I'm not sure about Expat; did you read this?
http://trac.osgeo.org/gdal/wiki/BuildingWithMinGWthe libexpat.dll.a is the import static library used while building the
shared one; it is used (with the -lexpat.dll istruction) while building
executables
but I hope to fail and you're right
Welcome to Windows' "DLL hell". You would not believe the mess that
shared libraries are under Win32. Apparently, symbols to be used at
linking tine can be included in the actual DLL or an external library
file, the format of which depends on the C compiler. So you have .dll,
.dll.a, .lib, .a, .la, .lai files floating around ...
As far as I can see, in the case of Expat, all necessary symbols
are in expat-1.dll. At least the little test program I compiled worked
alright with it.
If anything comes up, I will report it to the list.
Best,
Benjamin
Marco
------------------------------------------------------------------------
*Da:* grass-dev-bounces@lists.osgeo.org per conto di
benjamin.ducke@ufg.uni-kiel.de
*Inviato:* mar 04/03/2008 14.41
*A:* grass-dev@lists.osgeo.org
*Oggetto:* Re: R: [GRASS-dev] WinGRASS: Xerces-C and Expat under MingW... and on to Expat:
that one is very simple to fix. After the "make install", just
stay in the Expat source dir and do:rm /usr/lib/libexpat.dll.a
install .libs/libexpat-1.dll /usr/lib/libexpat.dll
(that's assuming you have Expat installed in /usr/lib,
of course).I have not actually tried compiling the whole of GDAL with
Xerces-C and Expat support yet, only got the configure
script to run through.So there might be more trouble waiting ...
Best,
Benjamin
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev------------------------------------------------------------------------
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
--
Benjamin Ducke
Senior Applications Support and Development Officer
Oxford Archaeological Unit Limited
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.
Tel.: ++44 (0)1865 263 800
benjamin.ducke@oxfordarch.co.uk