Menu

install fails again

cmcanulty
2022-05-02
2022-05-16
  • cmcanulty

    cmcanulty - 2022-05-02

    I just upgraded to xubuntu 20.04 today and now scidb fails again with this error. However I have 4:11.2 installed. Somehow scid sees that as 11.2 not 4:11.2 see screenshot below. Please help as I love scidb and need it! I have checked and it seems I have the latest version of gcc. Thank you

    [cid:259c0f91-2b37-47c9-8889-4b539f6a80a9]

    [code]cmcanulty@dellInspiron660s:~/scidb-code-r1531-trunk$ ./configure
    configure: Makefile configuration program for Scidb
    Tcl/Tk version: 8.6
    Your operating system is: Linux 5.15.0-27-generic
    Distributor: Ubuntu
    Revision: 22.04
    Version: 22.04 LTS (Jammy Jellyfish)
    Checking if your system has gcc installed: yes,
    but existing gcc version 11.2 is too old.

    The required version is 3.4 and higher.
    

    cmcanulty@dellInspiron660s:~/scidb-code-r1531-tr
    [code]
    Carol & Denny McAnulty
    cmcanulty@hotmail.com

     

    Related

    Code: code

  • cmcanulty

    cmcanulty - 2022-05-08

    Here's an update on the issue. scidb works fine on the machine I upgraded from xubuntu 20.04 to 22.04. It won't install at all on the clean install of 22.04. Both have identical installs of gcc and both have all the recommended dependencies. The clean install gets the error in my previous post. Maybe I am missing some other app that needs to be installed for gcc to work properly? Though scidb does work OK on the upgraded computer.

     

    Last edit: cmcanulty 2022-05-08
  • cmcanulty

    cmcanulty - 2022-05-08

    update some progress I did these things and got ./configure to run on xubuntu 22.04 but see the end for another fatal error that has my stuck

    I have gotten ./configure to run by
    using this web site to install and older gcc. The oldest one that worked for scidb ./configure was gcc 9
    https://www.linuxcapable.com/how-to-...ntu-22-04-lts/
    so I did the code:

    Code:

    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9

    then I did tcl fix as follows
    sudo apt install tcl-dev

    then I ran make and now I get an error I have no idea how to fix:
    sys_info.cpp:30:11: fatal error: sys/sysctl.h: No such file or directory

     
  • cmcanulty

    cmcanulty - 2022-05-09

    Further detective work may help someone that is better with code than me:

    OK maybe this helps . I did a locate search for sysctl.h on both computers so I see the differences but don't have a clue how to fix it. I did search for the pkg sysctl.h and it doesn't appear to be available for 22.04.
    
    On the system that works I get this:
    Code:
    
    cmcanulty@HPPavilion23:~$ locate sysctl.h
    /usr/include/linux/sysctl.h
    /usr/share/python3-pycparser/fake_libc_include/sys/sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/linux/sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/linux/sched/sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/soc/canaan/k210-sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/uapi/linux/sysctl.h
    cmcanulty@HPPavilion23:~$
    
    on the system that doesn't work I get this:
    
    Code:
    
    cmcanulty@DellInspiron-660s:~$ locate sysctl.h
    /usr/include/linux/sysctl.h
    /usr/share/python3-pycparser/fake_libc_include/sys/sysctl.h
    /usr/src/linux-headers-5.15.0-25/include/linux/sysctl.h
    /usr/src/linux-headers-5.15.0-25/include/linux/sched/sysctl.h
    /usr/src/linux-headers-5.15.0-25/include/soc/canaan/k210-sysctl.h
    /usr/src/linux-headers-5.15.0-25/include/uapi/linux/sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/linux/sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/linux/sched/sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/soc/canaan/k210-sysctl.h
    /usr/src/linux-headers-5.15.0-27/include/uapi/linux/sysctl.h
    cmcanulty@DellInspiron-660s:~$
    

    thank you

     
  • cmcanulty

    cmcanulty - 2022-05-16

    can someone please help me fix this. I have tried on multiple linux forums and no luck. It doesn't install on debian either as I installed debian on a machine to try this. Is it possible to make a snap to eliminate continual install problems. Thank you for all your hard work on this great app!

     

Log in to post a comment.

MongoDB Logo MongoDB