public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
* gnu.readline compile problem
@ 2002-07-10 16:20 H. Kemal Gürsoy
  2002-07-10 16:26 ` T.J. Mather
  0 siblings, 1 reply; 4+ messages in thread
From: H. Kemal Gürsoy @ 2002-07-10 16:20 UTC (permalink / raw)
  To: rhug-rhats

Hi,
I just started with trying to compile rhug package. I checked out the 
cvs tree, and
run

./configure

command. It didn't give any error or warning messages. When I run

make

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

When I navigate to the directory (upstream/.../readline/), I see file 
ReadLine.class
is there.

The version of gcj is 3.1 (compiled myself, and it works)
My system is RH7.3
make version 3.79.1-8
autoconf version 2.13-17
automake version 1.4p5-4

Do you have any idea?

Thanks in advance,

H. Kemal Gürsoy.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnu.readline compile problem
  2002-07-10 16:20 gnu.readline compile problem H. Kemal Gürsoy
@ 2002-07-10 16:26 ` T.J. Mather
  2002-07-11  6:53   ` Anthony Green
  0 siblings, 1 reply; 4+ messages in thread
From: T.J. Mather @ 2002-07-10 16:26 UTC (permalink / raw)
  To: H. Kemal Gürsoy; +Cc: rhug-rhats

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnu.readline compile problem
  2002-07-10 16:26 ` T.J. Mather
@ 2002-07-11  6:53   ` Anthony Green
  0 siblings, 0 replies; 4+ messages in thread
From: Anthony Green @ 2002-07-11  6:53 UTC (permalink / raw)
  To: T.J. Mather; +Cc: H. Kemal   Gürsoy, rhug-rhats

On Wed, 2002-07-10 at 17:16, T.J. Mather wrote:
> I ran into the same problem and was able to fix it by appending ":." to 
> the classpath in Makefile.am. 

I think it actually needs a bigger change.  I botched this when gcjh was
changed to require --classpath.  This also updates Makefile.in. 

Thanks,

AG


2002-07-11  Anthony Green  <green@redhat.com>

	* Makefile.am: Fix gcjh invocation.
	* Makefile.in: Rebuilt.

Index: Makefile.am
===================================================================
RCS file: /cvs/rhug/rhug/gnu.readline/Makefile.am,v
retrieving revision 1.9
diff -c -r1.9 Makefile.am
*** Makefile.am	9 Jul 2002 03:10:54 -0000	1.9
--- Makefile.am	11 Jul 2002 13:47:44 -0000
***************
*** 107,113 ****
  # 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 $@
  ./upstream/src/native/org_gnu_readline_Readline.c: org_gnu_readline_Readline.h
  
  # Building the tests
--- 107,113 ----
  # 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/upstream\/src//g' | sed 's/\.class//g'` -o $@
  ./upstream/src/native/org_gnu_readline_Readline.c: org_gnu_readline_Readline.h
  
  # Building the tests


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnu.readline compile problem
@ 2002-07-11 11:14 H. Kemal Gürsoy
  0 siblings, 0 replies; 4+ messages in thread
From: H. Kemal Gürsoy @ 2002-07-11 11:14 UTC (permalink / raw)
  To: rhug-rhats

Thanks, it works.

H. Kemal Gürsoy

2002.07.11 03:16'de T.J. Mather bunu yazmýþ:
> 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
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-11 18:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-10 16:20 gnu.readline compile problem H. Kemal Gürsoy
2002-07-10 16:26 ` T.J. Mather
2002-07-11  6:53   ` Anthony Green
2002-07-11 11:14 H. Kemal Gürsoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).