OpenCOMAL icon indicating copy to clipboard operation
OpenCOMAL copied to clipboard

Building under MacOS Big Sur failed

Open TexTerry opened this issue 4 years ago • 2 comments

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?

TexTerry avatar Jan 05 '21 19:01 TexTerry

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.

poldy avatar Jan 06 '21 00:01 poldy

i tried v0.3.0 and was able to compile OpenCOMAL after fiddling around with the Makefile and some other files:

  1. Building of tools/mkcatdefs failed. So I build it separately: gcc -o mkcatdefs mkcatdefs.c
  2. 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
  3. 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.

TexTerry avatar Jan 09 '21 13:01 TexTerry