You apparently need more perl packages installed, see https://stackoverflow.com/questions/70464585/error-when-installing-openssl-3-0-1-cant-locate-ipc-cmd-pm-in-inc
On Fri, Sep 8, 2023 at 7:03 PM Shruti < shruti.barapa...@students.iiserpune.ac.in> wrote: > 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 > ************************************************************************ > > > On Friday, September 8, 2023 at 11:24:42 PM UTC+5:30 Matthias Koeppe wrote: > >> we'll need the full logs, including the top-level config.log >> >> On Friday, September 8, 2023 at 10:50:15 AM UTC-7 Shruti wrote: >> >>> 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. >>> >> -- > 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+unsubscr...@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 > <https://groups.google.com/d/msgid/sage-devel/2030f28e-e783-49e0-9021-4847fba26fdcn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0DP-MMP3popLiwTuupf4nxLtgsoMH62ipoUeTocnYoqA%40mail.gmail.com.