<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello everyone,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am upgrading an old installation that runs 7.0,7</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">It used to run on amazon linux 1. (CentOS 6)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am compiling the 7.4.x version for Amazon linux 2 (CentOS 7).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I configure the cmake flags and I am able to "make" successfully.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I get the bottom described error while doing "make install". Looks like 90% goes through but it fails when it comes to Java or Perl or both (if flagged ON).</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-top:0px">Environment:</p><ul style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px"><li style="box-sizing:border-box">Amazon linux 2 virtual server (CentOS 7)</li><li style="box-sizing:border-box;margin-top:0.25em">Proj 6.1.1 compiled</li><li style="box-sizing:border-box;margin-top:0.25em">Gdal 3.2.0 compiled</li></ul><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">(perl-devel and other perl-*devel installed too..)</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Makefile option set as follow:</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">...//...<br style="box-sizing:border-box">CMAKEFLAGS=-DCMAKE_C_FLAGS="--coverage ${CMAKE_C_FLAGS}" -DCMAKE_CXX_FLAGS="--coverage ${CMAKE_CXX_FLAGS}"<br style="box-sizing:border-box">-DCMAKE_SHARED_LINKER_FLAGS="-lgcov"<br style="box-sizing:border-box">-DWITH_CLIENT_WMS=1<br style="box-sizing:border-box">-DWITH_CLIENT_WFS=1<br style="box-sizing:border-box">-DWITH_KML=1<br style="box-sizing:border-box">-DWITH_SOS=1<br style="box-sizing:border-box">-DWITH_CSHARP=1<br style="box-sizing:border-box">-DWITH_PHP=0<br style="box-sizing:border-box">-DWITH_PERL=1<br style="box-sizing:border-box">-DWITH_PHPNG=1<br style="box-sizing:border-box">-DWITH_PYTHON=1<br style="box-sizing:border-box">-DWITH_JAVA=1<br style="box-sizing:border-box">-DWITH_THREAD_SAFETY=1<br style="box-sizing:border-box">-DWITH_FRIBIDI=1<br style="box-sizing:border-box">-DWITH_FCGI=0<br style="box-sizing:border-box">-DWITH_EXEMPI=0<br style="box-sizing:border-box">-DWITH_RUBY=0<br style="box-sizing:border-box">-DCMAKE_BUILD_TYPE=Release<br style="box-sizing:border-box">-DWITH_RSVG=0<br style="box-sizing:border-box">-DWITH_CURL=1<br style="box-sizing:border-box">-DWITH_HARFBUZZ=1<br style="box-sizing:border-box">-DWITH_POINT_Z_M=1<br style="box-sizing:border-box">${EXTRA_CMAKEFLAGS}<br style="box-sizing:border-box">...//...</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Compiling mapserver 7.4.4...</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">(success) # cd /root/inst/mapserver-7.4.4<br style="box-sizing:border-box">(success) # make<br style="box-sizing:border-box">(success) # cd build/ 246558<br style="box-sizing:border-box">(fail)# make install</p><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px;margin-top:0px;margin-bottom:16px;padding:16px;overflow:auto;line-height:1.45;border-radius:6px;color:rgb(36,41,46)"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:11.9px;padding:0px;margin:0px;border-radius:6px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit">creating 'dist/mapscript-7.4.4-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing mapscript-7.4.4-py2.7-linux-x86_64.egg
removing '/usr/local/lib/python2.7/site-packages/mapscript-7.4.4-py2.7-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python2.7/site-packages/mapscript-7.4.4-py2.7-linux-x86_64.egg
Extracting mapscript-7.4.4-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/site-packages
mapscript 7.4.4 is already the active version in easy-install.pth

Installed /usr/local/lib/python2.7/site-packages/mapscript-7.4.4-py2.7-linux-x86_64.egg
Processing dependencies for mapscript==7.4.4
Finished processing dependencies for mapscript==7.4.4
-- Installing: /usr/lib64/php/modules/libphp_mapscriptng.so
-- Set runtime path of "/usr/lib64/php/modules/libphp_mapscriptng.so" to "/usr/local/lib64:/usr/local/lib"
CMake Error at mapscript/perl/cmake_install.cmake:44 (FILE):
  file INSTALL cannot find
  "/root/inst/mapserver-7.4.4/mapscript/perl/$<TARGET_FILE:perlmapscript>".
Call Stack (most recent call first):
  cmake_install.cmake:471 (INCLUDE)
</code></pre><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Same thing happens with Java if I enable the compilation flags in Makefile.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">Expected result is a successful make install</p><p style="box-sizing:border-box;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px;margin-bottom:0px">Any suggestions?</p></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><br><a href="https://ca.linkedin.com/in/phanohanover" style="font-size:12.8px" target="_blank">Stéphane Poissant </a></div><div><span style="font-size:12.8px">Portable: 514-793-3506</span><br></div><div><a href="mailto:spoissantca@gmail.com" style="font-size:12.8px" target="_blank">spoissantca@gmail.com</a><span style="font-size:12.8px"> </span></div><div><a href="https://ca.linkedin.com/in/phanohanover" style="font-size:12.8px" target="_blank"><img src="https://content.linkedin.com/content/dam/brand/site/img/visual-guidelines.png" width="96" height="35"></a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>