This is the mail archive of the rhug-rhats@sources.redhat.com mailing list for the RHUG project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gnu.readline compile problem


Hi,

I ran into the same problem and was able to fix it by appending ":." to 
the classpath in Makefile.am.  I checked in the change, so it should be there 
if you do a cvs update:

Here's the patch:
===================================================================
RCS file: /cvs/rhug/rhug/gnu.readline/Makefile.am,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile.am 29 May 2002 06:27:39 -0000      1.8
+++ Makefile.am 9 Jul 2002 03:10:54 -0000       1.9
@@ -107,7 +107,7 @@
 # There's probably a cleaner generic way to handle this situation

 org_gnu_readline_Readline.h: $(lib_org_gnu_readline_la_DEPENDENCIES)
-       $(GCJH) --classpath=upstream/src -jni `echo $(lib_org_gnu_readline_la_DEPENDENCIES) | sed 's/\.class//g'` -o $@
+       $(GCJH) --classpath=upstream/src:. -jni `echo $(lib_org_gnu_readline_la_DEPENDENCIES) | sed 's/\.class//g'` -o $@
 ./upstream/src/native/org_gnu_readline_Readline.c: org_gnu_readline_Readline.h

 # Building the tests

-TJ
http://maxmind.com

On Thu, 11 Jul 2002, [iso-8859-9] H. Kemal Gürsoy wrote:

<snip>
> 
> the compilation stops just at the beginnig with the following message :
> 
> gcjh --classpath=upstream/src -jni 'echo 
> upstream/src/org/gnu/readline/Readline.class | sed 's/\.class//g'' -o 
> org_gnu_readline_ReadLine.h
> upstream/src/org/gnu/readline/ReadLine: no such class
> make: *** [org_gnu_readline_ReadLine.h] Error 1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]