Closed Nur-Hilal closed 4 years ago
This is the .appveyor setup I use for compiling Ocarina on Windows: https://github.com/OpenAADL/ocarina/blob/master/.appveyor.yml
You'll note I use the choco package manager that installs gnat-gpl, that provides gprbuild
I gave up using cygwin and msys as they do not provide a stable solution for GNAT
The file I attached is the command used by appveyor, a testing service, to compile and test Ocarina
My recommendation is 1/ Install choco 2/ use this file as a recipe to compile Ocarina, each line is a command you should type to compile Ocarina. It first installs gnat-gpl, then build-ocarina and then compile
Le 23 oct. 2019 à 20:31, MsLight notifications@github.com a écrit :
Thank you for your quick response, but I still do not get it how to use the file you attached, where do I use these commands. by the way, I did not install cygwin because I thought it was not needed but I installed GNAT before installing Msys2
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenAADL/ocarina-build/issues/43?email_source=notifications&email_token=AALOW35IQIG5GONPTPBSSILQQDUHJA5CNFSM4JEM6KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECDJLZI#issuecomment-545691109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALOW35OIBYBQNXMO6T5JE3QQDUHJANCNFSM4JEM6KPQ.
THANK YOU, I will do what you said
The file I attached is the command used by appveyor, a testing service, to compile and test Ocarina My recommendation is 1/ Install choco 2/ use this file as a recipe to compile Ocarina, each line is a command you should type to compile Ocarina. It first installs gnat-gpl, then build-ocarina and then compile … Le 23 oct. 2019 à 20:31, MsLight @.***> a écrit : Thank you for your quick response, but I still do not get it how to use the file you attached, where do I use these commands. by the way, I did not install cygwin because I thought it was not needed but I installed GNAT before installing Msys2 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#43?email_source=notifications&email_token=AALOW35IQIG5GONPTPBSSILQQDUHJA5CNFSM4JEM6KP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECDJLZI#issuecomment-545691109>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALOW35OIBYBQNXMO6T5JE3QQDUHJANCNFSM4JEM6KPQ.
Hello,yoogx !Firstly,thank you for your answers. I have a few questions to ask you Question 1: when I started the first installation (choco install GPL), I was unable to perform the following operations due to the unsuccessful remote online download. Question 2: can I use "choco" to directly install the locally downloaded "GPL"?
If you cannot neither download from GitHub or from choco package repository; I strongly recommend you check your network settings (including proxy. This would be more efficient. You can, of course, install GNAT CE; but you may miss other dependencies like autoconf or automake
If you cannot neither download from GitHub or from choco package repository; I strongly recommend you check your network settings (including proxy. This would be more efficient. You can, of course, install GNAT CE; but you may miss other dependencies like autoconf or automake
Thank you for your answer. I will consider all your suggestions.
Hi, I have the same issue on ubuntu 20.04. Here I am attaching the failed attempt:
Guessing OS
linux
OS: Ubuntu 20.04.1 LTS x86_64
Compiler: GNATMAKE 10.0.1 20200411 (experimental) [master revision bb87d5cc77d:75961caccb7:f883c46b4877f637e0fa5025b4d6b5c9040ec566]
autoconf: autoconf (GNU Autoconf) 2.69
automake: automake (GNU automake) 1.16.1
[2020-08-15-22:50] Checkout the Ocarina sources [PASSED]
[2020-08-15-22:50] Fetching runtimes 'polyorb-hi-ada polyorb-hi-c aadlib[PASSED]
[2020-08-15-22:50] Reconfiguring (Ocarina) [PASSED]
[2020-08-15-22:50] First configure (Ocarina)[2020-08-15-22:50] First configure (Ocarina) [FAILED]
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/trifoil/ocarina-build/ocarina/support/missing: Unknown --is-lightweight' option Try
/home/trifoil/ocarina-build/ocarina/support/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/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 whether make supports the include directive... yes (GNU style)
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... no
checking for python2... no
checking for python3... /usr/bin/python3
checking for python version... 3.8
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.8/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.8/site-packages
checking for gprbuild... no
checking for gprinstall... no
configure: error: I could not find gprbuild. .
Looking for a suggestion.
Take inspiration from this dockerfile https://github.com/OpenAADL/ocarina-docker/blob/master/ubuntu-20.04/Dockerfile
It looks like gprbuild is not installed. On debian and ubuntu; they separated the gnat package from the gpruilbd one.
Take inspiration from this dockerfile https://github.com/OpenAADL/ocarina-docker/blob/master/ubuntu-20.04/Dockerfile
It looks like gprbuild is not installed. On debian and ubuntu; they separated the gnat package from the gpruilbd one.
Yea, I have specifically installed gprbuild. Now the ocarina installation is complete. Thank you very much.
Hi, I am using Msys2 to install Ocarina, I installed everything before trying to install Ocarina, but still says that it can not find gprbuild I could not find it anywhere at all, no package contains this tool Kindly, could anybody help with that P.S. I am installing it on windows 10 I wrote the failed attempt down