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


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



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