-
Notifications
You must be signed in to change notification settings - Fork 5
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
Issue with build #48
Comments
No specific advice, you will note here that it works for my build My only suggestion would be to check that gnat's gcc is actually the first in the path. In some occasions, I have seen cc point to llvm instead of gcc and this broke builds |
what is it mean that gcc path is the first in gnat? Is there a specific way that I can check and fix? Thank you |
I meant GNAT should be the first in the path. Specifically, gcc --version and cc --version should match your GNAT installation. Also, the portion of config.log that shows the error below would probably help me to diagnose the issue You may also want to read this: AdaCore/gprbuild#21 As a work around, install GNAT community edition; this is usually safer than Linux distribution versions of GNAT |
Here is the core test part of config.log. Here it seems to contains the error. Let me try to re-install GNAT with community one. -----------Core tests.-----------configure:1947: checking build system type Written by John Gilmore and Jay Fenlason. configure:3479: $? = 0 |
There is a contradiction between your logs, your first message had OS: Ubuntu 18.04.5 LTS x86_64 the logs have configure:3468: gcc --version >&5 gnatmake --version and gcc --version should be the same version number |
That probably because I installed gnatmake and gcc individually. should I clean or downgrade one of those? |
Check my own logs; everything just works fine with default gcc and gnatmake both at version 7.5.0 |
I tried both ways - one with GNAT CE 2020 and downgraded gnat version. I could not find a way to execute with CE/bin commands, but I could successfully install ocarina after I downgrade gnat-8 to gnat-7. Thank you for the help! |
Hello, I am using Ubuntu 18.04 with VirtualBox VM.
Here I have an issue with building..
$ ./build_ocarina.sh --scenario=fresh-install
OS: Ubuntu 18.04.5 LTS x86_64
Compiler: GNATMAKE 8.4.0
autoconf: autoconf (GNU Autoconf) 2.69
automake: automake (GNU automake) 1.15.1
[2021-02-11-16:12] Checkout the Ocarina sources [PASSED]
[2021-02-11-16:12] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib' [PASSED]
[2021-02-11-16:12] Reconfiguring (Ocarina) [PASSED]
[2021-02-11-16:12] First configure (Ocarina)[2021-02-11-16:12] First configure (Ocarina) [FAILED]
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for mv... mv
checking for rm... rm
checking for cp... cp
checking for grep... grep
checking for chmod... chmod
checking for strip... strip
checking for ranlib... ranlib
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for gnatmake... gnatmake
checking for gnatmake... gnatmake
checking for gnatchop... gnatchop
checking if the Ada compiler works... yes
checking if the Ada compiler works... yes
checking whether gnatmake supports -aPdir... yes
checking for gnatclean... gnatclean
checking for gnatls... gnatls
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for gprbuild... /usr/bin/gprbuild
checking for gprinstall... /usr/bin/gprinstall
checking that your gnat compiler works with a simple example... Error: no native compiler found for language 'ada', default runtime
conftest.gpr:1:09: no languages defined for this project
gprbuild: "conftest.gpr" processing failed
no
configure: error: /usr/bin/gprbuild test failed at compile time! Check your configuration.
I tested gnatmake with hello_world example, but it did not have any issue with it.
Can I get any advice on this issue?
The text was updated successfully, but these errors were encountered: