-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redhat Enterprise 8 Build problem #3190
Comments
Not exactly related to the readline issue, but did you see #3055? |
#3055 seems to have tbb issues. I had the same issue but it got resolved after "yum install tbb-devel". |
Did you also try the cmake build? |
RHEL8 does not have Ninja. so I removed -GNinja, but it still looks for ninja. See here: #cmake -S M2/M2 -B M2/M2/BUILD/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr |
You need to delete the |
blas-devel and gdbm-devel not found in RHEL repositories. |
Surely there's some linear algebra package with development headers in RHEL that you can install. CMake should recognize any. As for gdbm, you might need to build it from source or install the centos package. |
@mikestillman Incidentally, why is factory linking readline? Are we using factory in a way that it would need readline? Can we pass --with-readline=no to the factory build? |
@mahrud CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): |
OpenBLAS is supported by CMake, but it's possible that the installation path is unusual on RHEL, in which case setting the right environment variable should tell CMake where to find it. See this page. |
Lol. After all that I am back at READLINE !! Hopefully, this is again some misplaced include files: CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): |
after it complained there was no I installed gmp-6.1.0. But it still gives this error: CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): |
Where are most of your libraries installed? e.g. where are |
gmp.h and readline.h are in /usr/local/include I can move these .h files to /usr/include ? |
I reinstalled gmp.6.1.0, this time specifying that it be installed in prefix==/usr |
Could you upload |
-- Checking for existing libraries and programs -- Configuring incomplete, errors occurred! |
Here is the MakeOutput.log (next message) |
Could you run |
Ok, after I ran in debug mode, it showed that libgmpxx was missing. So I installed gmp-devel. This fixed the problem, and I was ready to build libraries. On running "make build-libraries", it however gave this error: [ 0%] Performing build step for 'build-bdwgc' |
Have you installing all the prereq libraries for Redhat? |
sudo yum install openblas-devel gmp-devel libxml2-devel readline-devel gdbm-devel boost-devel libomp-devel tbb-devel libffi-devel libffi was installed. However, make build-libraries keeps giving the above error (not sure how to install the above two missing libraries). |
I think you need to add some extra package repositories to your system: https://docs.fedoraproject.org/en-US/epel/ openblas and gdbm are both included in CentOS packages, and so is gc-devel: https://rpmfind.net/linux/rpm2html/search.php?query=gc-devel This should probably be added to the wiki. |
I am building from scratch on a RedhatEnterprise 8, even though there is an RPM available The RPM fails to install as it runs into some issues with libreadline.so.7() not available, when RHEL8 has libreadline.so.8 and just creating a virtual link does not help.
A similar problem happens with a build from scratch. See this ->
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
gawk: symbol lookup error: /root/M2/M2/usr-host/lib/libreadline.so.8: undefined symbol: UP
config.status: error: could not create Makefile
make[2]: *** [../Makefile.library:181: .configured-4.2.1] Error 1
make[2]: Leaving directory '/root/M2/M2/libraries/factory'
make[1]: *** [Makefile:7: all-in-factory] Error 2
make[1]: Leaving directory '/root/M2/M2/libraries'
make: *** [GNUmakefile:251: all-in-libraries] Error 2
Searching the web, it seems the symbol UP is defined in libtinfo, and one needs a shared library linking.
Any help?
Charanjit Jutla
The text was updated successfully, but these errors were encountered: