Re: [mapserver-users] Mapserver 7.6.2

2021-01-11 Thread Stephane Poissant
Forgot to mention that if I symlink the python folder, it works… - name: Remove site-packages folder file: path: /usr/local/lib/python2.7/site-packages state: absent - name: Create a symbolic link to site-packages folder file: src: /usr/lib/python2.7/site-packages

Re: [mapserver-users] Mapserver 7.6.2

2021-01-11 Thread Stephane Poissant
Good morning to you guys! In an effort to complete this mapserver upgrade/install on Amazon Linux 2, I am still facing one thing That you guys may help me with. When I do make install, the script complains about python oath but I can’t Find exactly what it is looking for,. I did try a few

Re: [mapserver-users] Mapserver 7.6.2

2021-01-07 Thread Eichner, Andreas - SID
Hallo Stéphane, glad to hear it works. The problem with this is how to keep those packags up to date. As long as this list is relatively static you might be able to use a script to synchronize them to a local directory, create the metadata and use this local repository with yum-priorities to

Re: [mapserver-users] Mapserver 7.6.2

2021-01-07 Thread Stephane Poissant
Good day Andreas, Your suggestion about replacing boost packages from AWS with CentOS ones worked. Good catch. I was able to finally compile and install all my requirements. Thumbs up! I had to download the whole list and install using rpm -ivh *.rpm. One more thing. I am able to render many

Re: [mapserver-users] Mapserver 7.6.2

2021-01-06 Thread Eichner, Andreas - SID
Good morning Stephane, to me it seems to be an issue with the amazon boost packages. This is what I have installed: # yum list installed SFCGAL CGAL geos* boost* Loaded plugins: enabled_repos_upload, package_upload, product-id, search- : disabled-repos, subscription-manager

Re: [mapserver-users] Mapserver 7.6.2

2021-01-06 Thread Stephane Poissant
Hi Andreas, Big thanks for your suggestion. I am just trying to build mapserver… Nothing else! ...But I can’t make it happen! No matter what I try, I end up with the same error pushing me in the same loop over and over again… (rebuilding from scratch all components > which fails anyway) I

Re: [mapserver-users] Mapserver 7.6.2

2021-01-06 Thread Eichner, Andreas - SID
Hallo, I'm still not sure what you're trying to achieve. I took a freshly installed RHEL7 maschine and did a simple installation with basically all packages from the repos and MapServer compiles just fine. This is what I did: * enable the SCL, EPEL and the repo from postgresql.org: yum install

Re: [mapserver-users] Mapserver 7.6.2

2021-01-06 Thread Stephane Poissant
I’ll give a try to 1.70 (compile) The reason is that I cannot use 1.53 as it does not compile for the previously mentioned error with boost. Even if I install (from repo) boost169) it installs almost everything but not de -devel has it breaks dependancies. So using 1.75 was my first test. I am

Re: [mapserver-users] Mapserver 7.6.2

2021-01-05 Thread Eichner, Andreas - SID
Good morning, //opt/boost/lib/libboost_serialization.so.1.75.0: undefined reference to `std::uncaught_exceptions()@GLIBCXX_3.4.22' collect2: error: ld returned 1 exit status it seems that libboost_serialization is build against a different (newer) libstdc++ as is used during the MapServer

[mapserver-users] Mapserver 7.6.2

2021-01-05 Thread Stephane Poissant
Boost 1.75 (compiled) success CGAL-4.14 (compiled) success Gets-3.9.0 (compiled) success SFCGAL-1.3.9 (compiled) success From repo: gdal32-devel.x86_643.2.0-3.rhel7@pgdg-common postgis30_12-devel.x86_64 3.0.3-3.rhel7@pgdg12

Re: [mapserver-users] mapserver 7.6.2

2021-01-05 Thread Eichner, Andreas - SID
prüngliche Nachricht- Von: Stephane Poissant Gesendet: Dienstag, 5. Januar 2021 10:53 An: MapServer-users Cc: Eichner, Andreas - SID Betreff: Re: [mapserver-users] mapserver 7.6.2 I tried compiling it separately but it ends up having issues as well: [root@mapserver-0290 SFCGAL-v1.3

Re: [mapserver-users] mapserver 7.6.2

2021-01-05 Thread Stephane Poissant
Good day Andreas, Thank you for your suggestion. Indeed, they are both installed. Both versions 1.53 & 1.75 SFCGAL is installed from yum repo with version 1.3.1. Based on the log below, SFCGAL (from repo) is linked / compiled with the installed yum repository rpms boost version 1.53:

Re: [mapserver-users] mapserver 7.6.2

2021-01-04 Thread Eichner, Andreas - SID
r-users Betreff: Re: [mapserver-users] mapserver 7.6.2 I have tried many things but cannot get to compile ma-server successfully. I rely on repository yum packages for everything but for geos (which I build manually). My Makefile (relevant part) CMAKEFLAGS= -DWITH_GEOS=1 \ -DCMAKE_SHARED_

Re: [mapserver-users] mapserver 7.6.2

2021-01-04 Thread Stephane Poissant
I have tried many things but cannot get to compile ma-server successfully. I rely on repository yum packages for everything but for geos (which I build manually). My Makefile (relevant part) CMAKEFLAGS= -DWITH_GEOS=1 \ -DCMAKE_SHARED_LINKER_FLAGS="-lgcov"

Re: [mapserver-users] mapserver 7.6.2

2020-12-31 Thread Stephane Poissant
Compiling gets from source did it perfectly. For the GDAL suggestion, it could certainly be my issue. Unfortunately for me, I flushed the the server to redo it properly with all conditions and I faced partial Error I had prior to running it (similar to Yesterday but only about boost) Compiling

Re: [mapserver-users] mapserver 7.6.2

2020-12-31 Thread Steve Lime
The original error looks like it was related to this: https://stackoverflow.com/questions/39700537/undefined-reference-to-boost-serialization-functions I think you do something like this (see

Re: [mapserver-users] mapserver 7.6.2

2020-12-30 Thread Jeff McKenna
Hi Stephane, I'm not sure about your last issue. You could first execute 'sudo ldconfig' so your last compiled libs are found, then try a shp2img command with your mapfile. I have seen cases where there are conflicting library versions used by either the GDAL or MapServer dependencies:

Re: [mapserver-users] mapserver 7.6.2

2020-12-30 Thread Stephane Poissant
HI Jeff, That was a partial success! Thank you for you recommendation! It compiled successfully by compiling gems and recompiling goal as you suggested. I still have 1 issue. While rendering stuff that use to work on previous version, it no longer works in this lates one. I get AH01215 error

Re: [mapserver-users] mapserver 7.6.2

2020-12-30 Thread Stephane Poissant
Good morning Jeff, I’ll certainly give it a shot! I’ll keep you informed. Thanks for the suggestions. Stéphane Poissant Portable: 514-793-3506 spoissan...@gmail.com > On Dec 30, 2020, at 10:14 AM, Jeff McKenna > wrote: > > Also, after you compile GEOS be

Re: [mapserver-users] mapserver 7.6.2

2020-12-30 Thread Jeff McKenna
Also, after you compile GEOS be sure to recompile GDAL ('make clean' first), then continue on to tackle your MapServer cmake command. Happy new year to all, -jeff -- Jeff McKenna GatewayGeo: MapServer Consulting and Training Services co-founder of FOSS4G http://gatewaygeo.com/ On

Re: [mapserver-users] mapserver 7.6.2

2020-12-30 Thread Jeff McKenna
Hi Stephane, Be sure to compile GEOS (3.9.0 is recommended from http://download.osgeo.org/geos/geos-3.9.0.tar.bz2 ), and then add into your cmake command: -DWITH_GEOS=1 Wishing you a happy new year, -jeff -- Jeff McKenna GatewayGeo: MapServer Consulting and Training Services co-founder

[mapserver-users] mapserver 7.6.2

2020-12-30 Thread Stephane Poissant
Good morning gentlemen and Merry Xmas to everyone! I need some help with compiling mapserver. I have been hammering this for a while without a perfect success yet! When proceeding with make, it should complete the process. There are no errors at beginning of compilation. Only a few warnings as I