OpenTileServer icon indicating copy to clipboard operation
OpenTileServer copied to clipboard

opentileserver-ubuntu-20.sh - error install

Open Bear4 opened this issue 2 years ago • 0 comments

I'm trying to install in fresh Ubuntu 20.04 ./opentileserver-ubuntu-20.sh web bright http://download.geofabrik.de/europe/poland/podlaskie-latest.osm.pbf

and got error:

2022-02-17 09:43:46 (7,28 MB/s) - write `ne_10m_populated_places.zip' [2802277/2802277]
Archive:  ne_10m_populated_places.zip
  inflating: ne_10m_populated_places.README.html  
 extracting: ne_10m_populated_places.VERSION.txt  
 extracting: ne_10m_populated_places.cpg  
  inflating: ne_10m_populated_places.dbf  
  inflating: ne_10m_populated_places.prj  
  inflating: ne_10m_populated_places.shp  
  inflating: ne_10m_populated_places.shx  
/usr/bin/env: „python”: No such file or directory 

Do I need to install Python before?

And many warning e.g.

./src/store_file.c:173:44: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=]
  173 |     snprintf(string, PATH_MAX - 1, "file://%s", meta_path);

...

/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 8 and 4103 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Bear4 avatar Feb 17 '22 08:02 Bear4