Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SageMath installation failed in Ubuntu 20.04

I tried compiling SageMath 9.4 using source files downloaded from the website. Ran ./configure and the make. The build appeared to have failed with two errors : make[1]: * [Makefile:39: all-start] Error 1 make: * [Makefile:13: all] Error 2 System: $ uname -a with output Linux XXXX-desktop 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

-First Error -> The problem appears to be missing libraries (as seen in cmake-3.21.0.log):

The imported target "Qt5::Gui" references the file "/usr/lib/x86_64-linux-gnu/libEGL.so" but this file does not exist.

Output from directory -> /usr/lib/x86_64-linux-gnu$ ls -l libE*

lrwxrwxrwx 1 root root 20 Nov 22 08:23 libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0

-rw-r--r-- 1 root root 267704 Nov 22 08:23 libEGL_mesa.so.0.0.0

lrwxrwxrwx 1 root root 15 Dec 9 22:58 libEGL.so.1 -> libEGL.so.1.1.0

-rw-r--r-- 1 root root 80512 Nov 24 2020 libEGL.so.1.1.0

  • Second Error -> Non numeric error from Fortran print statement (as seen in config.log):

configure:11924: gfortran -c conftest.f >&5 conftest.f:2:3: 2 | program freeform | 1 Error: Non-numeric character in statement label at (1) conftest.f:4:26: 4 | print *, 'Hello ', & | 1 Error: Expected expression in PRINT statement at (1) conftest.f:5:11: 5 | 'world.' | 1 Error: Invalid character in name at (1) configure:11924: $? = 1 configure: failed program was: | | program freeform

Not sure if I can use a symbolic link name libEGL.so to resolve 1st Error. Not sure how to resolve the Fortran error (Years since I ever did Fortran programming)

Tried attaching files, but some issues regarding requiring some points?

Any solution please.

SageMath installation failed in Ubuntu 20.04

I tried compiling SageMath 9.4 using source files downloaded from the website. website. Ran ./configure ./configure and the make. make. The build appeared to have failed with two errors : errors:

make[1]: * *** [Makefile:39: all-start] Error 1
make: * *** [Makefile:13: all] Error 2
System:

System:

$ uname -a with output
Linux XXXX-desktop 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

-First GNU/Linux

  • First Error -> The problem appears to be missing libraries (as seen in cmake-3.21.0.log):

    cmake-3.21.0.log):

    The imported target "Qt5::Gui" references the file
        "/usr/lib/x86_64-linux-gnu/libEGL.so"
     but this file does not exist.

    exist.

    Output from directory -> /usr/lib/x86_64-linux-gnu$ ls -l libE*

    lrwxrwxrwx 1 root root     20 Nov 22 08:23 libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0

    libEGL_mesa.so.0.0.0 -rw-r--r-- 1 root root 267704 Nov 22 08:23 libEGL_mesa.so.0.0.0

    libEGL_mesa.so.0.0.0 lrwxrwxrwx 1 root root 15 Dec 9 22:58 libEGL.so.1 -> libEGL.so.1.1.0

    libEGL.so.1.1.0 -rw-r--r-- 1 root root 80512 Nov 24 2020 libEGL.so.1.1.0

      libEGL.so.1.1.0
  • Second Error -> Non numeric error from Fortran print statement (as seen in config.log):

config.log):

configure:11924: gfortran -c   conftest.f >&5
conftest.f:2:3:
    2 |   program freeform
      |   1
Error: Non-numeric character in statement label at (1)
conftest.f:4:26:
    4 |        print *, 'Hello ', &
      |                          1
Error: Expected expression in PRINT statement at (1)
conftest.f:5:11:
    5 |           'world.'
      |           1
Error: Invalid character in name at (1)
configure:11924: $? = 1
configure: failed program was:
|
|   program freeform

freeform

Not sure if I can use a symbolic link name libEGL.so libEGL.so to resolve 1st Error. error. Not sure how to resolve the Fortran error (Years since I ever did Fortran programming)programming).

Tried attaching files, but some issues regarding requiring some points?

Any solution please.

click to hide/show revision 3
retagged

SageMath installation failed in Ubuntu 20.04

I tried compiling SageMath 9.4 using source files downloaded from the website. Ran ./configure and the make. The build appeared to have failed with two errors:

make[1]: *** [Makefile:39: all-start] Error 1
make: *** [Makefile:13: all] Error 2

System:

$ uname -a with output
Linux XXXX-desktop 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • First Error -> The problem appears to be missing libraries (as seen in cmake-3.21.0.log):

    The imported target "Qt5::Gui" references the file
       "/usr/lib/x86_64-linux-gnu/libEGL.so"
    but this file does not exist.
    

    Output from directory -> /usr/lib/x86_64-linux-gnu$ ls -l libE*

    lrwxrwxrwx 1 root root     20 Nov 22 08:23 libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
    -rw-r--r-- 1 root root 267704 Nov 22 08:23 libEGL_mesa.so.0.0.0
    lrwxrwxrwx 1 root root     15 Dec  9 22:58 libEGL.so.1 -> libEGL.so.1.1.0
    -rw-r--r-- 1 root root  80512 Nov 24  2020 libEGL.so.1.1.0
    
  • Second Error -> Non numeric error from Fortran print statement (as seen in config.log):

    configure:11924: gfortran -c   conftest.f >&5
    conftest.f:2:3:
        2 |   program freeform
          |   1
    Error: Non-numeric character in statement label at (1)
    conftest.f:4:26:
        4 |        print *, 'Hello ', &
          |                          1
    Error: Expected expression in PRINT statement at (1)
    conftest.f:5:11:
        5 |           'world.'
          |           1
    Error: Invalid character in name at (1)
    configure:11924: $? = 1
    configure: failed program was:
    |
    |   program freeform
    

Not sure if I can use a symbolic link name libEGL.so to resolve 1st error. Not sure how to resolve the Fortran error (Years since I ever did Fortran programming).

Tried attaching files, but some issues regarding requiring some points?

Any solution please.