Failed to build openssl-3.0.8

25 views
Skip to first unread message

Shruti

unread,
Sep 8, 2023, 1:50:15 PM9/8/23
to sage-devel
Error message in the log file:
Setting up build directory for openssl-3.0.8
Finished extraction
No patch files found in ../patches
Package 'openssl' is currently not installed
No legacy uninstaller found for 'openssl'; nothing to do

Configuring openssl for target reported by gcc -dumpmachine: x86_64-pc-linux-gnu
Can't locate IPC/Cmd.pm in @INC 
BEGIN failed--compilation aborted 
Compilation failed in require at /home/user/tmp/sage/openssl-3.0.8/src/Configure line 23.
BEGIN failed--compilation aborted at /home/user/tmp/sage/openssl-3.0.8/src/Configure line 23.
Building openssl...
make[5]: *** No targets specified and no makefile found.  Stop.

I am trying to install sagemath in hpc.

Matthias Koeppe

unread,
Sep 8, 2023, 1:54:42 PM9/8/23
to sage-devel
we'll need the full logs, including the top-level config.log

Shruti

unread,
Sep 8, 2023, 2:03:50 PM9/8/23
to sage-devel
Using cached file /scratch/user/sagemath/sage-10.1/upstream/openssl-3.0.8.tar.gz
openssl-3.0.8
====================================================

Setting up build directory for openssl-3.0.8
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux login4 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/opt_ohpc_pub/compiler/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --disable-multilib --enable-languages=c,c++,fortran --prefix=/opt/ohpc/pub/compiler/gcc/8.3.0 --disable-static --enable-shared
Thread model: posix
gcc version 8.3.0 (GCC)
****************************************************

Package 'openssl' is currently not installed
No legacy uninstaller found for 'openssl'; nothing to do

Configuring openssl for target reported by gcc -dumpmachine: x86_64-pc-linux-gnu
Can't locate IPC/Cmd.pm in @INC (@INC contains: /scratch/user/sagemath/sage-10.1/local/var/tmp/sage/build/openssl-3.0.8/src/util/perl /scratch/user/sagemath/sage-10.1/local/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /scratch/user/sagemath/sage-10.1/local/var/tmp/sage/build/openssl-3.0.8/src/external/perl/Text-Template-1.56/lib) at /scratch/user/sagemath/sage-10.1/local/var/tmp/sage/build/openssl-3.0.8/src/util/perl/OpenSSL/config.pm line 19.
BEGIN failed--compilation aborted at /scratch/user/sagemath/sage-10.1/local/var/tmp/sage/build/openssl-3.0.8/src/util/perl/OpenSSL/config.pm line 19.
Compilation failed in require at /scratch/user/sagemath/sage-10.1/local/var/tmp/sage/build/openssl-3.0.8/src/Configure line 23.
BEGIN failed--compilation aborted at /scratch/user/sagemath/sage-10.1/local/var/tmp/sage/build/openssl-3.0.8/src/Configure line 23.

Building openssl...
make[5]: *** No targets specified and no makefile found.  Stop.
*********************************************************************************************************************************************************************************************
Error building openssl.
*********************************************************************************************************************************************************************************************

real    0m0.295s
user    0m0.159s
sys     0m0.103s
************************************************************************
Error installing package openssl-3.0.8
************************************************************************
Using cached file /scratch/user/sagemath/sage-10.1/upstream/openssl-3.0.8.tar.gz
openssl-3.0.8
====================================================

Setting up build directory for openssl-3.0.8
Finished extraction
No patch files found in ../patches
****************************************************
Host system:
Linux login4 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
****************************************************
C compiler: gcc
C compiler version:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/opt_ohpc_pub/compiler/gcc/8.3.0/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../configure --disable-multilib --enable-languages=c,c++,fortran --prefix=/opt/ohpc/pub/compiler/gcc/8.3.0 --disable-static --enable-shared
Thread model: posix
gcc version 8.3.0 (GCC)
****************************************************

Package 'openssl' is currently not installed
No legacy uninstaller found for 'openssl'; nothing to do

Configuring openssl for target reported by gcc -dumpmachine: x86_64-pc-linux-gnu
Can't locate IPC/Cmd.pm in @INC (@INC contains: /home/user/tmp/sage/openssl-3.0.8/src/util/perl /scratch/user/sagemath/sage-10.1/local/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /home/user/tmp/sage/openssl-3.0.8/src/external/perl/Text-Template-1.56/lib) at /home/user/tmp/sage/openssl-3.0.8/src/util/perl/OpenSSL/config.pm line 19.
BEGIN failed--compilation aborted at /home/user/tmp/sage/openssl-3.0.8/src/util/perl/OpenSSL/config.pm line 19.

Compilation failed in require at /home/user/tmp/sage/openssl-3.0.8/src/Configure line 23.
BEGIN failed--compilation aborted at /home/user/tmp/sage/openssl-3.0.8/src/Configure line 23.
Building openssl...
make[5]: *** No targets specified and no makefile found.  Stop.
*********************************************************************************************************************************************************************************************
Error building openssl.
*********************************************************************************************************************************************************************************************

real    0m0.271s
user    0m0.136s
sys     0m0.116s
************************************************************************
Error installing package openssl-3.0.8
************************************************************************

Dima Pasechnik

unread,
Sep 8, 2023, 2:05:03 PM9/8/23
to sage-...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/2030f28e-e783-49e0-9021-4847fba26fdcn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages