EMsoft-org / EMsoftSuperbuild

EMsoft SDK super build
8 stars 41 forks source link

jsonfortran installs into lib64 on SUSE Linux which messes up the SDK file. #3

Open imikejackson opened 6 years ago

imikejackson commented 6 years ago
1)  The json libraries were installed in a "lib64" folder.  However, 
EMsoft_SDK.cmake (line 68) has "lib" coded into the JSONFORTRAN_DIR (the 
produced error message is copied below).  I've noticed that this is an 
inconsistency with several packages, when building on various linux 
distros.  I just modified that line in the cmake file to include "lib64" 
and everything worked from there.

Some linux distros (e.g. openSuse) put libraries in lib64, not lib
"
CMake Error at 
/users0/jhochhal/src/emsoft/emsoft_sdk/EMsoft_SDK.cmake:31 (message):
   Support Lib does not exist:
/users0/jhochhal/src/emsoft/emsoft_sdk/jsonfortran-4.2.1-Debug/lib/cmake/jsonfortran-gnu-4.2.1
Call Stack (most recent call first):
   /users0/jhochhal/src/emsoft/emsoft_sdk/EMsoft_SDK.cmake:71 
(Check3rdPartyDir)
   CMakeLists.txt:3 (include)
   "
hakonanes commented 5 years ago

This is also the case on:

> cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
marcdegraef commented 5 years ago

EMsoft Release 5.0 will come on Monday next week... that problem should no longer exist in the new release...

Marc.

On 10/11/19 7:57 AM, Håkon Ånes wrote:

This is also the case on:

cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/EMsoft-org/EMsoftSuperbuild/issues/3?email_source=notifications&email_token=AB26VWBWEBPXPMLMDNQINXLQOBS35A5CNFSM4EI6MNGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA7YNNI#issuecomment-541034165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB26VWFS7GKEGSSDVOTFUX3QOBS35ANCNFSM4EI6MNGA.