• Compile fails on "weird" platforms

    From Sampsa Laine@2:250/7 to All on Friday, December 11, 2015 17:10:00
    Guys,

    There are a couple of #ifdef's in some files that simply define
    strings for displaying the architecture and OS the MBSE instance
    is running on.

    These are sort of a pain because I have to go and manually hack
    the files to remove the #ifdefs and just define the string myself
    (running Debian/s390x on an emulated IBM z/Series Mainframe - yes,
    I'm crazy).

    Anyway, could I propose a change to these platform detecting
    #ifdefs that they fail with a warning about an unsupported/unknown
    platform but continue compiling.

    I've had no problems getting MBSE compiled and up and running on
    Debian s/390x but I have to hack the code to return a string of my
    own choosing in place of the ifdefs..

    ... MultiMail, the new multi-platform, multi-format offline reader!
    --- MultiMail/Darwin v0.49
    * Origin: B4BBS = London = b4bbs.sampsa.com 2:250/7 (2:250/7)
  • From Vince Coen@2:250/1 to Sampsa Laine on Friday, December 11, 2015 17:35:12
    Hello Sampsa!

    Friday December 11 2015 17:10, you wrote to All:

    Guys,

    There are a couple of #ifdef's in some files that simply define
    strings for displaying the architecture and OS the MBSE instance
    is running on.

    These are sort of a pain because I have to go and manually hack
    the files to remove the #ifdefs and just define the string myself
    (running Debian/s390x on an emulated IBM z/Series Mainframe - yes,
    I'm crazy).

    Anyway, could I propose a change to these platform detecting
    #ifdefs that they fail with a warning about an unsupported/unknown
    platform but continue compiling.

    I've had no problems getting MBSE compiled and up and running on
    Debian s/390x but I have to hack the code to return a string of my
    own choosing in place of the ifdefs..


    What files are causing the problem and confirm what version of mbse you are now running ?



    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From mark lewis@1:3634/12.73 to Sampsa Laine on Friday, December 11, 2015 18:02:08

    11 Dec 15 17:10, you wrote to All:

    I've had no problems getting MBSE compiled and up and running on
    Debian s/390x but I have to hack the code to return a string of my own choosing in place of the ifdefs..

    why can't you add that string to the ifdefs and then present a patch??

    )\/(ark

    "So let me ask you a question about this brave new world of yours. When you've killed all the bad guys, and when it's all perfect, and just and fair, and when
    you have finally got it exactly the way you want it, what are you going to do with the people like you? The trouble makers. How are you going to protect your
    glorious revolution from the next one?" - The twelfth Doctor

    ... Cursor: An expert in 4-letter words.
    ---
    * Origin: (1:3634/12.73)
  • From Sampsa Laine@2:250/7 to mark lewis on Sunday, December 20, 2015 17:48:00
    mark lewis wrote to Sampsa Laine <=-

    @MSGID: <5676E6EE.1629.mbse@b4bbs.com>
    @TZ: 412c

    11 Dec 15 17:10, you wrote to All:

    I've had no problems getting MBSE compiled and up and running on
    Debian s/390x but I have to hack the code to return a string of my own choosing in place of the ifdefs..

    why can't you add that string to the ifdefs and then present a patch??

    )\/(ark

    Because I'm lazy like that, and I doubt anyone else will ever run this on a
    IBM mainframe.

    No seriously - Debian/390x keeps falling over ALL the time, and now the
    DASD (=Hard drive in IBMspeak) images are corrupted so I'll have to install something more stable, going to try SuSE for z/Series..

    Once I've done that I'll do a diff of the files I hacked and give you guys
    a patch.


    Sampsa


    ... MultiMail, the new multi-platform, multi-format offline reader!
    --- MultiMail/Darwin v0.49
    * Origin: B4BBS = London = b4bbs.sampsa.com 2:250/7 (2:250/7)
  • From Sampsa Laine@2:250/7 to Vince Coen on Sunday, December 20, 2015 17:49:00
    Vince Coen wrote to Sampsa Laine <=-

    @MSGID: <5676E6EC.1627.mbse@b4bbs.com>
    Hello Sampsa!

    Friday December 11 2015 17:10, you wrote to All:

    Guys,

    There are a couple of #ifdef's in some files that simply define
    strings for displaying the architecture and OS the MBSE instance
    is running on.

    These are sort of a pain because I have to go and manually hack
    the files to remove the #ifdefs and just define the string myself
    (running Debian/s390x on an emulated IBM z/Series Mainframe - yes,
    I'm crazy).

    Anyway, could I propose a change to these platform detecting
    #ifdefs that they fail with a warning about an unsupported/unknown
    platform but continue compiling.

    I've had no problems getting MBSE compiled and up and running on
    Debian s/390x but I have to hack the code to return a string of my
    own choosing in place of the ifdefs..


    What files are causing the problem and confirm what version of mbse you are now running ?

    My Debian/390x is down right now because it's really unstable on Hercules
    and the latest crash corrupted the disk images beyond repair.

    Once I've rebuilt a SuSE (or something) z/Series box I'll get back to you.

    Sampsa

    ... MultiMail, the new multi-platform, multi-format offline reader!
    --- MultiMail/Darwin v0.49
    * Origin: B4BBS = London = b4bbs.sampsa.com 2:250/7 (2:250/7)
  • From Vince Coen@2:250/1 to Sampsa Laine on Sunday, December 20, 2015 18:12:13
    Hello Sampsa!

    Sunday December 20 2015 17:49, you wrote to me:

    My Debian/390x is down right now because it's really unstable on
    Hercules and the latest crash corrupted the disk images beyond repair.

    Once I've rebuilt a SuSE (or something) z/Series box I'll get back to
    you.

    What verion of Hercules are you running and on exactly what platform?


    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Sampsa Laine@2:250/7 to Vince Coen on Wednesday, December 23, 2015 09:09:00
    Vince Coen wrote to Sampsa Laine <=-

    @MSGID: <5676FB94.1645.mbse@b4bbs.com>
    Hello Sampsa!

    Sunday December 20 2015 17:49, you wrote to me:

    My Debian/390x is down right now because it's really unstable on
    Hercules and the latest crash corrupted the disk images beyond repair.

    Once I've rebuilt a SuSE (or something) z/Series box I'll get back to
    you.

    What verion of Hercules are you running and on exactly what platform? Vince

    I think 1.0.4 or 1.0.5 and it's Debian/s390x on an emulated z/Series mainframe.

    It's not the easiest of installs, I don't recommend it unless you have a lot
    of time to waste.

    Sampsa

    ... MultiMail, the new multi-platform, multi-format offline reader!
    --- MultiMail/Darwin v0.49
    * Origin: B4BBS = London = b4bbs.sampsa.com 2:250/7 (2:250/7)
  • From Vince Coen@2:250/1 to Sampsa Laine on Wednesday, December 23, 2015 13:10:12
    Hello Sampsa!

    Wednesday December 23 2015 09:09, you wrote to me:

    Vince Coen wrote to Sampsa Laine <=-

    @MSGID: <5676FB94.1645.mbse@b4bbs.com>
    Hello Sampsa!

    Sunday December 20 2015 17:49, you wrote to me:

    My Debian/390x is down right now because it's really unstable on
    Hercules and the latest crash corrupted the disk images beyond
    repair.

    Once I've rebuilt a SuSE (or something) z/Series box I'll get back
    to you.

    What verion of Hercules are you running and on exactly what
    platform? Vince

    I think 1.0.4 or 1.0.5 and it's Debian/s390x on an emulated z/Series mainframe.

    It's not the easiest of installs, I don't recommend it unless you have
    a lot of time to waste.

    No - it doesn't sound like it but again what version of Hercules are you running e.g., v3.07, 3.08, 3.09, 3.10, 3.11 (all spinhawk), v4.00 (Hyperion)?

    The Herc version may well be relevent as will the config file settings.

    You might also want to check out the various Yahoo usegroup! areas that cover the emulator.

    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Vince Coen@2:250/1 to Sampsa Laine on Thursday, December 24, 2015 13:58:05
    Hello Sampsa!

    Wednesday December 23 2015 09:09, you wrote to me:

    This is a follow on from my previous msg.

    Thinking a little about your problem - I have ommited some points to consider.

    1. Is the Linux distro you are running on the host PC/server fully upto date with all service packs and fixes and is it done on a regular basis?

    If not use another one that does!

    2. Have you built both the v3 and v4 builds of Hercules so you can test each one on this distro ?

    3. Does the Linux Distro that will run under Hercules fully up to date with service packs and other fixes again on a regular basis and if there has not been any or you cannot access them, find another distro.

    4. Have you installed all required packages required for C development that mbse needs?

    5. Did you tell the mbse build to make use of all Z optimisations without going overboard?

    6. If there are issues in installing a working C development group of packages
    on items 1 & 3 consider cross compiling on your own box, although that also has
    its issues in that find a GCC compiler that supports the Z platform.

    Well thats a starter for 10 .


    Vince

    Vince Coen wrote to Sampsa Laine <=-

    @MSGID: <5676FB94.1645.mbse@b4bbs.com>
    Hello Sampsa!

    Sunday December 20 2015 17:49, you wrote to me:

    My Debian/390x is down right now because it's really unstable on
    Hercules and the latest crash corrupted the disk images beyond
    repair.

    Once I've rebuilt a SuSE (or something) z/Series box I'll get back
    to you.

    What verion of Hercules are you running and on exactly what
    platform? Vince

    I think 1.0.4 or 1.0.5 and it's Debian/s390x on an emulated z/Series mainframe.

    It's not the easiest of installs, I don't recommend it unless you have
    a lot of time to waste.

    Sampsa

    ... MultiMail, the new multi-platform, multi-format offline reader!


    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)