[GRASS-dev] compiling in osgeo4w - configure: error: *** Unable to locate zlib library.

Hi Jürgen,

On Sat, 12. Feb 2011 at 21:04:31 +0100, Helmut Kudrnovsky wrote:

if i comment out line 112-114 of cpl_config.h:

/* VC6 doesn't known intptr_t */
#if (_MSC_VER <= 1200)

I suppose that should read

#if defined(_MSC_VER) && (_MSC_VER <= 1200)

to work with MinGW. Does the following patch work for you?
I'm unsure about the second hunk.

with this changes in cpl_config.h, the issues with io.h and cpl_config.h are gone
and compiling is starting normally.

Helmut

___________________________________________________________
WEB.DE DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt mit
gratis Handy-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2

Hi Helmut,

On Sat, 12. Feb 2011 at 22:53:58 +0100, Helmut Kudrnovsky wrote:

with this changes in cpl_config.h, the issues with io.h and cpl_config.h are gone
and compiling is starting normally.

Thanks. Frank Warmerdam already applied that patch to GDAL.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de

--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

Hi,

2011/2/13 Jürgen E. <jef@norbit.de>:

On Sat, 12. Feb 2011 at 22:53:58 +0100, Helmut Kudrnovsky wrote:

with this changes in cpl_config.h, the issues with io.h and cpl_config.h are gone
and compiling is starting normally.

Thanks. Frank Warmerdam already applied that patch to GDAL.

thanks! BTW, when the change could appear also in osgeo4w gdal package?

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

when trying to recover wingrass daily builds I am always getting

checking whether to use OpenGL... yes
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for glBegin in -lGL... no
checking for glBegin in -lGL... no
checking for glBegin in -lGL... no
checking for glBegin in -lGL... no
configure: error: *** Unable to locate OpenGL library.

regardless of --with-opengl, even for `--with-opengl=no` I am getting
`checking whether to use OpenGL... yes`, mysterious.

Moreover

checking host system type... config.sub: missing argument
Try `config.sub --help' for more information.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi Martin,

On Fri, 18. Feb 2011 at 18:29:59 +0100, Martin Landa wrote:

when trying to recover wingrass daily builds I am always getting

checking whether to use OpenGL... yes
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for glBegin in -lGL... no
checking for glBegin in -lGL... no
checking for glBegin in -lGL... no
checking for glBegin in -lGL... no
configure: error: *** Unable to locate OpenGL library.

My last configure log reads:

checking whether to use OpenGL... windows
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for OpenGL library... found
checking for GLU library... found

But that's at the RC1 tag. Switching back to the 6.4 develbranch now...

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de

--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

On 11-02-18 11:36 AM, Martin Landa wrote:

Hi,

2011/2/13 Jürgen E.<jef@norbit.de>:

On Sat, 12. Feb 2011 at 22:53:58 +0100, Helmut Kudrnovsky wrote:

with this changes in cpl_config.h, the issues with io.h and cpl_config.h are gone
and compiling is starting normally.

Thanks. Frank Warmerdam already applied that patch to GDAL.

thanks! BTW, when the change could appear also in osgeo4w gdal package?

Martin,

I have uploaded a new gdal package today that should have the changes.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent

Hi Frank,

2011/2/19 Frank Warmerdam <warmerdam@pobox.com>:

[...]

I have uploaded a new gdal package today that should have the changes.

thanks a lot, Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

2011/2/18 Jürgen E. <jef@norbit.de>:

checking whether to use OpenGL... windows
checking for location of OpenGL includes...
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for location of OpenGL library...
checking for OpenGL library... found
checking for GLU library... found

yes, it was working before osgeo4w changes which broke winGRASS native
installer. I felt it's a right occasion to install osgeo4w from
scratch and to updated wiki page [1] accordingly. This environment is
used for daily winGRASS builds [2]. The result is

Sat Feb 19 14:00:11 GMT 2011: STARTING configure
configure: error: can not find install-sh or install.sh in . ./.. ./../..

Not sure which package could be missing. Do you have any idea what
could be wrong?

Martin

[1] http://trac.osgeo.org/grass/wiki/CompileOnWindows
[2] http://josef.fsv.cvut.cz/wingrass

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Hi,

2011/2/19 Martin Landa <landa.martin@gmail.com>:

Sat Feb 19 14:00:11 GMT 2011: STARTING configure
configure: error: can not find install-sh or install.sh in . ./.. ./../..

Not sure which package could be missing. Do you have any idea what
could be wrong?

ops, sorry for the noise. Not only my osgeo4w environment is broken,
but also me (maybe I should rest a bit:-). The file hasn't been simply
downloaded from SVN. So please ignore this message.

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa