[postgis-users] Re: make errors GEOS 2.1.0 on mingw
strk at refractions.net
strk at refractions.net
Mon Dec 6 02:03:22 PST 2004
On Mon, Dec 06, 2004 at 03:47:23AM +0000, Richard Greenwood wrote:
> Richard Greenwood <richard.greenwood <at> gmail.com> writes:
>
> >
> > Trying to build from latest CVS I get:
> >
> > In file included from ../geomgraph/EdgeList.cpp:19:
> > ../../source/headers/geos/profiler.h:27:26: geos/timeval.h: No such
> > file or directory
> >
> > I believe this was discussed in a previous thread titled "Error
> > compiling geos 2.1.0 on Windows/MinGW" but I could not understand the
> > solution.
> >
>
> Following up on my previous post: I fetched timeval.h from
> http://mywebpage.netscape.com/yongweiwu/timeval.h.txt
> and placed it in geos-2.1.0/source/headers/geos
Current CVS does have geos/timeval.h, but it was missing in the
installation directory (now fixed).
Did you download a snapshot from the web ?
> In profiler.h I had to comment out
> #ifndef _MSC_VER
> # include <sys/time.h>
> #endif
> but that is probably because I have MSVC variables defined in my environment.
>
> GEOS now appears to build correctly.
I think you can completely delete those tree lines as timeval.h includes
sys/time.h #ifndef _WIN32. Or you need sys/time.h ?
--strk;
>
> Regards,
> Rich
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list