From sethg at geographika.co.uk Sat Aug 1 01:39:37 2020 From: sethg at geographika.co.uk (Seth G) Date: Sat, 01 Aug 2020 10:39:37 +0200 Subject: [mapserver-users] Setting a connection host from ENV In-Reply-To: References: Message-ID: Hi Ben, The only environment variables used by MapServer are listed here [2] For updating other parameters I think you only have 2 choices: 1. Use runtime substitution https://mapserver.org/cgi/runsub.html#parameters-supported 2. Create deployment specific Mapfiles. There are a few choices for this - sed as you mentioned, but also MapScript. For a similar situation I use mappyfile [1] (a Python Mapfile parser). Seth [1] https://mappyfile.readthedocs.io/en/latest/#modifying-values [2] https://mapserver.org/environment_variables.html -- web:http://geographika.co.uk twitter: @geographika On Wed, Jul 29, 2020, at 4:44 PM, Ben Madin wrote: > G'day all, > > I am migrating a number of systems onto containers, and have hit a blocker with a solution with over 100 mapfiles, all of which refer to a database that is tucked away in a vpc in the cloud, with an a record for the connection host (ie host.cloud.com) > > I also have a copy of the database on a development machine (ie host.docker.internal) > > For most everything else in the docker world (our web interfaces etc), I can set use env variables in the container system, but I'm really struggling with how best to do this in this case. I can do a url variable for the connection parameter, and specify the database in every call... seems pretty clumsy, and not good practice really. but my attempts to reference environment variables in the mapfile have been very unsuccessful. > > Could I ask : > > a) is there actually a simpler way to achieve the same outcome, that I have completely missed, or > > b) does someone have an example of how to do it? > > c) is this actually just not possible, and I should just get my sed out before every deployment commit? > > cheers > > Ben > > > -- > > Ausvet Logo > > Dr Ben Madin > > BVMS MVPHMgmt PhD MANZCVS GAICD > > Managing Director > Mobile: > +61 448 887 220 > E-mail: > ben at ausvet.com.au > Website: > www.ausvet.com.au > Skype: benmadin > Address: > 5 Shuffrey Street > Fremantle, WA 6160 > Australia > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From joerg.thomsen at wheregroup.com Sun Aug 2 23:56:08 2020 From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=) Date: Mon, 3 Aug 2020 08:56:08 +0200 Subject: [mapserver-users] Layer templates dynamically overwritten bug? In-Reply-To: References: Message-ID: <06de779f-bf56-38d9-e258-0a8ae130b814@wheregroup.com> Hi, that's strange but on my experience it's very unlikely that this a bug. Aside from the fact this would have been reported earlier, you should know, that every wms-request is the 'first' request, it's cgi. Have you tried to reproduce this behavior with different layers, templates, data? Could you provide the template, mapfile, data? J?rg Am 31.07.20 um 18:18 schrieb Connor Filipovic: > I have created a shape layer containing some volume data.? The shape > layer points to a template that creates a table with 6 labels and 6 > values.? The values are retrieved from the shapefile and displayed on > the table.? Upon opening up a 2^nd table at the same time the original > tables values will change to the new table?s values.? Opening more > tables will change all the open tables to the values of the new tables.? > I wanted to verify this was a bug before posting an issue on Github. > > ? > > ? > > I appreciate any help or feedback.? > > Thanks > > ? > > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > Viele Gr??e, J?rg Thomsen -- ---------------------------------------------------------------------- Aufwind durch Wissen! Jetzt neu: Web-Seminare und Online-Schulungen bei der www.foss-academy.com ---------------------------------------------------------------------- J?rg Thomsen WhereGroup GmbH Bundesallee 23 10717 Berlin Germany Fon: +49 (0)30 / 5130 278 74 Fax: +49 (0)30 / 5130 278 11 joerg.thomsen at wheregroup.com www.wheregroup.com Gesch?ftsf?hrer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 ------------------------------- Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com From bob.basques at ci.stpaul.mn.us Fri Aug 7 13:24:58 2020 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Fri, 7 Aug 2020 20:24:58 +0000 Subject: [mapserver-users] REMINDER - OSGeo Twin Cities (aka TCMUG) local chapter Meeting - Aug, 12th Message-ID: <9ED2C7BF-9370-4A82-B243-79395330D06D@ci.stpaul.mn.us> All, Had good (virtual) meeting in July with Howard Butler giving a presentation on the ?What was the GDAL BarnRaising?. A link to the powerpoint slides of the presentation can be found on our Local Chapter page below. ( I messed up on the recording of the presentation, and didn?t capture the audio) Our next meeting we?ll have: Presenter: Bob Basques A presentation on: Generating a time-lapse movie from a series of map images generated by MapServer. Tools discussed: MapServer, Postgres/PostGIS, Apache, and FFMPEG This will be a virtual meeting. There will be an attempt to record it. Here is the connection info: https://meet.jit.si/osgeo_tcmug When: Aug 12, 4:30 PM CDT OSGeo, Twin Cities (aka TCMUG), MN, USA Local Chapter Page. bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bob.basques at ci.stpaul.mn.us Wed Aug 12 10:30:04 2020 From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul)) Date: Wed, 12 Aug 2020 17:30:04 +0000 Subject: [mapserver-users] REMINDER - OSGeo Twin Cities (aka TCMUG) local chapter Meeting - Aug, 12th Message-ID: <5B7B37A7-23C3-42A6-B68F-AE7FBF351CEC@ci.stpaul.mn.us> All, Had good (virtual) meeting in July with Howard Butler giving a presentation on the ?What was the GDAL BarnRaising?. A link to the powerpoint slides of the presentation can be found on our Local Chapter page below. ( I messed up on the recording of the presentation, and didn?t capture the audio) Our next meeting we?ll have: Presenter: Bob Basques A presentation on: Generating a time-lapse movie from a series of map images generated by MapServer. Tools discussed: MapServer, Postgres/PostGIS, Apache, and FFMPEG This will be a virtual meeting. There will be an attempt to record it. Here is the connection info: https://meet.jit.si/osgeo_tcmug When: Aug 12, 4:30 PM CDT OSGeo, Twin Cities (aka TCMUG), MN, USA Local Chapter Page. bobb -------------- next part -------------- An HTML attachment was scrubbed... URL: From mgrudzien7 at gmail.com Tue Aug 18 22:55:14 2020 From: mgrudzien7 at gmail.com (=?UTF-8?Q?Marcin_Grudzie=C5=84?=) Date: Wed, 19 Aug 2020 07:55:14 +0200 Subject: [mapserver-users] Compiling Mapserver with Oracle Spatial support issue Message-ID: Hi, I am new to Mapserver. I am trying to compile MapServer 7.6.1 with Oracle Spatial support on Ubuntu 20.04. I basically follow the instruction on https://www.mapserver.org/installation/unix.html#. To configure my environment I use cmake .. -DINSTALL_LIB_DIR:PATH=/usr/lib -DCMAKE_PREFIX_PATH="/usr/local;/opt;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/local/lib;/usr/lib/oracle/11.2/client64/bin;/usr/lib/oracle/11.2/client64/lib" -DWITH_CLIENT_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CURL=1 -DWITH_SOS=1 -DWITH_PHP=1 -DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=1 -DWITH_CSHARP=0 -DWITH_PYTHON=1 -DWITH_SVGCAIRO=0 *-DWITH_ORACLESPATIAL=1* -DWITH_MSSQL2008=0 -DWITH_CURL=1 -DWITH_LIBXML2=1 ../ >../configure.out.txt The cmake output shows: * Summary of configured options for this build -- * Mandatory components -- * GDAL: /usr/local/lib/libgdal.so -- * PROJ: /usr/lib/x86_64-linux-gnu/libproj.so -- * png: /usr/lib/x86_64-linux-gnu/libpng.so -- * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so -- * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so -- * Optional components -- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so -- * MYSQL: disabled -- * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so -- * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so -- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so -- * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so -- * SVGCAIRO: disabled -- * RSVG: disabled -- * CURL: /usr/lib/x86_64-linux-gnu/libcurl.so -- * PIXMAN: disabled -- * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so -- * POSTGIS: /usr/lib/x86_64-linux-gnu/libpq.so -- * GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so -- * FastCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so -- * PROTOBUFC: /usr/local/lib/libprotobuf-c.so *-- * Oracle Spatial: /usr/lib/oracle/11.2/client64/lib/libclntsh.so;/usr/lib/oracle/11.2/client64/lib/libocci.so;/usr/lib/oracle/11.2/client64/lib/libnnz11.so* -- * Exempi XMP: disabled -- * Optional features -- * WMS SERVER: ENABLED -- * WFS SERVER: ENABLED -- * WCS SERVER: ENABLED -- * SOS SERVER: ENABLED -- * WMS CLIENT: ENABLED -- * WFS CLIENT: ENABLED -- * ICONV: ENABLED -- * Thread-safety support: disabled -- * KML output: disabled -- * Z+M point coordinate support: ENABLED -- * XML Mapfile support: disabled -- * Mapscripts -- * Python: ENABLED -- * PHP: ENABLED -- * PHPNG: disabled -- * PERL: ENABLED -- * RUBY: disabled -- * JAVA: ENABLED -- * C#: disabled -- * V8 Javascript: disabled -- * Apache Module (Experimental): disabled -- -- PROJECT_BINARY_DIR is set to /home/mgrudzien/mapserver-7.6.1/build -- Will install files to /usr/local -- Will install libraries to /usr/lib -- Configuring done -- Generating done -- Build files have been written to: /home/mgrudzien/mapserver-7.6.1/build Then I compile and install MapServer. However, when I execute mapserv -v I get MapServer version 7.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE The Oracle Spatial is not supported. What am I doing wrong? How this can be solved? Best regards, Marcin -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdlime at gmail.com Tue Aug 25 07:39:43 2020 From: sdlime at gmail.com (Steve Lime) Date: Tue, 25 Aug 2020 09:39:43 -0500 Subject: [mapserver-users] Compiling Mapserver with Oracle Spatial support issue In-Reply-To: References: Message-ID: Hmmm... Does -DWITH_ORACLESPATIAL=ON (so ON vs 1) make a difference? It shouldn't... If you do a "ldd mapserv" is the binary linked against the Oracle libs? On Wed, Aug 19, 2020 at 12:55 AM Marcin Grudzie? wrote: > Hi, > > I am new to Mapserver. I am trying to compile MapServer 7.6.1 with Oracle > Spatial support on Ubuntu 20.04. > > I basically follow the instruction on > https://www.mapserver.org/installation/unix.html#. > > To configure my environment I use > cmake .. -DINSTALL_LIB_DIR:PATH=/usr/lib > -DCMAKE_PREFIX_PATH="/usr/local;/opt;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/local/lib;/usr/lib/oracle/11.2/client64/bin;/usr/lib/oracle/11.2/client64/lib" > -DWITH_CLIENT_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CURL=1 -DWITH_SOS=1 > -DWITH_PHP=1 -DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=1 -DWITH_CSHARP=0 > -DWITH_PYTHON=1 -DWITH_SVGCAIRO=0 *-DWITH_ORACLESPATIAL=1* -DWITH_MSSQL2008=0 > -DWITH_CURL=1 -DWITH_LIBXML2=1 ../ >../configure.out.txt > > The cmake output shows: > * Summary of configured options for this build > -- * Mandatory components > -- * GDAL: /usr/local/lib/libgdal.so > -- * PROJ: /usr/lib/x86_64-linux-gnu/libproj.so > -- * png: /usr/lib/x86_64-linux-gnu/libpng.so > -- * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so > -- * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so > -- * Optional components > -- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so > -- * MYSQL: disabled > -- * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so > -- * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so > -- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so > -- * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so > -- * SVGCAIRO: disabled > -- * RSVG: disabled > -- * CURL: /usr/lib/x86_64-linux-gnu/libcurl.so > -- * PIXMAN: disabled > -- * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so > -- * POSTGIS: /usr/lib/x86_64-linux-gnu/libpq.so > -- * GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so > -- * FastCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so > -- * PROTOBUFC: /usr/local/lib/libprotobuf-c.so > *-- * Oracle Spatial: > /usr/lib/oracle/11.2/client64/lib/libclntsh.so;/usr/lib/oracle/11.2/client64/lib/libocci.so;/usr/lib/oracle/11.2/client64/lib/libnnz11.so* > -- * Exempi XMP: disabled > -- * Optional features > -- * WMS SERVER: ENABLED > -- * WFS SERVER: ENABLED > -- * WCS SERVER: ENABLED > -- * SOS SERVER: ENABLED > -- * WMS CLIENT: ENABLED > -- * WFS CLIENT: ENABLED > -- * ICONV: ENABLED > -- * Thread-safety support: disabled > -- * KML output: disabled > -- * Z+M point coordinate support: ENABLED > -- * XML Mapfile support: disabled > -- * Mapscripts > -- * Python: ENABLED > -- * PHP: ENABLED > -- * PHPNG: disabled > -- * PERL: ENABLED > -- * RUBY: disabled > -- * JAVA: ENABLED > -- * C#: disabled > -- * V8 Javascript: disabled > -- * Apache Module (Experimental): disabled > -- > -- PROJECT_BINARY_DIR is set to /home/mgrudzien/mapserver-7.6.1/build > -- Will install files to /usr/local > -- Will install libraries to /usr/lib > -- Configuring done > -- Generating done > -- Build files have been written to: /home/mgrudzien/mapserver-7.6.1/build > > Then I compile and install MapServer. However, when I execute mapserv -v I > get > MapServer version 7.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ > SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS > SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER > SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT > SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS > SUPPORTS=GEOS SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS > INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > The Oracle Spatial is not supported. What am I doing wrong? How this can > be solved? > > Best regards, > Marcin > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.smith.erdc at gmail.com Tue Aug 25 07:49:48 2020 From: michael.smith.erdc at gmail.com (Michael Smith) Date: Tue, 25 Aug 2020 10:49:48 -0400 Subject: [mapserver-users] Compiling Mapserver with Oracle Spatial support issue In-Reply-To: References: Message-ID: <116ADB73-955E-4E9F-9722-DAD197B73C40@gmail.com> The sdk part is needed with the instant client. Make sure you also have libaoi (ubuntu libaoi1) installed. Make sure ORACLE_HOME (path to the instant client library) is in the LD_LIBRARY_PATH. Mike -- Michael Smith US Army Corps of Engineers Remote Sensing/GIS Center From: mapserver-users on behalf of Steve Lime Date: Tuesday, August 25, 2020 at 10:39 AM To: Marcin Grudzie? Cc: Mapserver Subject: Re: [mapserver-users] Compiling Mapserver with Oracle Spatial support issue Hmmm... Does -DWITH_ORACLESPATIAL=ON (so ON vs 1) make a difference? It shouldn't... If you do a "ldd mapserv" is the binary linked against the Oracle libs? On Wed, Aug 19, 2020 at 12:55 AM Marcin Grudzie? wrote: Hi, I am new to Mapserver. I am trying to compile MapServer 7.6.1 with Oracle Spatial support on Ubuntu 20.04. I basically follow the instruction on https://www.mapserver.org/installation/unix.html#. To configure my environment I use cmake .. -DINSTALL_LIB_DIR:PATH=/usr/lib -DCMAKE_PREFIX_PATH="/usr/local;/opt;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/local/lib;/usr/lib/oracle/11.2/client64/bin;/usr/lib/oracle/11.2/client64/lib" -DWITH_CLIENT_WFS=1 -DWITH_CLIENT_WMS=1 -DWITH_CURL=1 -DWITH_SOS=1 -DWITH_PHP=1 -DWITH_PERL=1 -DWITH_RUBY=0 -DWITH_JAVA=1 -DWITH_CSHARP=0 -DWITH_PYTHON=1 -DWITH_SVGCAIRO=0 -DWITH_ORACLESPATIAL=1 -DWITH_MSSQL2008=0 -DWITH_CURL=1 -DWITH_LIBXML2=1 ../ >../configure.out.txt The cmake output shows: * Summary of configured options for this build -- * Mandatory components -- * GDAL: /usr/local/lib/libgdal.so -- * PROJ: /usr/lib/x86_64-linux-gnu/libproj.so -- * png: /usr/lib/x86_64-linux-gnu/libpng.so -- * jpeg: /usr/lib/x86_64-linux-gnu/libjpeg.so -- * freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so -- * Optional components -- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so -- * MYSQL: disabled -- * FRIBIDI: /usr/lib/x86_64-linux-gnu/libfribidi.so -- * HARFBUZZ: /usr/lib/x86_64-linux-gnu/libharfbuzz.so -- * GIF: /usr/lib/x86_64-linux-gnu/libgif.so -- * CAIRO: /usr/lib/x86_64-linux-gnu/libcairo.so -- * SVGCAIRO: disabled -- * RSVG: disabled -- * CURL: /usr/lib/x86_64-linux-gnu/libcurl.so -- * PIXMAN: disabled -- * LIBXML2: /usr/lib/x86_64-linux-gnu/libxml2.so -- * POSTGIS: /usr/lib/x86_64-linux-gnu/libpq.so -- * GEOS: /usr/lib/x86_64-linux-gnu/libgeos_c.so -- * FastCGI: /usr/lib/x86_64-linux-gnu/libfcgi.so -- * PROTOBUFC: /usr/local/lib/libprotobuf-c.so -- * Oracle Spatial: /usr/lib/oracle/11.2/client64/lib/libclntsh.so;/usr/lib/oracle/11.2/client64/lib/libocci.so;/usr/lib/oracle/11.2/client64/lib/libnnz11.so -- * Exempi XMP: disabled -- * Optional features -- * WMS SERVER: ENABLED -- * WFS SERVER: ENABLED -- * WCS SERVER: ENABLED -- * SOS SERVER: ENABLED -- * WMS CLIENT: ENABLED -- * WFS CLIENT: ENABLED -- * ICONV: ENABLED -- * Thread-safety support: disabled -- * KML output: disabled -- * Z+M point coordinate support: ENABLED -- * XML Mapfile support: disabled -- * Mapscripts -- * Python: ENABLED -- * PHP: ENABLED -- * PHPNG: disabled -- * PERL: ENABLED -- * RUBY: disabled -- * JAVA: ENABLED -- * C#: disabled -- * V8 Javascript: disabled -- * Apache Module (Experimental): disabled -- -- PROJECT_BINARY_DIR is set to /home/mgrudzien/mapserver-7.6.1/build -- Will install files to /usr/local -- Will install libraries to /usr/lib -- Configuring done -- Generating done -- Build files have been written to: /home/mgrudzien/mapserver-7.6.1/build Then I compile and install MapServer. However, when I execute mapserv -v I get MapServer version 7.6.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M SUPPORTS=PBF INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE The Oracle Spatial is not supported. What am I doing wrong? How this can be solved? Best regards, Marcin _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list mapserver-users at lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From mr.ulchich at gmail.com Sun Aug 30 23:44:08 2020 From: mr.ulchich at gmail.com (=?UTF-8?B?0JjQstCw0L0g0JjQstCw0L3QvtCy?=) Date: Mon, 31 Aug 2020 09:44:08 +0300 Subject: [mapserver-users] Mapcache building question Message-ID: Hi everyone! I have a trouble while trying to cmake mapcache. I've resolved all dependencies problems, except one about APACHE, here is the output of cmake command: ``` - Could NOT find APACHE (missing: APACHE_INCLUDE_DIR) CMake Error at CMakeLists.txt:45 (message): APACHE library/component could not be found and is a mandatory dependency HINT: - add the APACHE install directory to the CMAKE_PREFIX_PATH variable (-DCMAKE_PREFIX_PATH="/path/to/APACHE-install-dir;/path/to/other/dirs" Call Stack (most recent call first): ``` Next i've added suggested parameter: ```cmake -DCMAKE_PREFIX_PATH="/etc/apache2" ..``` But nothing have changed - the same error remains. The contents of ```/etc/apache2``` are: ``` -rw-r--r-- 1 root root 7263 ??? 20 2018 apache2.conf drwxr-xr-x 2 root root 4096 ??? 18 10:27 conf-available drwxr-xr-x 2 root root 4096 ??? 18 10:28 conf-enabled -rw-r--r-- 1 root root 1782 ??? 20 2018 envvars -rw-r--r-- 1 root root 31063 ??? 20 2018 magic drwxr-xr-x 2 root root 12288 ??? 18 11:52 mods-available drwxr-xr-x 2 root root 4096 ??? 18 11:52 mods-enabled -rw-r--r-- 1 root root 344 ??? 18 11:58 ports.conf drwxr-xr-x 2 root root 4096 ??? 18 13:54 sites-available drwxr-xr-x 2 root root 4096 ??? 18 13:54 sites-enabled ``` What should i do to fix this problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbo-ads at mailo.com Mon Aug 31 00:00:52 2020 From: jbo-ads at mailo.com (jbo-ads) Date: Mon, 31 Aug 2020 09:00:52 +0200 Subject: [mapserver-users] Mapcache building question In-Reply-To: References: Message-ID: Hi ????, Actually, for compilation, CMake needs to locate 'httpd.h' header file and 'apxs' or 'apxs2' executables. You may need to install specific packages, e.g. on Ubuntu: 'apt-get install apache2-dev'. J?rome. Le 31/08/2020 ? 08:44, ???? ?????? a ?crit?: > Hi everyone! > I have a trouble while trying to cmake mapcache. I've resolved all > dependencies problems, except one about APACHE, here is the output of > cmake command: > > ``` > - Could NOT find APACHE (missing: ?APACHE_INCLUDE_DIR) > CMake Error at CMakeLists.txt:45 (message): > ? APACHE library/component could not be found and is a mandatory > dependency > > ? ? HINT: > ? ? - add the APACHE install directory to the CMAKE_PREFIX_PATH > variable > (-DCMAKE_PREFIX_PATH="/path/to/APACHE-install-dir;/path/to/other/dirs" > Call Stack (most recent call first): > ``` > > Next i've added suggested parameter: ```cmake > -DCMAKE_PREFIX_PATH="/etc/apache2" ..``` > But nothing have changed - the same error remains. > > The contents of ```/etc/apache2``` are: > > ``` > -rw-r--r-- 1 root root ?7263 ??? 20 ?2018 apache2.conf > drwxr-xr-x 2 root root ?4096 ??? 18 10:27 conf-available > drwxr-xr-x 2 root root ?4096 ??? 18 10:28 conf-enabled > -rw-r--r-- 1 root root ?1782 ??? 20 ?2018 envvars > -rw-r--r-- 1 root root 31063 ??? 20 ?2018 magic > drwxr-xr-x 2 root root 12288 ??? 18 11:52 mods-available > drwxr-xr-x 2 root root ?4096 ??? 18 11:52 mods-enabled > -rw-r--r-- 1 root root ? 344 ??? 18 11:58 ports.conf > drwxr-xr-x 2 root root ?4096 ??? 18 13:54 sites-available > drwxr-xr-x 2 root root ?4096 ??? 18 13:54 sites-enabled > ``` > > What should i do to fix this problem? > > _______________________________________________ > mapserver-users mailing list > mapserver-users at lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users