Re: Help setting up Sablevm
"Kyle S" <[email protected]> Mon, 21 Mar 2005 20:25:49 -0800
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you Mr. Bélanger Mr. Prokopski
Using ./configure with the LDFLAGS and CPPFLAGS, worked wonders in Sablevm
Thank you, thank you
> On Mon, 2005-21-03 at 15:14 -0500, David Bélanger wrote:
> > Depending on where it is installed, you might need to specify its
> > location with LDFLAGS and CPPFLAGS:
> > ./configure LDFLAGS="-L/path/to/lib" CPPFLAGS="-I/path/to/include"
>
> You might also take a look at http://sablevm.org/wiki/LibFFI
>
> Setting these env. variables is described there.
But now I ran into another problem.
./configure seems to work for sablevm-classpath
but when I type make I get this error
Making all in lib
"Makefile", line 467: Need an operator
Fatal errors encountered -- connot continue
*** Error code 1
Stop in /usr/InternetFiles/sablevm-classpath-1.11.1 (line 346 of MakeFile)
I looked in lib's makefile and could find nouthing that looked like it should error. But then I can't say I know that much about makefiles.
Heres line 341 to 353 of lib/makefile:
list='$(DISTFILES)'; for file in $$list; do \
case $$file in \
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
esac; \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ #<-- line 346 is here
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
dir="/$$dir"; \
$(mkdir_p) "$(distdir)$$dir"; \
else \
dir=''; \
fi; \
Heres line 467 to 477 of lib/makefile:
sinclude $(JAVA_DEPEND)
#install-data-hook:
# mkdir -p $(JAVA_HOME)/{lib,jre/lib}
# -unlink $(JAVA_HOME)/jre/lib/rt.jar
# for f in $(pkgdata_DATA) ; do \
# rm -f $(JAVA_HOME)/{lib,jre/lib}/$$f ; \
# $(LN_S) $(pkgdatadir)/$$f $(JAVA_HOME)/lib/$$f ; \
# $(LN_S) ../../lib/$$f $(JAVA_HOME)/jre/lib/$$f ; \
# done
# $(LN_S) libclasspath.jar $(JAVA_HOME)/jre/lib/rt.jar
Thank you all for your help
Kyle
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm