• [Crashmail] MacOS 64-bit binaries

    From Flavio Bessa@4:801/188 to All on Sun Jun 6 14:02:58 2021
    Hello,

    Where can I find crashmail's 64-bit binaries for MacOS? My old
    Macpoint bundle is now complaining about 32-bit software after
    the latest MacOS upgrade...

    --
    _
    ..-----________________--_ ________.--'-`--._____ Flavio Bessa \____==================_) \_'===================` 4:801/188
    _,--___.-|__|-.______|=====/ `---' fcbessa@gmail.com
    `---------._ ~~~~~| Rio de Janeiro
    `-._ - - - ,' Brasil
    \_____,-' Visit Zone4 Website at: https://fido.bbs.docksud.com.ar/wiki/doku.php?id=fidonet:nodos

    --- Thunderbird/MacOS 78.6.0
    * Origin: Andromeda - Saturn's Orbit NNTP Gateway, Brazil (4:801/188)
  • From Björn Felten@2:203/2 to Flavio Bessa on Sun Jun 6 19:39:36 2021
    Where can I find crashmail's 64-bit binaries for MacOS? My old
    Macpoint bundle is now complaining about 32-bit software after
    the latest MacOS upgrade...

    I must admit that I don't know the answer to your question. But I *DO* know where Johan Billings latest contributions to Fidonet can be found:

    http://eljaco.se/FILES/Billing/

    You may be able to find the proper files to compile your own version of CrashMail there, but it's mostly a question of how much Johan is ready to spend on our old museum artefact named FTN. 8-)

    I think that Johan Billing is still on Facebook, so maybe that's a possible path?

    Good luck!

    ..

    --- Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.9.1.16) Gecko/20101125
    * Origin: news://eljaco.se (2:203/2)
  • From Oli@2:280/464.47 to Flavio Bessa on Sun Jun 6 20:49:02 2021
    Flavio wrote (2021-06-06):

    Hello,

    Where can I find crashmail's 64-bit binaries for MacOS? My old
    Macpoint bundle is now complaining about 32-bit software after
    the latest MacOS upgrade...


    build it. if it works, you'll find it on you hard drive.

    https://github.com/ftnapps/crashmail

    ---
    * Origin: . (2:280/464.47)
  • From Flavio Bessa@4:801/188 to Oli on Mon Jun 7 11:26:23 2021
    On 06/06/21 16:49, Oli -> Flavio Bessa wrote:
    Flavio wrote (2021-06-06):

     FB>> Hello,

     FB>> Where can I find crashmail's 64-bit binaries for MacOS? My old
     FB>> Macpoint bundle is now complaining about 32-bit software after
     FB>> the latest MacOS upgrade...


    build it. if it works, you'll find it on you hard drive.

    https://github.com/ftnapps/crashmail


    I have downloaded it (I have gcc installed), but am getting the
    following error message when trying to compile:

    flbessa@FLBESSA-M-X6Q0 crashmail-master % make osx
    make -C src -f Makefile osx
    make -C cmnllib -f Makefile.osx
    make[2]: Makefile.osx: No such file or directory
    make[2]: *** No rule to make target `Makefile.osx'. Stop.
    make[1]: *** [osx] Error 2
    make: *** [osx] Error 2
    flbessa@FLBESSA-M-X6Q0 crashmail-master %

    The Makefile.osx is under the src/ directory...


    --
    _
    ..-----________________--_ ________.--'-`--._____ Flavio Bessa \____==================_) \_'===================` 4:801/188
    _,--___.-|__|-.______|=====/ `---' fcbessa@gmail.com
    `---------._ ~~~~~| Rio de Janeiro
    `-._ - - - ,' Brasil
    \_____,-' Visit Zone4 Website at: https://fido.bbs.docksud.com.ar/wiki/doku.php?id=fidonet:nodos
    --- Thunderbird/MacOS 78.6.0
    * Origin: Andromeda - Saturn's Orbit NNTP Gateway, Brazil (4:801/188)
  • From Oli@2:280/464.47 to Flavio Bessa on Mon Jun 7 21:16:00 2021
    Flavio wrote (2021-06-07):

    On 06/06/21 16:49, Oli -> Flavio Bessa wrote:
    build it. if it works, you'll find it on you hard drive.

    https://github.com/ftnapps/crashmail


    I have downloaded it (I have gcc installed), but am getting the
    following error message when trying to compile:

    flbessa@FLBESSA-M-X6Q0 crashmail-master % make osx
    make -C src -f Makefile osx
    make -C cmnllib -f Makefile.osx
    make[2]: Makefile.osx: No such file or directory
    make[2]: *** No rule to make target `Makefile.osx'. Stop.
    make[1]: *** [osx] Error 2
    make: *** [osx] Error 2
    flbessa@FLBESSA-M-X6Q0 crashmail-master %

    The Makefile.osx is under the src/ directory...

    src/cmnllib/Makefile.osx is missing. Try to copy Makefile.linux to Makefile.osx and change

    CC = gcc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall to
    CC = clang $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall

    I don't have an MacOS machine and cannot test it. Maybe it works, maybe it doesn't.

    ---
    * Origin: . (2:280/464.47)
  • From Flavio Bessa@4:801/188 to Oli on Mon Jun 7 17:40:36 2021
    On 07/06/21 17:16, Oli -> Flavio Bessa wrote:

    src/cmnllib/Makefile.osx is missing. Try to copy Makefile.linux to Makefile.osx
     and change

    CC = gcc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I $(INCDIR) -Wall
    to
    CC = clang $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I
    $(INCDIR) -Wall

    I don't have an MacOS machine and cannot test it. Maybe it works, maybe it doesn't.

    Thanks! That helped. I copied the Makefile.osx that was under the /src directory to the /src/cmnllib directory and ran the 'make'command
    again:

    flbessa@FLBESSA-M-X6Q0 crashmail-master % make osx
    make -C src -f Makefile osx
    make -C cmnllib -f Makefile.osx
    make[2]: *** No rule to make target `crashmail/crashmail.c', needed by `obj/crashmail.o'. Stop.
    make[1]: *** [osx] Error 2
    make: *** [osx] Error 2
    flbessa@FLBESSA-M-X6Q0 crashmail-master %


    --
    _
    ..-----________________--_ ________.--'-`--._____ Flavio Bessa \____==================_) \_'===================` 4:801/188
    _,--___.-|__|-.______|=====/ `---' fcbessa@gmail.com
    `---------._ ~~~~~| Rio de Janeiro
    `-._ - - - ,' Brasil
    \_____,-' Visit Zone4 Website at: https://fido.bbs.docksud.com.ar/wiki/doku.php?id=fidonet:nodos
    --- Thunderbird/MacOS 78.6.0
    * Origin: Andromeda - Saturn's Orbit NNTP Gateway, Brazil (4:801/188)
  • From Oli@2:280/464.47 to Flavio Bessa on Mon Jun 7 21:58:24 2021
    Flavio wrote (2021-06-07):

    On 07/06/21 17:16, Oli -> Flavio Bessa wrote:

    src/cmnllib/Makefile.osx is missing. Try to copy Makefile.linux to
    Makefile.osx
     and change

    CC = gcc $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I
    $(INCDIR) -Wall
    to
    CC = clang $(CPPFLAGS) $(CFLAGS) -DPLATFORM_LINUX $(LDFLAGS) -I
    $(INCDIR) -Wall

    I don't have an MacOS machine and cannot test it. Maybe it works,
    maybe it doesn't.

    Thanks! That helped. I copied the Makefile.osx that was under the /src directory to the /src/cmnllib directory and ran the 'make'command
    again:

    You copied the wrong Makefile. I get the same error:

    crashmail/src $ cp Makefile.linux cmnllib/
    crashmail/src $ make linux
    mkdir -p obj
    make -C cmnllib -f Makefile.linux
    make[1]: Entering directory '/tmp/crashmail/src/cmnllib'
    make[1]: *** No rule to make target 'crashmail/crashmail.c', needed by 'obj/crashmail.o'. Stop.
    make[1]: Leaving directory '/tmp/crashmail/src/cmnllib'
    make: *** [Makefile:16: linux] Error 2


    Copy src/cmnllib/Makefile.linux to src/cmnllib/Makefile.osx, change gcc to clang and try again.

    ---
    * Origin: . (2:280/464.47)
  • From Flavio Bessa@4:801/188 to Oli on Mon Jun 7 23:06:57 2021
    On 07/06/21 17:58, Oli -> Flavio Bessa wrote:


    Copy src/cmnllib/Makefile.linux to src/cmnllib/Makefile.osx, change gcc to clang and try again.


    Thank you, we are moving forward! :)

    I was able to compile it under your instructions, however now
    when I try to execute the binaries I am getting the following
    error:

    flbessa@FLBESSA-M-X6Q0 bin % ./toss
    ../toss: line 6: 99822 Illegal instruction: 4 $BIN SETTINGS $CFG TOSS SCAN

    If I try to manually issue the TOSS command I still get the same
    error message:

    flbessa@FLBESSA-M-X6Q0 sbin % ./crashmail SETTINGS .../etc/crashmail.prefs TOSS zsh: illegal hardware instruction ./crashmail SETTINGS .../etc/crashmail.prefs
    TOSS
    flbessa@FLBESSA-M-X6Q0 sbin %

    Looks like there's something else to be changed... i will look
    into the compiler logs again.

    --
    _
    ..-----________________--_ ________.--'-`--._____ Flavio Bessa \____==================_) \_'===================` 4:801/188
    _,--___.-|__|-.______|=====/ `---' fcbessa@gmail.com
    `---------._ ~~~~~| Rio de Janeiro
    `-._ - - - ,' Brasil
    \_____,-' Visit Zone4 Website at: https://fido.bbs.docksud.com.ar/wiki/doku.php?id=fidonet:nodos
    --- Thunderbird/MacOS 78.6.0
    * Origin: Andromeda - Saturn's Orbit NNTP Gateway, Brazil (4:801/188)
  • From Oli@2:280/464.47 to Flavio Bessa on Tue Jun 8 08:49:15 2021
    Flavio wrote (2021-06-07):

    On 07/06/21 17:58, Oli -> Flavio Bessa wrote:

    Copy src/cmnllib/Makefile.linux to src/cmnllib/Makefile.osx, change
    gcc to clang and try again.


    Thank you, we are moving forward! :)

    I was able to compile it under your instructions, however now
    when I try to execute the binaries I am getting the following
    error:

    flbessa@FLBESSA-M-X6Q0 bin % ./toss
    ./toss: line 6: 99822 Illegal instruction: 4 $BIN SETTINGS $CFG TOSS SCAN

    If I try to manually issue the TOSS command I still get the same
    error message:

    flbessa@FLBESSA-M-X6Q0 sbin % ./crashmail SETTINGS
    .../etc/crashmail.prefs TOSS zsh: illegal hardware instruction
    ./crashmail SETTINGS ../etc/crashmail.prefs TOSS
    flbessa@FLBESSA-M-X6Q0 sbin %

    Looks like there's something else to be changed... i will look
    into the compiler logs again.


    I have no idea what causes this error and what it means exactly, but let's try stuff, maybe we are lucky.

    It looks like someone started to add OSX Makefiles to the crashmail repo, but never finished the job. The only difference between 'make linux' and 'make osx' seems to be the usage of clang instead of gcc as a compiler. I assume you created a Makefile.osx in jamlib too.

    First I would try to build chrashmail with gcc, it might just work:
    make cleanlinux
    make linux

    Alternatively change gcc to clang in the src/oslib_linux/Makefile and try
    make cleanlinux
    make osx

    ---
    * Origin: . (2:280/464.47)