[osgeo4w-dev] [osgeo4w] #843: running bootstrap.sh on new machine

OSGeo4W trac_osgeo4w at osgeo.org
Sun Jul 21 10:52:45 PDT 2024


#843: running bootstrap.sh on new machine
-------------------+----------------------------
Reporter:  rkolka  |       Owner:  osgeo4w-dev@…
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  Package
 Version:          |  Resolution:
Keywords:  gsl     |
-------------------+----------------------------
Description changed by rkolka:

Old description:

> I tried to run bootstrap.sh on a fresh machine.
> I've overcome 3 build errors, but I'm currently unable to overcome the
> 4th.
> That is when building gsl. Spcifically
> src\gsl\gsl\build.vc\gslhdrs\gslhdrs.vcxproj.
>
> {{{
> PreBuildEvent:
>   copy ..\gsl_version.h ..\..\gsl
>   :VCEnd
>   The system cannot find the file specified.
> }}}
>

> Before that, I had to make the following changes.
> ----
> 1.
> {{{
> /scripts/genini:41
> -my $alllicenses = 0;
> +my $alllicenses = 1;
> }}}
> Otherwise I get:
> {{{
> license.map not found at /cygdrive/d/Code/OSGeo4W/scripts/genini line 64.
> }}}
>
> ----
> 2.
> {{{
> /src/apache/osgeo4w/package.sh:2
> -export V=2.4.58
> +export V=2.4.61
> /src/apache/osgeo4w/package.sh:16
> -z=httpd-$V-240131-win64-VS17.zip
> +z=httpd-$V-240703-win64-VS17.zip
> }}}
>
> Otherwise I get:
> {{{
> unzip:  cannot find zipfile directory in one of
> httpd-2.4.58-240131-win64-VS17.zip ...
> }}}
> ----
> 3.
> {{{
> /src/gsl/osgeo4w/package.sh:12
> -[ -f master.tar.gz ] || wget
> https://github.com/BrianGladman/gsl/archive/master.tar.gz
> +[ -f vs_build.tar.gz ] || wget
> https://github.com/BrianGladman/gsl/archive/vs_build.tar.gz
>
> /src/gsl/osgeo4w/package.sh:13
> -[ -f ../$P/build.vc ] || tar -C .. -xzf master.tar.gz --xform "s,^gsl-
> master,$P,"
> +[ -f ../$P/build.vc ] || tar -C .. -xzf vs_build.tar.gz --xform "s,^gsl-
> vs_build,$P,"
> }}}
> Otherwise I get
> {{{
> package.sh: line 19: cd: ../gsl/build.vc: No such file or directory
> }}}

New description:

 I tried to run bootstrap.sh on a fresh machine.
 I've overcome 3 build errors, but I'm currently unable to overcome the
 4th.
 That is when building gsl. Spcifically
 src\gsl\gsl\build.vc\gslhdrs\gslhdrs.vcxproj. Build log attached.

 {{{
 PreBuildEvent:
   copy ..\gsl_version.h ..\..\gsl
   :VCEnd
   The system cannot find the file specified.
 }}}


 Before that, I had to make the following changes.
 ----
 1.
 {{{
 /scripts/genini:41
 -my $alllicenses = 0;
 +my $alllicenses = 1;
 }}}
 Otherwise I get:
 {{{
 license.map not found at /cygdrive/d/Code/OSGeo4W/scripts/genini line 64.
 }}}

 ----
 2.
 {{{
 /src/apache/osgeo4w/package.sh:2
 -export V=2.4.58
 +export V=2.4.61
 /src/apache/osgeo4w/package.sh:16
 -z=httpd-$V-240131-win64-VS17.zip
 +z=httpd-$V-240703-win64-VS17.zip
 }}}

 Otherwise I get:
 {{{
 unzip:  cannot find zipfile directory in one of
 httpd-2.4.58-240131-win64-VS17.zip ...
 }}}
 ----
 3.
 {{{
 /src/gsl/osgeo4w/package.sh:12
 -[ -f master.tar.gz ] || wget
 https://github.com/BrianGladman/gsl/archive/master.tar.gz
 +[ -f vs_build.tar.gz ] || wget
 https://github.com/BrianGladman/gsl/archive/vs_build.tar.gz

 /src/gsl/osgeo4w/package.sh:13
 -[ -f ../$P/build.vc ] || tar -C .. -xzf master.tar.gz --xform "s,^gsl-
 master,$P,"
 +[ -f ../$P/build.vc ] || tar -C .. -xzf vs_build.tar.gz --xform "s,^gsl-
 vs_build,$P,"
 }}}
 Otherwise I get
 {{{
 package.sh: line 19: cd: ../gsl/build.vc: No such file or directory
 }}}

--
-- 
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/843#comment:1>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.


More information about the osgeo4w-dev mailing list