Hi Tisham,
There are some issues with GDAL support on MINGW so the little ‘sed’ line hacks the libtool to work properly.
Please let me know if you need help with any particular steps.
Regards,
Tishampati Dhar
I built all following the wiki, using Paul Kelly’s prebuilt extralibs and your suggestions about gdal, grass-6.3.0RC4 and qgis 0.9.1, but I have linking problems (procedure entry point X509_STORE_set_flags could not be located in the dynamic link library libeay32.dll), so I decided to restart to build all. Probably I found some “things to change” in the wiki, but I don’t want to overbalance since I check everithing is working…
Now the question: is with-libtool necessary for gdal? because there are some things not clear to me about this passage… after building gdal level one, it says:
./configure --with-ngpython --with-xerces=/local/ --with-jasper=/local/ --with-grass=/local/grass-6.3.cvs/ --with-pg=/local/pgsql/bin/pg_config.exe
- neither python nor grass and postgresql are install at this step of the guide; how could that be? do I really need this “line” and the following “sed”?
- the same problem comes at the end of gdal level two… same questions
after that… I configured grass as follow:
export PATH=“/usr/local/bin:/usr/local/lib:$PATH”
./configure --prefix=/usr/local --bindir=/usr/local
–with-includes=/usr/local/include --with-libs=/usr/local/lib
–with-cxx --without-jpeg --without-tiff
–with-postgres --with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib
–with-opengl=windows --with-fftw
–with-freetype --with-freetype-includes=/usr/local/include/freetype2
–without-x
–with-tcltk --with-tcltk-includes=/c/programmi/tcl/include --with-tcltk-libs=/c/programmi/tcl/bin
–enable-x11=no --enable-shared=yes --with-proj-share=/usr/local/share/proj
–with-sqlite --with-sqlite-includes=/usr/local/include --with-sqlite-libs=/usr/local/lib
with this result:
GRASS is now configured for: i686-pc-mingw32
Source directory: /usr/local/src/grass-6.3.0RC4
Build directory: /usr/local/src/grass-6.3.0RC4
Installation directory: ${prefix}/grass-6.3.0RC4
Startup script in directory: /usr/local
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: Windows
NVIZ: yes
BLAS support: no
C++ support: yes
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GLw support: no
JPEG support: no
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: no
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
TIFF support: no
X11 support: no
MacOSX application: no
But also with the following warnings:
configure: warning: *** Unable to locate iconv() function.
configure: warning: *** Unable to locate socket() function.
configure: warning: *** --with-opengl=windows is untested.
I decided to add Tcl/Tk support to be able to test some new grass modules I added before to be “qgis ready”;
Thanks for your support,
Marco