OpenCOMAL
OpenCOMAL copied to clipboard
Building under MacOS Big Sur failed
I'm unable to build OpenCOMAL under MacOS Big Sur. Readline (Homebrew) and current Xcode CLI-Tools are installed.
Build-Error:
$ make OPSYS=macos
../tools/bumpbuild BUILD
make[1]: *** No rule to make target `../cii/src/except.o', needed by `../tools/mkcatdefs'. Stop.
make[1]: *** Waiting for unfinished jobs....
Build number is 729
../tools/genversion
make: *** [all] Error 2
Sorry, i tried to find a fix, but I have no clue.
Any suggestions?
I haven't looked at that in a while, I thought there was no interest. Now you're prompting me to finish some stuff again :-)
I'd recommend checking out the last tag, v0.3.0, and building that instead. I shouldn't have, but I think I pushed some broken code.
i tried v0.3.0 and was able to compile OpenCOMAL after fiddling around with the Makefile and some other files:
- Building of tools/mkcatdefs failed. So I build it separately:
gcc -o mkcatdefs mkcatdefs.c
- Even with LANG=en_GB.ISO8859-15 ga.msg can't be processed due to invalid characters. So I replaced it with the content of en.msg
- During the build process msgnrs.h got deleted somehow. So I included this line after
$(TARG1): $(OBJ1) $(OS)
and$(TARG2): $(OBJ2) $(OS)
:../tools/mkcatdefs msgnrs.h en.msg
Dirty hacks, I know. And I am serenely not proud of it. But it worked.