-
-
Notifications
You must be signed in to change notification settings - Fork 125
Build Harbour on Alpine Linux #2433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
I wrote a few lines of comments in the Dockerfile.
This has two problems: * Neither Alpine nor more recent Debian versions can bypass the instruction that uses a deprecated system call (`sysctl`). * The question mark operators representing `QOut` (`?`) and `QQOut` (`??`) cannot be used because neither symbol is found. This last problem can be solved by adding `#define` instructions at the top of the Harbour source file in the runner file, but I'll first compare some files from the stable version (3.0.0) and the development version (3.2.0) to see if I can make any sense of it.
config/data/langs.toml
Outdated
| version = '3.0.0' | ||
| website = 'https://harbour.github.io' | ||
| size = '6.74 MiB' | ||
| version = '53f3d24' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather not jump to a random commit, their latest stable is still 3.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather not jump to a random commit, their latest stable is still 3.0
That's understandable. That's also why I initially came up with #1875, because by the time a new commit is compiled, there are already eighty-seven new ones, and compiling only takes a minute or two. I don't feel like doing that right now, you know. What a problematic language.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, I got it working. Well, it's always worked, but whatever. The issue with the outdated system call seems pretty much unavoidable and has since been fixed with a patch. However, I'm afraid the sample code needs to be modified to support this specific version of the project. What do you think? Shouldn't these be mostly tutorial solutions, or mostly hard-coded?
effdb10 to
bc2fa00
Compare
I wrote a few lines of comments in the Dockerfile.