Compile Classpath from CVS
Hello.. I just try to compile Classpath form the CVS but i always get the error configure.ac:503: required file `./config.rpath' not found, after the autogen.sh command. I have also tried this, [+] Clean files generated by autoconf, aclocal, automake and configure [+] Run aclocal [+] Run autoheader [+] Run automake [+] Run autoconf.. But it will not resolve the Problem.. Best regards -- View this message in context: http://old.nabble.com/Compile-Classpath-from-CVS-tp29873864p29873864.html Sent from the Gnu - Classpath - General mailing list archive at Nabble.com.
Re: classpath from CVS
Brian Jones [EMAIL PROTECTED] writes: Don't know if I sent my last email to the list or just to Ian. Anyway vpath %.java $(top_srcdir) does the trick with a small modification to the rule. %.class: %.java $(JAVAC) $ I'm still playing with this so I've not checked in anything. And I've not forgotten this... but I haven't gotten something that I know works yet. Brian -- Brian Jones [EMAIL PROTECTED]
Re: classpath from CVS
Don't know if I sent my last email to the list or just to Ian. Anyway vpath %.java $(top_srcdir) does the trick with a small modification to the rule. %.class: %.java $(JAVAC) $ I'm still playing with this so I've not checked in anything. Brian -- Brian Jones [EMAIL PROTECTED]
classpath from CVS
I have downloaded and installed classpath0.0 (1999-02-06) on my Arm/Linux machine and installed it on top of Japhar 0.08. Should the installed classes replace the classes.zip file? If I don't remove the classes.zip file Japhar seems to ignore the new arrivals; if I do remove it, the JVM refuses to start. Do I need a more up-to-date version of classpath? I tried building the CVS version but found that I couldn't drive the autoconf/automake process. Here is what I tried: - configuration attempt --- $ automake configure.in: 15: required file `./include/config.h.in' not found configure.in: 15: required file `./include/stamp-h.in' not found $ ./configure --help bash: ./configure: No such file or directory $ autoconf configure.in:41: warning: AC_TRY_RUN called without default to allow cross compiling $ ./configure --with-classlib=/gnu/japhar-0.08/share creating cache ./config.cache checking host system type... arm-unknown-linux-gnu ./configure: line 590: syntax error near unexpected token `AM_INIT_AUTOMAKE(${PACKAGE},' ./configure: line 590: `AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})' --- What is the right way to go about this? [I do havbe the right or later versions of the utilities listed in the GNU Classpath Hacker's Guide.] Any help appreciated, Chris Dornan [EMAIL PROTECTED]
Re: classpath from CVS
"Chris" == cdornan [EMAIL PROTECTED] writes: Chris I tried building the CVS version but found that I couldn't Chris drive the autoconf/automake process. Here is what I tried: Run aclocal, autoconf, automake in that order. Then try to run configure. Tom
Re: classpath from CVS
[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: I have downloaded and installed classpath0.0 (1999-02-06) on my Arm/Linux machine and installed it on top of Japhar 0.08. Should the installed classes replace the classes.zip file? If I don't remove the classes.zip file Japhar seems to ignore the new arrivals; if I do remove it, the JVM refuses to start. Do I need a more up-to-date version of classpath? I tried building the CVS version but found that I couldn't drive the autoconf/automake process. Here is what I tried: Classpath 0.0 is horribly out of date. At this point I really don't recommend trying to use Classpath unless you plan to be actively hacking on it. Nevertheless, try running "autoheader" and "aclocal" before the commands you tried. That might work. -- Aaron M. Renn ([EMAIL PROTECTED]) http://www.urbanophile.com/arenn/
classpath from CVS
Hi folks, OK, I have classpath configured now (thanks Tom). However, when I try to build, I ran into problems. I have documented them below, in case they would be of help. OK, I gather that Classpath is certainly not on general release. At the momment, I am working on JVMs more than class libraries. I don't mind putting in a bit of work to get it going but there is little point in plaguing this list with my problems if I can wait a while for it to settle down before jumping on board. Should I wait? Do you folks have plans for a beta release in the pipeline? Thanks again for your help, Chris Dornan [EMAIL PROTECTED] --- classpath build probs --- [Again, I am building a CVS checked-out source tree, pointing `with-java' at a JDK 1.2.1 `java'.] 1) When it does a `javac' on all the .java files I get some compiler errors: a) java/lang/String.java:86: Invalid expression statement. val ^ and the file contains: public String() { value = new char[0]; val } Does enyone know why it has this? b) nu/java/awt/image/ImageDecoder.java:40: Missing term. cm = ^ the file contains: static { String endian = System.getProperties ().getProperty ("gnu.cpu.endian"); if (endian == null) cm = } It looks as if some preprocessing step has substituted a null string where it shouldn't have. c) java/awt/Image.java:23: Package java.awt.image not found in import. import java.awt.image.*; ^ I get many, many of these messages. Is this because I am running a recenct, fussy, JDK 1.2.1 java. d) /gnu/japhar-0.08/bin/javah --jni --classpath .:/gnu/japhar-0.08/share/classes.zip java.io.File java/lang/ClassNotFoundException (com.sun.tools.javah.Main) Hmnn, it is running japhar now?
Re: Can not compile classpath from CVS.
Moses DeJong [EMAIL PROTECTED] writes: ../java/lang/Character.java:5: Class gnu.java.lang.ClassLoaderHelper not found in import. import gnu.java.lang.ClassLoaderHelper; ^ ../java/lang/Character.java:26: Interface java.lang.Comparable of class java.lang.Character not found. public final class Character implements Serializable, Comparable ^ 2 errors make: *** [java/lang/Block.class] Error 1 This was covered in some previous email to the list. When compiling the java sources, you'll probably need to use make -i -k because the program which is generating the dependencies is slightly broken. Brian -- |---|Software Engineer |Brian Jones|[EMAIL PROTECTED] |[EMAIL PROTECTED]|http://www.nortel.net |http://www.classpath.org/ |--
Can not compile classpath from CVS.
Has anyone else run into this error. Any idea what makefile (or whatever) I need to hack to get this to work. Also, I have to wonder why the classpath stuff is compiled one .java file at a time. This takes a lot longer then just compiling all of the .java files at once. (here is the error) ../java/lang/Character.java:5: Class gnu.java.lang.ClassLoaderHelper not found in import. import gnu.java.lang.ClassLoaderHelper; ^ ../java/lang/Character.java:26: Interface java.lang.Comparable of class java.lang.Character not found. public final class Character implements Serializable, Comparable ^ 2 errors make: *** [java/lang/Block.class] Error 1 Mo DeJong [EMAIL PROTECTED] gimme multimedia group