openworm / org.geppetto.core

Geppetto core bundle
http://www.geppetto.org/
Other
23 stars 13 forks source link

build fails on running org.geppetto.core as maven install #28

Closed Anupama-Github closed 10 years ago

Anupama-Github commented 10 years ago

I attempted to set up org.geppetto.core on my ubuntu 12.10 . Using the blue pill method mentioned here(https://docs.google.com/document/d/1UPfS5UbQ9z61EJ4Uf6saivSy8IR4JHoyQO38FY66ifE/edit) does not allow me to start eclipse as i get the error: binary file cannot be executed Using the red pill method causes build failure during maven install, screenshot below: org geppetto core-error

How can i address this issue? thank you

gidili commented 10 years ago

@Anupama-Github I wouldn't expect this to ever fail on master, but looking at the automated build it was in fact failing 2 days ago, but it's ok now. Pull again and give it another shot?

tarelli commented 10 years ago

@gidili I don't think the automated build was failing two days ago on the master branch. Note that the master branch is only touched when I release and in order to do that I need the build to pass. @Anupama-Github I think I have seen previously invalid LOC header. If I am not mistaken that might happen if a library gets downloaded from Maven in a bad way (connection glitch or anything) and the resulting download is corrupted. Could you try to see if clearing you local maven repository and calling again maven install (which would trigger a re-download) solves this problems? Thanks!

gidili commented 10 years ago

@tarelli oh yes - it's the refactoringtrees branch that was failing. I assumed we were running automated builds only on master for some reason. Also is that blue/red pill document still recommended or is it superseded by the new script utils @mlolson put together?

Anupama-Github commented 10 years ago

@tarelli I am unable to access the document mentioned on account of what seems to be a google docs server down error. @gidili I followed the OSX Linux setup instructions by @mlolson but am stuck at the Setup Geppetto Repositories step as i cant find osx_utils directory and setup.py script

gidili commented 10 years ago

@Anupama-Github it's in the development branch, not in master: https://github.com/openworm/org.geppetto/tree/development/utilities - if you get stuck with osx_utils (should work on mac osx and linux) check all_os_utils, that one should be os independent.

gidili commented 10 years ago

@Anupama-Github also which document can't you access? @tarelli was suggesting you to empty your local maven repository so that next time you do a maven install libraries will be pulled down again

Anupama-Github commented 10 years ago

@gidili Thank you I used all_os_utils and cleared my maven local repository as suggested by @tarelli . However the projects model.neuroml and solver.sph failed during the maven build while others were successful. I have attached screenshots below model neuroml-build error org geppetto solver sph-error

I am unable to access the red pill/blue pill document

mlolson commented 10 years ago

Try checking out the master branch on org.neuroml.model, and org.neuroml.infectingplugin, build both of those packages (mvn clean install) then build geppetto again. The problem is that geppetto expects neuroml v1.2.1 but the development branch of neuroml has been upped to v1.3.0

Anupama-Github commented 10 years ago

I did but the error re-appears Update: @mlolson As you said, on cloning from master and building org.neuroml.infecting plugin first, the error of missing jar file vanishes. I'am however still facing the OpenCLProbe not found error ( second screenshot ) while building solver.sph Thank you