Re: [rvm-research] Error building the MMTk test harness
Robin Garner <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
On 22/04/13 09:16, Dallas Treder wrote: > I am following the guides located in > the http://jikesrvm.org/Care+and+Feeding section of the website, and > have gotten the RVM configured and built, but when I got to > the http://jikesrvm.org/The+MMTk+Test+Harness guide, and ran the ant > mmtk-harness command, I got the following error: [snip] > > init-javacc-properties: > > fetch: > [mkdir] Created dir: > /home/csse/trash-man/jikesrvm/components/javacc/4.0 > [echo] Downloading (no cache available) > [get] > Getting: http://java.net/projects/javacc/downloads/download/oldversions/javacc-4.0.zip > [get] To: > /home/csse/trash-man/jikesrvm/components/javacc/4.0/javacc-4.0.zip > > [get] http://java.net/projects/javacc/downloads/download/oldversions/javacc-4.0.zip moved > tohttps://java.net/projects/javacc/downloads/download/oldversions/javacc-4.0.zip > > [get] https://java.net/projects/javacc/downloads/download/oldversions/javacc-4.0.zip moved > tohttp://java.net/downloads/javacc/oldversions/javacc-4.0.zip > > BUILD FAILED > /home/csse/trash-man/jikesrvm/build.xml:442: The following error > occurred while executing this line: > /home/csse/trash-man/jikesrvm/build/components/javacc.xml:50: The > following error occurred while executing this line: > /home/csse/trash-man/jikesrvm/build/components/base.xml:70: The > following error occurred while executing this line: > /home/csse/trash-man/jikesrvm/build/components/base.xml:76: The > following error occurred while executing this line: > /home/csse/trash-man/jikesrvm/build/components/javacc.xml:40: The > following error occurred while executing this line: > /home/csse/trash-man/jikesrvm/build/components/base.xml:110: The > following error occurred while executing this line: > /home/csse/trash-man/jikesrvm/build/components/base.xml:118: > Redirection detected from https to http. Protocol switch unsafe, not > allowed. The above error messages say that build.xml tried to download javac-4.0.zip, but that it's moved. The simplest fix is to edit build/components/javacc.xml, and on line 39 (ish) change the url to the last one given in the error message above, http://java.net/downloads/javacc/oldversions/javacc-4.0.zip If this doesn't work for some reason, try obtaining javacc-4.0.zip from somewhere, and putting it in ~/.buildit_components_cache cheers > > I am running this on a Ubuntu 12.10 x32 machine, running OpenJDK 1.6. > If there is any more information I can provide, please let me know. > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > > > _______________________________________________ > Jikesrvm-researchers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter