<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Good morning gentlemen and Merry Xmas to everyone!<div class=""><br class=""></div><div class="">I need some help with compiling mapserver.</div><div class="">I have been hammering this for a while without a perfect success yet!</div><div class="">When proceeding with make, it should complete the process.</div><div class="">There are no errors at beginning of compilation. Only a few warnings as I am compiling from cmake3 (mandatory)</div><div class=""><br class=""></div><div class="">Here are the environment details:</div><div class=""><br class=""></div><div class="">From yum (important ones but not limited to…):</div><div class="">- System is running on Amazon Linux 2 (CentOS 7) virtual server</div><div class="">- centos-sclo-rh repo activated</div><div class="">- Proj72 w/devel</div><div class="">- gdal32 w/devel</div><div class="">- postgis31_12 w/devel</div><div class="">- postgis31_12 w/devel contrib libs server</div><div class="">- SFCGAL (1.3.1.2) w/devel </div><div class="">- gmp w/devel</div><div class="">- mpfr w/devel</div><div class="">- boost (1.53) w/devel</div><div class=""><br class=""></div><div class="">From pip (important ones but not limited to…):</div><div class="">- Cmake3</div><div class="">- boost</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">My Makefile flags:</div><div class=""><div class="">CMAKEFLAGS=-DCMAKE_C_FLAGS="" -DCMAKE_CXX_FLAGS="" \</div><div class=""><span class="Apple-tab-span" style="white-space:pre">                        </span>  -DCMAKE_SHARED_LINKER_FLAGS="-lgcov" -DWITH_CLIENT_WMS=1 \</div><div class=""> <span class="Apple-tab-span" style="white-space:pre">                 </span>  -DWITH_CLIENT_WFS=1 -DWITH_KML=1 -DWITH_SOS=1 -DWITH_CSHARP=1 -DWITH_PHP=0 -DWITH_PERL=0 \</div><div class=""> <span class="Apple-tab-span" style="white-space:pre">                   </span>  -DWITH_PYTHON=0 -DWITH_JAVA=0 -DWITH_THREAD_SAFETY=1 -DWITH_FRIBIDI=1 -DWITH_FCGI=0 -DWITH_EXEMPI=0 \</div><div class=""> <span class="Apple-tab-span" style="white-space:pre">                        </span>  -DCMAKE_BUILD_TYPE=Release -DWITH_RSVG=0 -DWITH_CURL=1 -DWITH_HARFBUZZ=1 -DWITH_POINT_Z_M=1 \</div><div class=""> <span class="Apple-tab-span" style="white-space:pre">                        </span>  -DCMAKE_PREFIX_PATH="/usr/proj72/;/usr/pgsql-12;/usr/gdal32;/usr/local/lib64/“</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">[ 83%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/shape.cpp.o</div><div class="">[ 83%] Building CXX object CMakeFiles/mapserver.dir/mapscript/v8/v8_mapscript.cpp.o</div><div class="">[ 84%] Linking CXX shared library libmapserver.so</div><div class="">make[3]: Leaving directory `/root/inst/mapserver-7.6.2/build'</div><div class="">[ 84%] Built target mapserver</div><div class="">make[3]: Entering directory `/root/inst/mapserver-7.6.2/build'</div><div class="">Scanning dependencies of target shptreetst</div><div class="">make[3]: Leaving directory `/root/inst/mapserver-7.6.2/build'</div><div class="">make[3]: Entering directory `/root/inst/mapserver-7.6.2/build'</div><div class="">[ 85%] Building C object CMakeFiles/shptreetst.dir/shptreetst.c.o</div><div class="">[ 85%] Linking C executable shptreetst</div><div class="">//usr/lib64/libSFCGAL.so.1: undefined reference to `boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::string const&)'</div><div class="">//usr/lib64/libSFCGAL.so.1: undefined reference to `boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive, char, std::char_traits<char> >::save(std::string const&)'</div><div class="">/usr/gdal32/lib/libgdal.so: undefined reference to `GEOSMakeValid_r'</div><div class="">//usr/lib64/libSFCGAL.so.1: undefined reference to `boost::archive::text_iarchive_impl<boost::archive::text_iarchive>::load(std::string&)'</div><div class="">collect2: error: ld returned 1 exit status</div><div class="">make[3]: *** [shptreetst] Error 1</div><div class="">make[3]: Leaving directory `/root/inst/mapserver-7.6.2/build'</div><div class="">make[2]: *** [CMakeFiles/shptreetst.dir/all] Error 2</div><div class="">make[2]: Leaving directory `/root/inst/mapserver-7.6.2/build'</div><div class="">make[1]: *** [all] Error 2</div><div class="">make[1]: Leaving directory `/root/inst/mapserver-7.6.2/build'</div><div class="">make: *** [cmakebuild] Error 2</div><div class=""><br class="webkit-block-placeholder"></div><div class=""><br class="webkit-block-placeholder"></div><div class=""><div class="">[root@mapserver-0291 mapserver-7.6.2]# ls -al /usr/lib64/libSF*</div><div class="">lrwxrwxrwx 1 root root      14 Dec 29 21:38 /usr/lib64/libSFCGAL.so -> libSFCGAL.so.1</div><div class="">lrwxrwxrwx 1 root root      18 Dec 29 21:38 /usr/lib64/libSFCGAL.so.1 -> libSFCGAL.so.1.3.1</div><div class="">-rwxr-xr-x 1 root root 9193952 Sep 30  2019 /usr/lib64/libSFCGAL.so.1.3.1</div></div><div class=""><br class="webkit-block-placeholder"></div><div class="">Any suggestions would be welcomed as I am running out of ideas.</div><div class=""><br class=""></div><div class="">Cheers!</div><div class="">
<div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class="Apple-interchange-newline"><br class=""></div><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Stéphane Poissant  <br class=""></div><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Portable: 514-793-3506</div><div dir="auto" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><a href="mailto:spoissantca@gmail.com" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;" class="">spoissantca@gmail.com</a></div><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"></span><br class="Apple-interchange-newline"><span><img apple-inline="yes" id="4BBB70FE-45F5-4A8F-9C1E-619B113F5B95" width="97" height="31" src="cid:F6703B8C-7F03-477E-9F27-339F51CF7C82" class=""></span>
</div>
<br class=""></div></body></html>