• Compiling in a raspi4 64 bits

    From Angel Ripoll@2:341/66 to Todos on Fri Jul 15 01:11:56 2022
    Hola Todos!

    I am trying to compile sbbs on a raspi 4 64bit

    I know that a while ago I was able to do it because right now it is running on this machine, but now, when I try to compile it (and I have also tried it on a raspi3+) it gives me this error:

    ************************************************************
    gmake[2]: Leaving directory '/srv/fido/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src'
    configuring in ctypes/libffi
    running /bin/sh ./configure --disable-shared --enable-static --disable-raw-api --with-pic --cache-file=/srv/fido/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src/ctypes/libffi/c onfig.cache --srcdir=.
    configure: creating cache /srv/fido/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src/ctypes/libffi/config.cache
    checking build system type... ./config.guess: unable to guess system type

    This script, last modified 2009-11-19, has failed to recognize
    the operating system you are using. It is advised that you
    download the most up to date version of the config scripts from

    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess; hb=HEAD
    and
    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb =HEAD

    If the version you run (./config.guess) is already up to date, please
    send the following data and any information you think might be
    pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system.

    config.guess timestamp = 2009-11-19

    uname -m = aarch64
    uname -r = 5.15.32-v8+
    uname -s = Linux
    uname -v = #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022

    /usr/bin/uname -p = unknown
    /bin/uname -X =

    hostinfo =
    /bin/universe =
    /usr/bin/arch -k =
    /bin/arch = aarch64
    /usr/bin/oslevel =
    /usr/convex/getsysinfo =

    UNAME_MACHINE = aarch64
    UNAME_RELEASE = 5.15.32-v8+
    UNAME_SYSTEM = Linux
    UNAME_VERSION = #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022
    configure: error: cannot guess build type; you must specify one
    configure: error: ./configure failed for ctypes/libffi
    make[1]: *** [GNUmakefile:77: ../build/../../src/../3rdp/gcc.linux.aarch64.release/mozjs/lib/libmozjs185-1.0. a] Error 1
    make[1]: se sale del directorio '/srv/fido/sbbs/repo/3rdp/build'
    make: *** [/srv/fido/sbbs/repo/src/sbbs3/../build/Common.gmake:524: js] Error 2

    ************************************************************

    Does anyone know how to fix it?

    Thanks in advance



    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org

    --- GoldED+/LNX 1.1.5-b20220504 + HPT 1.9 + Binkd 1.1 en Debian
    * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66)
  • From Ragnarok@DOCKSUD to Angel Ripoll on Fri Jul 22 19:47:44 2022
    El 14/7/22 a las 20:11, Angel Ripoll escribió:
    Hola Todos!

    I am trying to compile sbbs on a raspi 4 64bit

    I know that a while ago I was able to do it because right now it is running on this machine, but now, when I try to compile it (and I have also tried it on a raspi3+) it gives me this error:

    ************************************************************
    gmake[2]: Leaving directory '/srv/fido/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src'
    configuring in ctypes/libffi
    running /bin/sh ./configure --disable-shared --enable-static --disable-raw-api --with-pic --cache-file=/srv/fido/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src/ctypes/libffi/c onfig.cache --srcdir=.
    configure: creating cache /srv/fido/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src/ctypes/libffi/config.cache
    checking build system type... ./config.guess: unable to guess system type

    Hola Angel parece que el configure del libmozjs es el que falla porque
    no detecta la arquitectura correctamente
    Proba entrar al dir 3rdp/src/mozjs/js-1.8.5/js/src
    y hacer:

    ./configure --build=aarch64-unknown-linux

    referencia:
    https://github.com/mariusae/trickle/issues/22

    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Angel Ripoll@2:341/66 to Ragnarok on Thu Aug 25 18:41:20 2022
    Hola Ragnarok!

    22 Jul 22 19:47, Ragnarok dijo a Angel Ripoll:

    Hola Angel parece que el configure del libmozjs es el que falla porque
    no detecta la arquitectura correctamente
    Proba entrar al dir 3rdp/src/mozjs/js-1.8.5/js/src
    y hacer:

    ./configure --build=aarch64-unknown-linux

    referencia:
    https://github.com/mariusae/trickle/issues/22

    Gracias por contestar pero eso no funciona :(

    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org

    --- GoldED+/LNX 1.1.5-b20220504 + HPT 1.9 + Binkd 1.1 en Debian
    * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66)
  • From lot3d to Angel Ripoll on Sun Oct 2 20:40:27 2022
    config.guess timestamp = 2009-11-19

    Make sure you are compiling source code after this check-in: https://gitlab.synchro.net/main/sbbs/-/merge_requests/131
  • From Angel Ripoll@2:341/66 to Lot3d on Wed Oct 12 11:22:54 2022
    Hola Lot3d!

    02 Oct 22 20:40, lot3d dijo a Angel Ripoll:

    Make sure you are compiling source code after this check-in: https://gitlab.synchro.net/main/sbbs/-/merge_requests/131

    Yes

    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org

    --- GoldED+/LNX 1.1.5-b20220504 + HPT 1.9 + Binkd 1.1 en Debian
    * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66)