Re: [geos-devel] [#317] Build configuration for CMake build system

2010-02-04 Thread Mateusz Loskot
strk wrote: On Sat, Jan 30, 2010 at 04:05:50AM +, Mateusz Loskot wrote: The geostest no longer exists in tests/unit I presume you are have old source tree nodes still in your copy. I tried with r2901 on a debian 5.0.3 (sorry if I'm following up with different systems, just I can't

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-29 Thread Mateusz Loskot
Sandro Santilli wrote: On Wed, Jan 27, 2010 at 10:13:45PM +, Mateusz Loskot wrote: http://trac.osgeo.org/geos/ticket/317#comment:21 I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes for me. Could you give it another shot and test? I will shortly. Meanwhile

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-28 Thread Sandro Santilli
On Wed, Jan 27, 2010 at 10:13:45PM +, Mateusz Loskot wrote: http://trac.osgeo.org/geos/ticket/317#comment:21 I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes for me. Could you give it another shot and test? I will shortly. Meanwhile here's a test on OpenSUSE:

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-28 Thread Sandro Santilli
On Wed, Jan 27, 2010 at 10:13:45PM +, Mateusz Loskot wrote: I explicitly add -D_ISOC99_SOURCE=1 for checks of isfinite and it passes for me. Could you give it another shot and test? -- Performing Test HAVE_STD_ISNAN -- Performing Test HAVE_STD_ISNAN - Success -- Performing Test

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-27 Thread Mateusz Loskot
Sandro Santilli wrote: On Sat, Jan 23, 2010 at 2:40 AM, Mateusz Loskot mate...@loskot.net wrote: The CMakeLists.txt in root was performing incorrect checks. It should be fine now, I hope. Still no lack. platform.h dropped, cmake ../trunk re-run. The new platform still doesn't contain any

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-26 Thread Sandro Santilli
On Mon, Jan 25, 2010 at 10:17:34PM +, Mateusz Loskot wrote: The problem is not with CMake, but looks like GCC is a mess :-) Interesting analisys :) #include math.h #ifdef isfinite #error isfinite defined #else #error isfinite NOT defined #endif I guess you just can't expect isfinite

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-26 Thread Mateusz Loskot
Sandro Santilli wrote: On Mon, Jan 25, 2010 at 10:17:34PM +, Mateusz Loskot wrote: #include math.h #ifdef isfinite #error isfinite defined #else #error isfinite NOT defined #endif I guess you just can't expect isfinite to necessarely be a macro. It could be a real function too. No.

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-24 Thread Sandro Santilli
On Sat, Jan 23, 2010 at 2:40 AM, Mateusz Loskot mate...@loskot.net wrote: The CMakeLists.txt in root was performing incorrect checks. It should be fine now, I hope. Still no lack. platform.h dropped, cmake ../trunk re-run. The new platform still doesn't contain any valid FINITE function: /*

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-22 Thread Mateusz Loskot
strk wrote: On Wed, Jan 20, 2010 at 11:05:40PM +, Mateusz Loskot wrote: strk wrote: /usr/src/geos/cmake_build/include/geos/platform.h:147:3: error: #error Could not find finite or isfinite function or macro! make[2]: ***

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-21 Thread strk
On Wed, Jan 20, 2010 at 11:05:40PM +, Mateusz Loskot wrote: strk wrote: /usr/src/geos/cmake_build/include/geos/platform.h:147:3: error: #error Could not find finite or isfinite function or macro! make[2]: ***

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-20 Thread Mateusz Loskot
strk wrote: On Mon, Jan 18, 2010 at 09:31:26PM +, Mateusz Loskot wrote: I have added GEOS build configuration for CMake (http://www.cmake.org/) build system. Great! I've tried the cmake ../trunk make run and got linking error: Linking CXX executable geos_unit

[geos-devel] [#317] Build configuration for CMake build system

2010-01-18 Thread Mateusz Loskot
Folks, I have added GEOS build configuration for CMake (http://www.cmake.org/) build system. Here are details: http://trac.osgeo.org/geos/ticket/317 I decided to do it as I believe it will help to minimise efforts to maintain build configurations for systems and compilers GEOS supports. CMake

Re: [geos-devel] [#317] Build configuration for CMake build system

2010-01-18 Thread Mateusz Loskot
Paul Ramsey wrote: Mats, I'm quite interested in CMake, thanks for taking the time to put one in for GEOS. The main thing stopping me from pursuing CMake has been lack of time to start from scratch and learn, and now you've provided me a template to work from. I think we should drop