[GEOS] #753: cannot build geos 3.5.0

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[GEOS] #753: cannot build geos 3.5.0

geos-2
#753: cannot build geos 3.5.0
------------------------+--------------------------
 Reporter:  rashadkm    |      Owner:  geos-devel@…
     Type:  defect      |     Status:  new
 Priority:  major       |  Milestone:  3.5.1
Component:  Default     |    Version:  3.5.0
 Severity:  Unassigned  |   Keywords:
------------------------+--------------------------
 trying to make geos 3.5.0 package for osgeo4w.

 include could not find load file: GenerateSourceGroups



 {{{

 -- Looking for stddef.h - found
 -- Check size of __int64
 -- Check size of __int64 - done
 -- Performing Test HAVE_STD_ISNAN
 -- Performing Test HAVE_STD_ISNAN - Failed
 -- Performing Test HAVE_ISNAN
 -- Performing Test HAVE_ISNAN - Success
 -- Performing Test HAVE_STD_ISFINITE
 -- Performing Test HAVE_STD_ISFINITE - Failed
 -- Performing Test HAVE_FINITE
 -- Performing Test HAVE_FINITE - Success
 -- Generating revision header
 C:/OSGeo4W/usr/src/osgeo4w/geos/geos-3.5.0/geos_svn_revision.h
 Can't fetch local revision (neither .svn nor .git found)
 Not updating existing rev file at GEOS_SVN_REVISION
 CMake Error at CMakeLists.txt:326 (include):
   include could not find load file:

     GenerateSourceGroups


 CMake Error at include/CMakeLists.txt:57 (GenerateSourceGroups):
   Unknown CMake command "GenerateSourceGroups".


 -- Configuring incomplete, errors occurred!
 See also
 "C:/OSGeo4W/usr/src/osgeo4w/geos/geos-3.5.0-build/CMakeFiles/CMakeOutput.log".
 See also
 "C:/OSGeo4W/usr/src/osgeo4w/geos/geos-3.5.0-build/CMakeFiles/CMakeError.log".

 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0-build>cmake --build . --config
 Release --target INSTALL
 NMAKE : fatal error U1073: incapable d'obtenir 'INSTALL'

 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  new
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 geos source downloaded from
 http://download.osgeo.org/geos/geos-3.5.0.tar.bz2

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:1>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------
Changes (by mloskot):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 CMake (still) assumes you build source tree checked out from SVN or Git
 repository, not from the package.

 Try this fixed CMakeLists.txt from trunk in r4112

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:2>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 Thanks for the quick fix.

 I cannot checkout from svn as I am preparing a package for OSGeo4W.

 Is it possible to get a n updated source archive with this patch. ?

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:3>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by mloskot):

 No. First you need to check it out or just download CMakeLists.txt
 (https://trac.osgeo.org/geos/browser/trunk/CMakeLists.txt?rev=4112&format=txt),
 and test if solution works for you. Once you have tested it and confirmed
 it's sound, the package may be updated.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:4>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 Replying to [comment:4 mloskot]:
 > No. First you need to check it out or just download CMakeLists.txt
 (https://trac.osgeo.org/geos/browser/trunk/CMakeLists.txt?rev=4112&format=txt),
 and test if solution works for you. Once you have tested it and confirmed
 it's sound, the package may be updated.

 okay. seems fair. I will test it tomorrow and update to you.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:5>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 it is not working. the same problem. The error that there is no
 GenerateSourceGroups.cmake file existing in the source tree.

 https://trac.osgeo.org/geos/browser/trunk/CMakeLists.txt#L329

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:6>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 I found the file in here
 https://trac.osgeo.org/geos/browser/trunk/cmake/modules. but it is not
 found in the downloaded archive.

 copying the file from trac.osgeo.org into geos-3.5.0/cmake/modules fixed
 the problem for me

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:7>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 another error;

 BufferOp.cpp
 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0\src\operation\buffer\BufferOp.cpp(92)
 : error C2589: '(' : illeg
 al token on right side of '::'
 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0\src\operation\buffer\BufferOp.cpp(92)
 : error C2059: syntax erro
 r : '::'
 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0\src\operation\buffer\BufferOp.cpp(92)
 : error C2589: '(' : illeg
 al token on right side of '::'
 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0\src\operation\buffer\BufferOp.cpp(92)
 : error C2589: '(' : illeg
 al token on right side of '::'
 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0\src\operation\buffer\BufferOp.cpp(92)
 : error C2589: '(' : illeg
 al token on right side of '::'
 C:\OSGeo4W\usr\src\osgeo4w\geos\geos-3.5.0\src\operation\buffer\BufferOp.cpp(92)
 : error C2589: '(' : illeg
 al token on right side of '::'
 NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe'á: code
 retour '0x2'
 Stop.
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
 Studio 10.0\VC\BIN\nmake.exe"'á: code
 retour '0x2'
 Stop.
 NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
 Studio 10.0\VC\BIN\nmake.exe"'á: code
 retour '0x2'
 Stop.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:8>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 sucessfully built geos 3.5.0 for osgeo4W 32bit

 1. geos-3.5.0.tar.gz from
 http://download.osgeo.org/geos/geos-3.5.0.tar.bz2
 2.
 https://trac.osgeo.org/geos/browser/trunk/CMakeLists.txt?rev=4112&format=txt
 3.
 https://trac.osgeo.org/geos/browser/trunk/cmake/modules/GenerateSourceGroups.cmake?format=txt

 and  when running cmake, I added -DCMAKE_CXX_FLAGS:STRING="-DNOMINMAX"

 TODO:
 backport (2) and (3) to 3.5.0 release
 include -DNOMINMAX patch inside the (1) if compiler is MSVC.
 optional. I would also added /EHsc for msvc compiler in the cmakelists.txt

 Do you prefer to create a patch against trunk?

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:9>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by mloskot):

 Replying to [comment:9 rashadkm]:
 > sucessfully built geos 3.5.0 for osgeo4W 32bit
 >
 > 1. geos-3.5.0.tar.gz from
 http://download.osgeo.org/geos/geos-3.5.0.tar.bz2
 > 2.
 https://trac.osgeo.org/geos/browser/trunk/CMakeLists.txt?rev=4112&format=txt
 > 3.
 https://trac.osgeo.org/geos/browser/trunk/cmake/modules/GenerateSourceGroups.cmake?format=txt
 >
 > and  when running cmake, I added -DCMAKE_CXX_FLAGS:STRING="-DNOMINMAX"
 >
 > TODO:
 > backport (2) and (3) to 3.5.0 release
 > include -DNOMINMAX patch inside the (1) if compiler is MSVC.
 > optional. I would also added /EHsc for msvc compiler in the
 cmakelists.txt
 >
 > Do you prefer to create a patch against trunk?


 Great job. That is the testing I was asking for.

 No need for patch, I will merge the related changes from trunk to
 branches/3.5.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:10>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by mloskot):

 Fixes merged from trunk into branches/3.5 (r4115).

 Regarding publishing new source package, please post request to geos-devel
 mailing list.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:11>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by rashadkm):

 Thanks. I will post to geos-devel for updating source archive.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:12>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by Mateusz Loskot <mateusz@…>):

 In [changeset:"c1682daa78f2ab33c374572de98059b0b62027c7/git"
 c1682daa/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="c1682daa78f2ab33c374572de98059b0b62027c7"
 CMake should not try to generate geos_svn_revision.h if GEOS is built from
 packaged sources.
 Fixes #753

 git-svn-id: http://svn.osgeo.org/geos/trunk@4112 5242fede-
 7e19-0410-aef8-94bd7d2200fb
 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:13>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by Mateusz Loskot <mateusz@…>):

 In [changeset:"c1682daa78f2ab33c374572de98059b0b62027c7/git"
 c1682daa/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="c1682daa78f2ab33c374572de98059b0b62027c7"
 CMake should not try to generate geos_svn_revision.h if GEOS is built from
 packaged sources.
 Fixes #753

 git-svn-id: http://svn.osgeo.org/geos/trunk@4112 5242fede-
 7e19-0410-aef8-94bd7d2200fb
 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:14>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
------------------------+---------------------------
 Reporter:  rashadkm    |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.5.1
Component:  Default     |     Version:  3.5.0
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------

Comment (by Mateusz Loskot <mateusz@…>):

 In [changeset:"c1682daa78f2ab33c374572de98059b0b62027c7/git"
 c1682daa/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="c1682daa78f2ab33c374572de98059b0b62027c7"
 CMake should not try to generate geos_svn_revision.h if GEOS is built from
 packaged sources.
 Fixes #753

 git-svn-id: http://svn.osgeo.org/geos/trunk@4112 5242fede-
 7e19-0410-aef8-94bd7d2200fb
 }}}

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:15>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
-----------------------------------+---------------------------
 Reporter:  rashadkm               |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  reopened
 Priority:  major                  |   Milestone:  3.6.2
Component:  Build/Install (cmake)  |     Version:  3.6.1
 Severity:  Unassigned             |  Resolution:
 Keywords:                         |
-----------------------------------+---------------------------
Changes (by manuelgrizonnet):

 * status:  closed => reopened
 * cc: manuelgrizonnet (added)
 * component:  Default => Build/Install (cmake)
 * version:  3.5.0 => 3.6.1
 * milestone:  3.5.1 => 3.6.2
 * resolution:  fixed =>


Comment:

 The file cmake/modules/GenerateSourceGroups.cmake is not available in geos
 3.6.1 source archive (http://download.osgeo.org/geos/geos-3.6.1.tar.bz2)
 which prevent to compile it using cmake on Linux.

 This bug was discussing several problems which where fixed in trunk and
 branch 3.5 but I'm not sure what prevent to add this macro to geos source
 package. I'm perhaps missing something here.

 Regards,

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:16>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
-----------------------------------+---------------------------
 Reporter:  rashadkm               |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  closed
 Priority:  major                  |   Milestone:  3.6.2
Component:  Build/Install (cmake)  |     Version:  3.6.1
 Severity:  Unassigned             |  Resolution:  fixed
 Keywords:                         |
-----------------------------------+---------------------------
Changes (by mloskot):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 > I'm perhaps missing something here.

 Just do not use CMake to build GEOS, especially if 0) you don't want to
 use experimental build configuration 1) it is not working for you 2) you
 are not able to patch & fix it.

 It is indicated in red that  **The official build system is the GNU
 Automake o**
 https://trac.osgeo.org/geos/wiki/BuildingOnUnixWithCMake

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:17>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
-----------------------------------+---------------------------
 Reporter:  rashadkm               |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  closed
 Priority:  major                  |   Milestone:  3.6.2
Component:  Build/Install (cmake)  |     Version:  3.6.1
 Severity:  Unassigned             |  Resolution:  fixed
 Keywords:                         |
-----------------------------------+---------------------------

Comment (by rashadkm):

 I guess fixing this bug is not hard. But to go unoffical on cmake support
 for this seems bad IMHO.

 in case of projects with cross build, cmake does a nice job rather than
 using switching between nmake and autconf for windows and otherwise.

 btw, the red text in wiki says official cmake support since 3.5.0.

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:18>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #753: cannot build geos 3.5.0

geos-2
In reply to this post by geos-2
#753: cannot build geos 3.5.0
-----------------------------------+---------------------------
 Reporter:  rashadkm               |       Owner:  geos-devel@…
     Type:  defect                 |      Status:  closed
 Priority:  major                  |   Milestone:  3.6.2
Component:  Build/Install (cmake)  |     Version:  3.6.1
 Severity:  Unassigned             |  Resolution:  fixed
 Keywords:                         |
-----------------------------------+---------------------------

Comment (by manuelgrizonnet):

 Replying to [comment:17 mloskot]:
 > > I'm perhaps missing something here.
 >
 > Just do not use CMake to build GEOS, especially if 0) you don't want to
 use experimental build configuration 1) it is not working for you 2) you
 are not able to patch & fix it.
 >
 > It is indicated in red that  **The official build system is the GNU
 Automake** - https://trac.osgeo.org/geos/wiki/BuildingOnUnixWithCMake

 Sorry I did not put much context to explain why I reopened the discussion.
 I was updating the geos version from 3.5 to 3.6 in the orfeo toolbox
 superbuild which compiles geos using cmake.

 I was able to patch & fix the issue by just adding the cmake macro
 GenerateSourceGroups to the geos source tree:

 https://github.com/orfeotoolbox/OTB/blob/update_superbuild_6.2/SuperBuild/patches/GEOS/geos-1
 -fixes-all.diff

 geos 3.6.1 compiles with cmake without error now. Let me know if there is
 something I can contribute upstream to improve the support of cmake.

 Best,

 Manuel

--
Ticket URL: <https://trac.osgeo.org/geos/ticket/753#comment:19>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).

_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel
12