-
Notifications
You must be signed in to change notification settings - Fork 14
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
Building adalang tools #32
Comments
I had the same issue, so I did this: |
I'll try this and thanks. You need to mention before the instructions that one has to be in a crate. So I did this:
|
I decided to do the install in msys and this is what I got: |
I even tried: |
I'll update the instructions, thank you for the feedback. You should clone the repository and then run If there is nothing in the cache folders, I would expect that the |
Ok. Retried again and this : RELEASE DEPENDENCY Do you want to keep solving for a few more seconds? So libgmp* and libiconv* are in my MSYS package list: $ pacman -Q | grep gmp $ pacman -Q | grep iconv So I am not getting why it cannot find a complete solution! |
Yes, the issue must be with one of those system libraries that differ by operating system. For what it is worth, this is what it looks like when I run on Linux:
And then libgmp-dev seems get installed as expected, and then the Ada source starts getting compiled. Maybe Alire is just not seeing those the gmp or iconv libraries for some reason, even though they are installed. Hopefully an expert can chime in. I am sorry that didn't work for you out of the box. |
Thanks. I will try to do this on linux in a VM. We'll see if that is momentous or not! :-) |
I tried to build alire from scratch and that worked nicely. When I went to try and build libadalang_tools I got this: RELEASE DEPENDENCY Do you want to keep solving for a few more seconds? Seems there is some issue with finding libiconv and libgmp from Windows. I am still waiting for my VM to build to try it on linux |
So I did try linux, specifically CentOS 7.9. Alr seemed more natural in this environment, but I still had issue with libgmp which did exist on my system. I wish ACT still did the community releases or at least document so I can reproduce an Executable like they did. This piece-mealing of all of the parts is time consuming and frustrating when things dont work out of the box. |
Arg! Had to install gmp-devel and it found the missing gmp.h file! I am building now. I see a lot of warnings which is not very "Ada-like". |
Ok. Under CentOS, I was able to build or so it seemed your crate. I don't see any executable except libadalang_too_build which does nothing AFAIK. So I ran the "sh install.sh ..." and got an error find: '.alire/cache/dependencies/labadalang_tool*/bin/' : No such file or directory Did it create gnatpp or not? |
I found the executables! In some obtuse folder: |
ok. I got the install.sh to work. The line: That worked and installed the executables! |
Awesome! Glad you got it going. It would be nice if Alire had a way to just download, build, and install tools outside of a crate. I agree, this whole thing is a bit awkward - and I miss being able to just download GNAT Community and get all the goodies. Hopefully these are just transition period growing pains... |
I am trying to find a way to build gnatpp and after trying to use the make command, which didn't work, I tried to use alire. I have so many files that not compiling it isn't funny. Why is it that someone just doesn't build the adalang-tools so we can just pacman them?
The text was updated successfully, but these errors were encountered: