• Cryptlib...

    From Bucko@21:4/131 to All on Sat Sep 17 00:29:46 2022
    Ok I give.... Trying to make the move from Windows to Debian 11 with my Mystic, got the whole directory structure thing figured out.. No sweat..

    I can't compile cryptlib, downloaded 3.4.5 from the Mystic Wiki, and unzip'd it with no issues with the -a flag.. When trying to sudo make shared I get the following error

    gcc: warning -mcpu is deprecated use -mtune or -march instead
    cc1: error: CPU you selected does not support x86-64 instruction set


    Anyone have any ideas what's going on here? This is pretty much the only thing keeping me from pulling the plug on the change over...

    Thanks in advance...

    AL

    ... Computers all wait at the same speed!

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Avon@21:1/101 to Bucko on Sat Sep 17 22:02:02 2022
    On 17 Sep 2022 at 12:29a, Bucko pondered and said...

    gcc: warning -mcpu is deprecated use -mtune or -march instead
    cc1: error: CPU you selected does not support x86-64 instruction set

    this is a guess but are you trying to run something that is for 64bit but your system is not?

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From esc@21:4/173 to Bucko on Sat Sep 17 04:10:30 2022
    Anyone have any ideas what's going on here? This is pretty much the only thing keeping me from pulling the plug on the change over...

    Yeah, this is a real pain in the ass. I'll try to walk you through it, this should be updated on the wiki honestly.

    Find the file ./tools/ccopts.sh and edit it.

    Around line 591 you'll find an if block. Comment out the entire if block. All the way from
    if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "x86_64" ] ;

    all the way to the 'fi' that wraps up the if block.

    Right under the commented 'fi', add the line

    CCARGS="$CCARGS -march=native -mtune=native"

    After that it should build for you.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Bucko@21:4/131 to esc on Sat Sep 17 07:48:13 2022
    On 17 Sep 2022, esc said the following...

    Yeah, this is a real pain in the ass. I'll try to walk you through it, this should be updated on the wiki honestly.

    Find the file ./tools/ccopts.sh and edit it.

    Around line 591 you'll find an if block. Comment out the entire if
    block. All the way from
    if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "x86_64"
    ] ;

    all the way to the 'fi' that wraps up the if block.

    Right under the commented 'fi', add the line

    CCARGS="$CCARGS -march=native -mtune=native"

    After that it should build for you.

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)

    BINGO~!! Thank you esc! Yup it built now hopefully I can get Mystic to boot because when using the prebuilt version on the wiki I get errors.. LOL Thanks again..

    AL

    ... Honk if you love peace and quiet!

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From paulie420@21:2/150 to Bucko on Mon Sep 19 18:48:11 2022
    I can't compile cryptlib, downloaded 3.4.5 from the Mystic Wiki, and unzip'd it with no issues with the -a flag.. When trying to sudo make shared I get the following error

    The newest Ubuntu has an error compiling cryptlib - theres a pre-compiled version that I tested and works fine, and I uploaded it to 2o. Just search 'cryptlib' in the file menu and make sure you download the Deadbeatz BBS Pre-Compiled one.

    While I didn't compile it, I can attest that it does w0rk on Ubuntu 22.04.

    Hope that helps, brotha.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From paulie420@21:2/150 to esc on Mon Sep 19 18:50:08 2022
    Yeah, this is a real pain in the ass. I'll try to walk you through it, this should be updated on the wiki honestly.

    Right under the commented 'fi', add the line
    CCARGS="$CCARGS -march=native -mtune=native"

    Nice, I used a pre-compiled version that Deadbeatz released a while ago - and I had tried to pass the -march thru the command-line with no success... thanks for telling us how to do it correctly, I exported yer message which will make it into my /mystictext folder. Thx, esc.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From esc@21:4/173 to paulie420 on Tue Sep 20 00:11:49 2022
    Nice, I used a pre-compiled version that Deadbeatz released a while ago
    - and I had tried to pass the -march thru the command-line with no success... thanks for telling us how to do it correctly, I exported yer message which will make it into my /mystictext folder. Thx, esc.

    My pleasure!

    --- Mystic BBS v1.12 A48 2022/07/11 (Linux/64)
    * Origin: m O N T E R E Y b B S . c O M (21:4/173)
  • From Bucko@21:4/131 to paulie420 on Tue Sep 20 18:20:50 2022
    On 19 Sep 2022, paulie420 said the following...

    I can't compile cryptlib, downloaded 3.4.5 from the Mystic Wiki, and
    The newest Ubuntu has an error compiling cryptlib - theres a pre-compiled version that I tested and works fine, and I uploaded it to 2o. Just
    search 'cryptlib' in the file menu and make sure you download the Deadbeatz BBS Pre-Compiled one.


    Thanks for the info, got it going by compiling it myself, found a message either on here or on the web saying what to change to make it assemble wit hno issues..

    Al

    ... APPLE: It may be slow, but at least it's expensive.

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Bucko@21:4/131 to paulie420 on Tue Sep 20 18:21:21 2022
    On 19 Sep 2022, paulie420 said the following...

    Yeah, this is a real pain in the ass. I'll try to walk you through it this should be updated on the wiki honestly.

    Right under the commented 'fi', add the line
    CCARGS="$CCARGS -march=native -mtune=native"

    Nice, I used a pre-compiled version that Deadbeatz released a while ago
    - and I had tried to pass the -march thru the command-line with no success... thanks for telling us how to do it correctly, I exported yer message which will make it into my /mystictext folder. Thx, esc.

    And there you go, esc helped me out.. LOL

    ... I have a really good memory, except it's short.

    --- Mystic BBS v1.12 A48 2022/07/15 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)