-
Notifications
You must be signed in to change notification settings - Fork 72
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
Cannot run program "jam" (in directory "/home/ubuntu/europa/src/PLASMA" #174
Comments
The default build uses Perforce Jam for its build, so you'll have to install it as a part of the CircleCI build setup. There's an experimental CMake build that will replace the jam/ant/make combination. Please feel free to give that a try. |
Thank you. I was not able to figure out how to work with cmake. I created a circle.yml file to install jam and ran the build on circleci. I would like to add the circle.yml file to the primary nasa/europa repo when I get this all working. https://circleci.com/gh/adityai/europa/5 The build failed. It looks like there are some errors related to missing header files (antlr3.h). I haven't done c++ for a while. I will continue troubleshooting, but please let me know if I missed something simple and important. |
There are a couple of prerequisites that need to be installed for Europa to build, listed and linked to on the Building Europa wiki page (please let me know if anything on that page is especially out-of-date). For the CMake build, there's a TravisCI .travis.yml file in the Europa root that should show you everything you need to do to build in CircleCI (or on the command-line, for that matter). |
Almost there. The commands in the .travis.yml helped. All but the last 'coveralls --gcov-options' commands passed. https://circleci.com/gh/adityai/europa/19 I do not know what coveralls does. I think it is doing a code coverage check. Can I just comment out this command? |
Yes, it's just for coverage tracking. |
Thank you. The cmake compilation passed, but the ant build task executed anyway and it failed. If I figure out a way to prevent the ant build task from running in circleci, can we consider the build as a pass? |
The build, at least, looks successful, though its occurring as part of the "dependencies" part of your build recipe. The "test" part of the recipe seems to be doing the old ant/jam build for some reason, which is itself failing. I'll look into that. I can't see anything in your circle.yml that would cause that to happen. |
Note that this seems to be related to #172. |
The .travis.yml file shows specific steps for building the project and it is not doing anything with the build.xml. I used the same commands from the .travis.yml in my circle.yml file to perform the build. I am curious about the build.xml. It does not look like we absolutely must have that build.xml for compiling and packaging. Why not just execute the commands used in the .travis.yml file? I deleted the build.xml in the forked repo and the build succeeded in both circleci and travis. Please let me know your thoughts. |
I am trying to build a Docker container for Europa. I am using CircleCI to compile the code. When the code compiles, I plan to make a Docker container or a VagrantBox for Europa.
I have forked this project to adityai/europa and I am compiling on CircleCI. The first build failed -https://circleci.com/gh/adityai/europa/1 with this error message on the build-cpp-unix ant task.
Error:
Cannot run program "jam" (in directory "/home/ubuntu/europa/src/PLASMA"
I will attempt to debug on my own, but if anyone has insights on how to resolve this issue, please share on this ticket.
The text was updated successfully, but these errors were encountered: