Closed milosonator closed 7 years ago
I don't think that you are doing anything wrong. It's probably that the build process doesn't work on Ubuntu. I normally run it on Darwin, and occasionally on Linux; @ltratt made it work on BSD, but Ubuntu may not have been exercised for a long time.
Your options are to try on a different flavour of Unix, or fix the failure yourself. I'm in the process of moving away from the C-language bootstrap altogether: I'm trying to build an NPM package that will let us run and bootstrap the JavaScript version of the compiler at the command line, and then I'll abandon the C code generator. So I'm not going to spend time on seeing why the C-language version of minigrace won't compile on Ubuntu.
There is code in ./configure
that's supposed to figure-out the right flags for the compilation process; there is also some conditional code in genc.grace
that determines the right flags for ld.
I've tried a couple of things, some didn't work, but eventually I got it to work. First I tried Debian Linux and FreeBSD as well. Debian suffered from similar issues as Ubuntu, on FreeBSD there were some missing dependencies (and not easy for me to resolve as I'm not familiar with that system).
The root cause may have had to do with insufficient system resources. I created a new virtual machine with 4gb (rather than 2gb), and the build proceeded.
In regards to the C-bootstrapping: I fully understand that you do not want to invest anymore time in this. Looking forward to a working NPM package. Very exciting.
Hi,
I'm using Ubuntu 16.04 x86_64. I'm trying to build minigrace to run local grace programs. I just check out the repo and run
make
, I'm getting the following error:Is there a problem with the build process? Or am I doing something wrong?
Full build output: