Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-07 Thread Roger Bivand
On Fri, 7 May 2021, Roger Bivand wrote: On Fri, 7 May 2021, Even Rouault wrote: Yes, of course you are right, thanks! After removing it and with /usr/local/lib64/pkgconfig on the path (it was there before, but after /usr/local/lib/pkgconfig): $ pkg-config geos --libs -lgeos_c $

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-07 Thread Roger Bivand
On Fri, 7 May 2021, Even Rouault wrote: Yes, of course you are right, thanks! After removing it and with /usr/local/lib64/pkgconfig on the path (it was there before, but after /usr/local/lib/pkgconfig): $ pkg-config geos --libs -lgeos_c $ pkg-config geos --libs-only-L $ pkg-config

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-07 Thread Even Rouault
Yes, of course you are right, thanks! After removing it and with /usr/local/lib64/pkgconfig on the path (it was there before, but after /usr/local/lib/pkgconfig): $ pkg-config geos --libs -lgeos_c $ pkg-config geos --libs-only-L $ pkg-config geos --libs-only-l -lgeos_c $ pkg-config geos

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-07 Thread Even Rouault
Roger, $ pkg-config geos --libs -L/usr/local/lib -lgeos_c which remains curious. Check if you don't have a /usr/local/lib/pkgconfig/geos.pc file and/or set PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig Even -- http://www.spatialys.com My software is free, but my time generally not.

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-07 Thread Roger Bivand
On Fri, 7 May 2021, Even Rouault wrote: Roger, $ pkg-config geos --libs -L/usr/local/lib -lgeos_c which remains curious. Check if you don't have a /usr/local/lib/pkgconfig/geos.pc file Yes, of course you are right, thanks! After removing it and with /usr/local/lib64/pkgconfig on the

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-07 Thread Roger Bivand
Thanks, git apply 447.diff worked after rolling back the incomplete patch from current gitea. I now see: $ geos-config --static-clibs -L/usr/local/lib64 -lgeos_c -lgeos -lm $ geos-config --clibs -L/usr/local/lib64 -lgeos_c which look healthy, and: $ cat /usr/local/bin/geos-config #!/bin/sh

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-06 Thread Mike Taves
On Fri, 7 May 2021 at 00:19, Roger Bivand wrote: > > I ran: > > $ cat 447.diff | patch -p1 -c -b > patching file tools/CMakeLists.txt > patching file tools/geos-config.cmake > patching file tools/geos-config.in > patching file tools/geos.pc.cmake I get this too, but on inspection it didn't

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-06 Thread Regina Obe
> Thanks - what would be the best way for me to patch my instance of the > gitea repo to check that this works? Can I get a regular diff from a git PR? > > Roger > > On Thu, 6 May 2021, Mike Taves wrote: > > > Hi Roger, > > > > See https://github.com/libgeos/geos/pull/447 for a possible fix

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-06 Thread Roger Bivand
I ran: $ cat 447.diff | patch -p1 -c -b patching file tools/CMakeLists.txt patching file tools/geos-config.cmake patching file tools/geos-config.in patching file tools/geos.pc.cmake apparently successfully, but then see (running in a fresh build directory, CCACHE is turned off): $ cmake

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-06 Thread Mike Taves
On Thu, 6 May 2021 at 18:59, Roger Bivand wrote: > > Thanks - what would be the best way for me to patch my instance of the > gitea repo to check that this works? Can I get a regular diff from a git > PR? Just add .diff to the address: https://github.com/libgeos/geos/pull/447.diff And yes,

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-06 Thread Roger Bivand
Thanks - what would be the best way for me to patch my instance of the gitea repo to check that this works? Can I get a regular diff from a git PR? Roger On Thu, 6 May 2021, Mike Taves wrote: Hi Roger, See https://github.com/libgeos/geos/pull/447 for a possible fix for these issues.

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-05 Thread Mike Taves
Hi Roger, See https://github.com/libgeos/geos/pull/447 for a possible fix for these issues. Cheers, Mike ___ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel

Re: [geos-devel] Gitea 3.10.0dev cmake broken

2021-05-05 Thread Roger Bivand
Symlinks not needed, just adding /usr/local/lib64 so that ldconfig found the *.so in /usr/local/lib64, which nothing else had used before. The question however remains, was installing to lib64 a specific choice and why do neither geos.pc nor geos-config advertise it? Roger On Wed, 5 May

[geos-devel] Gitea 3.10.0dev cmake broken

2021-05-05 Thread Roger Bivand
Following the decision to drop autotools, I see that cmake generates (in the current state of the gitea repo) a geos-config that points to /usr/local/lib for installed shared objects on Linux, but installs in /usr/local/lib64, leading to other programs not finding them. I know that I can set