<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=""><div class="">Good morning to you guys!</div><div class=""><br class=""></div><div class="">In an effort to complete this mapserver upgrade/install on Amazon Linux 2, I am still facing one thing</div><div class="">That you guys may help me with. When I do make install, the script complains about python oath but I can’t</div><div class="">Find exactly what it is looking for,. I did try a few unsuccessful thing yet.</div><div class=""><br class=""></div><div class="">Any suggestions?</div><div class="">The following link points to nowhere:   <a href="https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations" class="">https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations</a></div><div class=""><br class=""></div><div class="">I’ve got the following path that do exist:</div><div class=""><div class=""><br class=""></div><div class="">/usr/lib/python2.7/site-packages</div><div class="">/usr/lib/python3.7/site-packages</div><div class="">/usr/lib64/python2.7/site-packages</div></div><div class="">/usr/local/lib/python2.7/site-packages (empty)</div><div class=""><br class=""></div><div class="">-- Installing: /usr/local/share/mapserver/cmake/mapserverTargets-release.cmake</div><div class="">running install</div><div class="">Checking .pth file support in /usr/local/lib/python2.7/site-packages/</div><div class="">/bin/python -E -c pass</div><div class="">TEST FAILED: /usr/local/lib/python2.7/site-packages/ does NOT support .pth files</div><div class="">error: bad install directory or PYTHONPATH</div><div class=""><br class=""></div><div class="">You are attempting to install a package to a directory that is not</div><div class="">on PYTHONPATH and which Python does not read ".pth" files from.  The</div><div class="">installation directory you specified (via --install-dir, --prefix, or</div><div class="">the distutils default setting) was:</div><div class=""><br class=""></div><div class="">    /usr/local/lib/python2.7/site-packages/</div><div class=""><br class=""></div><div class="">and your PYTHONPATH environment variable currently contains:</div><div class=""><br class=""></div><div class="">    ':'</div><div class=""><br class=""></div><div class="">Here are some of your options for correcting the problem:</div><div class=""><br class=""></div><div class="">* You can choose a different installation directory, i.e., one that is</div><div class="">  on PYTHONPATH or supports .pth files</div><div class=""><br class=""></div><div class="">* You can add the installation directory to the PYTHONPATH environment</div><div class="">  variable.  (It must then also be on PYTHONPATH whenever you run</div><div class="">  Python and want to use the package(s) you are installing.)</div><div class=""><br class=""></div><div class="">* You can set up the installation directory to support ".pth" files by</div><div class="">  using one of the approaches described here:</div><div class=""><br class=""></div><div class="">  <a href="https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations" class="">https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Please make the appropriate changes for your system and try again.</div><div class="">-- Installing: /usr/local/lib64/libjavamapscript.so</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=""></div></div></body></html>