Nicolas Geoffray <nicolas.geoffray <at> gmail.com> writes:> > > Did you link the shared libraries? (step 2). > > Also, can you send me your configure option? > > NicolasOn Wed, Jul 20, 2011 at 3:45 PM, Sarah <sarah.berenji <at> gmail.com>wrote:> Nicolas Geoffray <nicolas.geoffray <at> gmail.com> writes: > > > > > > Hi Sarah, > > > > You should use classpath 0.97.2 and not 0.98 (isn't the error messageobvious?> ). > > So please try with classpath 0.97.2, and let me know if it works. > > > > _______________________________________________ > > LLVM Developers mailing list > > LLVMdev <at> cs.uiuc.edu http://llvm.cs.uiuc.edu>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev> > > No! It didn't work :( > The error still remains....! > Any suggestion? > > > > _______________________________________________ > LLVM Developers mailing listLLVMdev <at> cs.uiuc.eduhttp://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev> > > > > > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev <at> cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >I created links in "/usr/local/classpath/lib" where my classpath objects are installed. Since it didn't work I tried these paths too: in classpath's source "/usr/local/classpath-0.97.2/lib" & also in "/lib"!! The error didn't change. As another solution, I used gcc-4.1 to compile classpath. But it didn't work too. Here is my configure options: ./configure --with-llvmsrc=/usr/local/llvm-2.9 --with-gnu-classpath- glibj=/usr/local/classpath/share/classpath --with-gnu-classpath- libs=/usr/local/classpath/lib --with-llvmobj=/usr/local/llvm-2.9 Using "--with-mmtk-plan" returns the following error: "configure: error: /bin/bash .//autoconf/config.sub org.mmtk.plan.marksweep.MS failed", so I committed it assuming it will use the default value.
Hi Sarah, On Sun, Jul 24, 2011 at 6:28 AM, Sarah <sarah.berenji at gmail.com> wrote:> > I created links in "/usr/local/classpath/lib" where my classpath objects > are > installed. Since it didn't work I tried these paths too: in classpath's > source > "/usr/local/classpath-0.97.2/lib" & also in "/lib"!! The error didn't > change. > As another solution, I used gcc-4.1 to compile classpath. But it didn't > work > too. > Here is my configure options: > ./configure --with-llvmsrc=/usr/local/llvm-2.9 --with-gnu-classpath- > glibj=/usr/local/classpath/share/classpath --with-gnu-classpath- > libs=/usr/local/classpath/lib --with-llvmobj=/usr/local/llvm-2.9 > >I suggest not installing gnu classpath, but just work on the local directory where you compiled it. At the end of the compilation process, you should have: .../classpath-0.97.2/lib/*.so .../classpath-0.97.2/lib/glibj.zip> Using "--with-mmtk-plan" returns the following error: "configure: error: > /bin/bash .//autoconf/config.sub org.mmtk.plan.marksweep.MS<http://org.mmtk.plan.marksweep.ms/> failed", > so I > committed it assuming it will use the default value. > >It will get the default which is org.mmtk.plan.marksweep.MS, but the configure error is strange. Could you try with another collector? Nicolas> > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110724/4a529631/attachment.html>
Nicolas Geoffray <nicolas.geoffray <at> gmail.com> writes:> > > Hi Sarah, > On Sun, Jul 24, 2011 at 6:28 AM, Sarah <sarah.berenji <at> gmail.com> wrote: > I created links in "/usr/local/classpath/lib" where my classpath objects are > installed. Since it didn't work I tried these paths too: in classpath's source > "/usr/local/classpath-0.97.2/lib" & also in "/lib"!! The error didn't change. > As another solution, I used gcc-4.1 to compile classpath. But it didn't work > too. > Here is my configure options: > ./configure --with-llvmsrc=/usr/local/llvm-2.9 --with-gnu-classpath- > glibj=/usr/local/classpath/share/classpath --with-gnu-classpath- > libs=/usr/local/classpath/lib --with-llvmobj=/usr/local/llvm-2.9 > > > I suggest not installing gnu classpath, but just work on the local directorywhere you compiled it. At the end of the compilation process, you should have:> .../classpath-0.97.2/lib/*.so > .../classpath-0.97.2/lib/glibj.zip > > > Using "--with-mmtk-plan" returns the following error: "configure: error: > /bin/bash .//autoconf/config.sub org.mmtk.plan.marksweep.MS failed", so I > committed it assuming it will use the default value. > > > > > > It will get the default which is org.mmtk.plan.marksweep.MS, but theconfigure error is strange. Could you try with another collector?> > Nicolas > >Sorry for delay in response. As you suggested, I didn't install classpath & thankfully it works!! cd classpath-0.97.2 ./configure CC=/usr/bin/gcc-4.1 --disable-plugin --disable-examples --disable- Werror make cd lib ln -s ../native/jni/java-lang/.libs/libjavalang.so; (and so on) cd vmkit-0.29 ./configure --with-llvmsrc=/usr/local/llvm-2.9 --with-gnu-classpath- glibj=/usr/local/classpath-0.97.2/lib --with-gnu-classpath- libs=/usr/local/classpath-0.97.2/lib --with-llvmobj=/usr/local/llvm-2.9 -- with-mmtk-plan=org.mmtk.plan.copyms.CopyMS make cd Release/bin/ ./j3 Hey About "--with-mmtk-plan", in my previouse installations, all other collectors return the same error. But this time (which classpath didn't install) I used org.mmtk.plan.copyms.CopyMS & everything runs well :) Thanks for your help :)