Giter Club home page Giter Club logo

Comments (3)

jeff-snyder avatar jeff-snyder commented on August 23, 2024

I found the following in "https://sdl-hercules-390.github.io/html/rexx.html":

If the headers rexx.h and oorexxapi.h are found, then support for OORexx will be provided. If the header rexxsaa.h is found, then support for Regina Rexx will be provided. If all three headers are found, then support for both OORexx and Regina will be provided and you can then specify at runtime which one you want Hercules to use. (See the 'rexx' "start" option further below.)

So the script should not be trying to install Regina REXX support, since the file rexxsaa.h is not present, right?

Also, I found the "--no-rexx" option on the hyperion-buildall script (jeez, RTFM much? :) ) and tried it, but I still get the failure. Again, the script is trying to install it when I specifically said not to.

Is it possible there's a logic error in the script, around deciding whether to install Regina REXX?

from hercules-helper.

wrljet avatar wrljet commented on August 23, 2024

Jeff,

Thank you for reporting these issues.

It is true the error detection is not what it should be, and that is improving (slowly) over time.
I have added return code checks to the various git invocations to catch the case you ran into.


I have added a mention in the README about the example directories shown.
You can of course checkout/put Hercules-Helper anywhere you like. And use any directory name or location
for what I call ~/herctest in the example. But I do recommend you keep them separated. Don't use the same directory for both.


I suspect the problem you have encountered related to REXX is because, if you already had REXX installed,
(Hercules-Helper is not going building it) but not the required development package as well. So the Hercules configure and build process did not have access to the header files and link libraries.

For example, if you installed Regina REXX, on Debian/Ubuntu/etc you will also need:

sudo apt install libregina3-dev

I have added a comment about this situation to the README. (which has not come up before)

Bill

from hercules-helper.

jeff-snyder avatar jeff-snyder commented on August 23, 2024

Hi Bill,

Thanks for looking at this.

Always glad to help! I'm good at finding errors... :-)

I reread the READMEs and the note you added about Regina REXX looks good.

I installed the Regina development package and a buildall with --verbose and --prompt worked. It found REXX and rexxsaa.h and included support for Regina REXX in the build. I ran for an hour or so using that hercules and did not find any errors.

After rereading the documentation and log files, I realize I misunderstood the meaning of the "--no-rexx" option switch. I was thinking the option meant to not include support for REXX in Hercules when it appears to mean "Don't build Regina itself". When I look at the log for a run with "--no-rexx", it says "skip : Build Regina REXX". Since REXX is found, the script also logs a message that says, "Regina REXX is present. Skipping build from source" on all the runs, so that seems to confirm my new understanding.

Jeff

from hercules-helper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.