• Mystic setup - cryptlib install

    From Daniel@3:770/3 to All on Wed Nov 27 10:48:29 2024
    I'm just getting started configuring mystic for my first shiny new
    bbs. Going down the wiki instructions and stumbling already.

    SSH and SSL prerequisites state to install cryptlib. As per the
    directions, I installed gcc-9 to get cryptlib installed and here's the
    output. Just to be clear, the files the output states as not found are,
    indeed, there. The file list in the tools directory follows this
    output. Assistance is appreciated.

    make[1]: Entering directory '/home/blablabla/cryptlib'
    make[2]: Entering directory '/home/blablabla/cryptlib'
    make[2]: Leaving directory '/home/blablabla/cryptlib'
    make[2]: Entering directory '/home/blablabla/cryptlib'
    make[2]: Leaving directory '/home/blablabla/cryptlib'
    make[1]: Leaving directory '/home/blablabla/cryptlib'
    ./tools/ccopts.sh: 64: cc: not found
    strip: 'tools/endian': No such file
    Couldn't build endianness-checking program ./tools/endian
    make[1]: Entering directory '/home/blablabla/cryptlib'
    make libcl.so.3.4.8 OBJPATH=./shared-obj/ OSNAME=`uname` CFLAGS="-c
    -D__UNIX__ -DNDEBUG -I. -DOSVERSION=6 -O3 -fomit-frame-pointer
    -D_REENTRANT"
    make[2]: Entering directory '/home/blablabla/cryptlib'
    cc -c -D__UNIX__ -DNDEBUG -I. -DOSVERSION=6 -O3 -fomit-frame-pointer -D_REENTRANT -o ./shared-obj/bn_asm
    .o bn/bn_asm.c
    make[2]: cc: No such file or directory
    make[2]: *** [makefile:657: shared-obj/bn_asm.o] Error 127
    make[2]: Leaving directory '/home/blablabla/cryptlib'
    make[1]: *** [makefile:2129: Linux] Error 2
    make[1]: Leaving directory '/home/blablabla/cryptlib'
    make: *** [makefile:423: shared] Error 2

    Here are the files in the tools directory

    buildall.sh
    buildlib.sh
    buildsharedlib.sh
    ccopts-crosscompile.sh
    ccopts.sh
    cfarm.sh
    cryptlibConverter.py
    cryptlibConverter.py3
    cryptlibConverter.py3.ansi
    cryptlibConverter.py3.unicode
    cryptlibConverter.py3.utf
    dumpasn1.c
    dumpasn1.cfg
    endian.c
    fuzz.sh
    GenPas.pl
    GenPerl.pl
    GenVB.pl
    getcompiler.sh
    getcompiler_ver.sh
    getlibs.sh
    getseed.sh
    ls.txt
    mkhdr.sh
    osversion.sh
    patterns.sed
    rename.sh
    valgrindrc
    xcode.sh

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Al DeRosa@1:267/157 to Daniel on Wed Nov 27 18:53:56 2024

    On 27 Nov 2024, Daniel said the following...

    I'm just getting started configuring mystic for my first shiny new
    bbs. Going down the wiki instructions and stumbling already.

    SSH and SSL prerequisites state to install cryptlib. As per the directions, I installed gcc-9 to get cryptlib installed and here's the output. Just to be clear, the files the output states as not found are, indeed, there. The file list in the tools directory follows this
    output. Assistance is appreciated.


    I know this is probably not the correct answer but did you use sudo to make the file?? A lot of times the permissions are set for root and building will not work. I was one of the first who did the above with my system when I moved over to Debian, it worked like a charm, I believe when I "make" the I used sudo because my instance of Mystic is in the root directory and not in my Home directory.


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Multitasking: Reading in the bathroom

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1:267/157)
  • From Al DeRosa@1:267/157 to Daniel on Wed Nov 27 19:04:58 2024
    Here is the listing I had when Alisha Stutz figured this all out. It should be the same as on the wiki.

    sudo apt update
    sudo apt install build-essential
    sudo apt install gcc-9 g++-9
    sudo apt install zip unzip
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
    wget http://www.mysticbbs.com/downloads/cl345.zip
    mkdir cl345
    cd cl345
    unzip -ax ../cl345.zip
    sudo make shared
    sudo mv libcl.so.3.4.5 /usr/lib/libcl.so
    sudo rm /mystic/data/ssl.cert
    sudo update-alternatives --install /usr/bin/gcc /usr/bin/gcc-11 11
    sudo update-alternatives --install /usr/bin/g++ /usr/bin/g++-11 11
    reboot the system

    I am pretty sure this is the exact way the wiki shows it but I know for a fact this works and it creates the libcl.so which is needed for ssh to work..

    Hope that helps a bit...


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Error 3032 - Recursion error. See error 3032.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1:267/157)
  • From Daniel@3:770/3 to Al DeRosa on Fri Nov 29 16:53:10 2024
    nospam.Al.DeRosa@f157.n267.z1.fidonet.org (Al DeRosa) writes:

    Here is the listing I had when Alisha Stutz figured this all out. It should be
    the same as on the wiki.

    sudo apt update
    sudo apt install build-essential
    sudo apt install gcc-9 g++-9
    sudo apt install zip unzip
    sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9
    sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9
    wget http://www.mysticbbs.com/downloads/cl345.zip
    mkdir cl345
    cd cl345
    unzip -ax ../cl345.zip
    sudo make shared
    sudo mv libcl.so.3.4.5 /usr/lib/libcl.so
    sudo rm /mystic/data/ssl.cert
    sudo update-alternatives --install /usr/bin/gcc /usr/bin/gcc-11 11
    sudo update-alternatives --install /usr/bin/g++ /usr/bin/g++-11 11
    reboot the system

    I am pretty sure this is the exact way the wiki shows it but I know for a fact
    this works and it creates the libcl.so which is needed for ssh to work..

    Hope that helps a bit...


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Error 3032 - Recursion error. See error 3032.

    I started fresh, deleted the directory and followed what you put
    line-by-line. I got the same output.

    make[1]: Entering directory '/home/daniel/cl345'
    make[2]: Entering directory '/home/daniel/cl345'
    make[2]: Leaving directory '/home/daniel/cl345'
    make[2]: Entering directory '/home/daniel/cl345'
    make[2]: Leaving directory '/home/daniel/cl345'
    make[1]: Leaving directory '/home/daniel/cl345'
    ./tools/ccopts.sh: 49: cc: not found
    strip: 'tools/endian': No such file
    Couldn't build endianness-checking program ./tools/endian
    make[1]: Entering directory '/home/daniel/cl345'
    make libcl.so.3.4.5 OBJPATH=./shared-obj/ OSNAME=`uname` CFLAGS="-c
    -D__UNIX__ -DNDEBUG -I. -DOSVERSION=
    6 -O3 -fomit-frame-pointer -D_REENTRANT"
    make[2]: Entering directory '/home/daniel/cl345'
    cc -c -D__UNIX__ -DNDEBUG -I. -DOSVERSION=6 -O3 -fomit-frame-pointer -D_REENTRANT -o ./shared-obj/bn_asm
    .o bn/bn_asm.c
    make[2]: cc: No such file or directory
    make[2]: *** [makefile:578: shared-obj/bn_asm.o] Error 127
    make[2]: Leaving directory '/home/daniel/cl345'
    make[1]: *** [makefile:1924: Linux] Error 2
    make[1]: Leaving directory '/home/daniel/cl345'
    make: *** [makefile:374: shared] Error 2

    I guess I will continue configuring my mystic and circle back to this
    when I can figure out the problem. And why the script can't find files
    that exist.

    Any other hints that people can provide will be greatly appreciated.

    D

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Al DeRosa@1:267/157 to Daniel on Fri Nov 29 20:17:34 2024
    On 29 Nov 2024, Daniel said the following...

    I guess I will continue configuring my mystic and circle back to this
    when I can figure out the problem. And why the script can't find files that exist.

    Any other hints that people can provide will be greatly appreciated.

    D


    Hmmpf, that is weird.. It should work unless there is permissions issues.. If you want to email me at bucko@wrgnbr.com I can send you a copy of my libcl.so it works fine as I use it with both Mystic, and netrunner...


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Operator, give me the number for 911

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1:267/157)
  • From Daniel@3:770/3 to Al DeRosa on Sat Nov 30 15:04:45 2024
    nospam.Al.DeRosa@f157.n267.z1.fidonet.org (Al DeRosa) writes:

    On 27 Nov 2024, Daniel said the following...

    I'm just getting started configuring mystic for my first shiny new
    bbs. Going down the wiki instructions and stumbling already.

    SSH and SSL prerequisites state to install cryptlib. As per the directions, I installed gcc-9 to get cryptlib installed and here's the output. Just to be clear, the files the output states as not found are, indeed, there. The file list in the tools directory follows this
    output. Assistance is appreciated.


    I know this is probably not the correct answer but did you use sudo to make the
    file?? A lot of times the permissions are set for root and building will not work. I was one of the first who did the above with my system when I moved over
    to Debian, it worked like a charm, I believe when I "make" the I used sudo because my instance of Mystic is in the root directory and not in my Home directory.

    I logged in as root and tried it again, nada.

    I'm going to email you from the other reply. Thanks brother.

    Not sure why they don't just include the file like your'e about to send me.



    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Multitasking: Reading in the bathroom

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Al DeRosa@1:267/157 to Daniel on Sun Dec 1 08:27:46 2024
    On 30 Nov 2024, Daniel said the following...

    I logged in as root and tried it again, nada.

    I'm going to email you from the other reply. Thanks brother.

    Not sure why they don't just include the file like your'e about to send me.

    I think it is more to do with different Distro's but then again I could be showing my ignorance there.. Hope the file worked out for you..


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Enter any 12-digit prime number to continue.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1:267/157)
  • From Daniel@3:770/3 to Al DeRosa on Tue Dec 17 17:26:47 2024
    nospam.Al.DeRosa@f157.n267.z1.fidonet.org (Al DeRosa) writes:

    On 29 Nov 2024, Daniel said the following...

    I guess I will continue configuring my mystic and circle back to this when I can figure out the problem. And why the script can't find files that exist.

    Any other hints that people can provide will be greatly appreciated.

    D


    Hmmpf, that is weird.. It should work unless there is permissions issues.. If you want to email me at bucko@wrgnbr.com I can send you a copy of my libcl.so it works fine as I use it with both Mystic, and netrunner...


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Operator, give me the number for 911

    I never thanked you for the help. So thank you.

    D

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Al DeRosa@1:267/157 to Daniel on Tue Dec 17 21:13:47 2024
    On 17 Dec 2024, Daniel said the following...


    I never thanked you for the help. So thank you.


    No problem glad I could help...


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Press any key to continue or any other key to quit...

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1:267/157)