AdaCore / gprbuild

GPRbuild is an advanced build system designed to help automate the construction of multi-language systems.
Other
65 stars 21 forks source link

gprbuild configuration problem #70

Closed bcartwri96 closed 4 years ago

bcartwri96 commented 4 years ago

Hi there. I'm new here, and while I've been programming in Ada for a couple of years, I don't know how it's compiled etc.

Installing on a new MBP running MacOS Mojave, with a freshly installed GNAT / GPS env and SPARK too, I get the following error while trying to compile a file:

gprbuild -d -P/Users/bencartwright/...subdirs.../token_ring.gpr -XSpecific_build_modes=Development/Users/bencartwright/...same subs.../token_ring.adb
No valid configuration found
Generation of configuration files failed
GNAT-TEMP-000001.TMP:1:01: "project" expected
gprbuild: processing of configuration project "/private/var/folders/ym/rp9y64qs6gj1f59rvm7szcxh0000gn/T/GNAT-TEMP-000001.TMP" failed
[2019-07-31 23:00:12] process exited with status 4, elapsed time: 00.22s

I've tried reinstalling and I've scanned the web for helpful hints, yet none have really helpful (apart from one tangentially related one here on this very repo)

Can someone please help me? Many thanks :)

t-14 commented 4 years ago

Hi. Are you reporting an issue with gprbuild that is bundled with GNAT Community, or you are reporting an issue with gprbuild that you've built yourself?

bcartwri96 commented 4 years ago

That which is bundled with GNAT community 😄

t-14 commented 4 years ago

Ok, then this github project is not really the right vehicle for reporting that. All I can say is that such a message indicates that gprconfig cannot find its knowledge base. You can try building gprbuild from this project and see if it works better.

bcartwri96 commented 4 years ago

Do you happen to know where I can go to receive help with this problem? Many thanks :)