[postgis-devel] PostGIS 2.2.6, 2.3.4, and 2.4.1

Regina Obe lr at pcorp.us
Fri Oct 20 09:36:59 PDT 2017


My point is I wasn't building with sh autogen.sh.  My script goes straight to configure.

 

But I see why I may have not been bitten by this.  Look at my directory

 

Those ._install-sh  I assume mingw is ignoring that

 

drwxr-xr-x 1 197108 197121    0 Oct 20 11:38 .

drwxr-xr-x 1 197108 197121    0 Oct 20 11:37 ..

-rw-r--r-- 1 197108 197121  239 Oct 20 08:48 ._config.guess

-rw-r--r-- 1 197108 197121  239 Oct 20 08:48 ._config.sub

-rw-r--r-- 1 197108 197121  239 Oct 20 08:48 ._install-sh

-rw-r--r-- 1 197108 197121  652 Sep 30 13:45 .drone.yml

-rw-r--r-- 1 197108 197121 1.1K Sep 14 13:31 .editorconfig

-rw-r--r-- 1 197108 197121  155 Aug  8 15:40 .gitattributes

-rw-r--r-- 1 197108 197121 4.4K May 28 16:48 .gitignore

-rw-r--r-- 1 197108 197121  637 Aug 23 13:17 .gitlab-ci.yml

-rw-r--r-- 1 197108 197121  979 Aug 10 17:08 .travis.yml

-rw-r--r-- 1 197108 197121  13K Oct 20 08:48 aclocal.m4

-rwxr-xr-x 1 197108 197121  744 Apr  6  2016 astyle.sh

-rw-r--r-- 1 197108 197121 1.5K Oct 17 10:36 authors.git

-rw-r--r-- 1 197108 197121 1.4K Oct 17 10:36 authors.svn

-rwxr-xr-x 1 197108 197121 2.1K May 13  2015 autogen.sh

-rw-r--r-- 1 197108 197121 1.6M Oct 18 14:32 ChangeLog

drwxr-xr-x 1 197108 197121    0 Oct 20 11:37 ci

-rwxr-xr-x 1 197108 197121  42K Oct 20 08:48 config.guess

-rw-r--r-- 1 197108 197121 268K Oct 20 11:38 config.log

-rwxr-xr-x 1 197108 197121  73K Oct 20 11:38 config.status

-rwxr-xr-x 1 197108 197121  36K Oct 20 08:48 config.sub

-rwxr-xr-x 1 197108 197121 598K Oct 20 08:48 configure

-rw-r--r-- 1 197108 197121  53K Sep 11 09:54 configure.ac

-rw-r--r-- 1 197108 197121  954 Oct 19  2015 CONTRIBUTING.md

-rw-r--r-- 1 197108 197121  18K Jun  4  2013 COPYING

-rw-r--r-- 1 197108 197121  147 May  3  2013 CREDITS

drwxr-xr-x 1 197108 197121    0 Oct 20 11:39 doc

drwxr-xr-x 1 197108 197121    0 Oct 20 11:37 docker

drwxr-xr-x 1 197108 197121    0 Oct 20 11:38 extensions

drwxr-xr-x 1 197108 197121    0 Oct 20 11:37 extras

drwxr-xr-x 1 197108 197121    0 Oct 20 11:37 fuzzers

-rw-r--r-- 1 197108 197121 3.5K Oct 20 11:38 GNUmakefile

-rw-r--r-- 1 197108 197121 3.5K Sep 26 12:23 GNUmakefile.in

-rwxr-xr-x 1 197108 197121  15K Oct 20 08:48 install-sh

drwxr-xr-x 1 197108 197121    0 Oct 20 11:39 liblwgeom

drwxr-xr-x 1 197108 197121    0 Oct 20 11:39 libpgcommon

-rwxr-xr-x 1 197108 197121 333K Oct 20 11:38 libtool

-rw-r--r-- 1 197108 197121 2.0K Oct 30  2013 LICENSE.TXT

drwxr-xr-x 1 197108 197121    0 Oct 20 11:39 loader

-rwxr-xr-x 1 197108 197121 317K Oct 20 08:48 ltmain.sh

drwxr-xr-x 1 197108 197121    0 Oct 20 11:37 macros

-rw-r--r-- 1 197108 197121  771 Feb 27  2012 Makefile

-rw-r--r-- 1 197108 197121 7.2K Mar 26  2012 MIGRATION

-rw-r--r-- 1 197108 197121  91K Oct 18 14:32 NEWS

drwxr-xr-x 1 197108 197121    0 Oct 20 11:40 postgis

-rw-r--r-- 1 197108 197121 5.6K Oct 20 11:38 postgis_config.h

-rw-r--r-- 1 197108 197121 5.1K Sep 26 12:23 postgis_config.h.in

-rw-r--r-- 1 197108 197121   35 Oct 20 08:48 postgis_svn_revision.h

drwxr-xr-x 1 197108 197121    0 Oct 20 11:38 raster

-rw-r--r-- 1 197108 197121 1.7K Sep 25 21:50 README.md

-rw-r--r-- 1 197108 197121 8.4K Oct 18 14:32 README.postgis

drwxr-xr-x 1 197108 197121    0 Oct 20 11:38 regress

-rw-r--r-- 1 197108 197121 4.9M Aug 27 03:02 spatial_ref_sys.sql

-rw-r--r-- 1 197108 197121 2.4K Feb 27  2012 STYLE

-rw-r--r-- 1 197108 197121 2.6K May 13  2015 TODO

drwxr-xr-x 1 197108 197121    0 Oct 20 11:39 topology

drwxr-xr-x 1 197108 197121    0 Oct 20 11:39 utils

-rw-r--r-- 1 197108 197121  755 Oct 18 14:32 Version.config

 

 

From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: Friday, October 20, 2017 11:58 AM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: Re: [postgis-devel] PostGIS 2.2.6, 2.3.4, and 2.4.1

 

If your process starts with ./autogen.sh then you won't notice this problem, because *your* call to glibtoolize will put install-sh into place.

If you start with ./configure however, you'll notice it. The configure-only workflow exists because traditionally projects (a) didn't want to force builders to install all the autotools and (b) autotools changed behaviour enough that relying on whatever combo of autotools folks might have resulted in unpredictable results compared to just including a pre-built configure script in your tarball.


P

 

On Fri, Oct 20, 2017 at 8:54 AM, Regina Obe <lr at pcorp.us <mailto:lr at pcorp.us> > wrote:

Is this something that doesn't effect everyone using the tar ball?

I just tested my build from tar ball script -- building the 2.4.1 that Paul packaged.

My build/install from tar ball script doesn't have an autogen.sh step, yet it built and installed fine and I can confirm I can do CREATE EXTENSION postgis VERSION "2.4.1" after



-----Original Message-----
From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org <mailto:postgis-devel-bounces at lists.osgeo.org> ] On Behalf Of Sebastiaan Couwenberg
Sent: Friday, October 20, 2017 5:48 AM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org> >
Subject: Re: [postgis-devel] PostGIS 2.2.6, 2.3.4, and 2.4.1

On 10/20/2017 10:31 AM, Devrim G�nd�z wrote:
> configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

Just run autogen.sh before configure.

Retooling the build system is a packaging best practice any way.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/postgis-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20171020/f7c1070c/attachment.html>


More information about the postgis-devel mailing list