Kaffe having trouble with gnujsp.jar
mdejong at cygnus.com
Sat Apr 22 22:00:29 PDT 2000
How about this as a solution to your problem?
RCS file: /cvs/kaffe/kaffe/configure.in,v
retrieving revision 1.144
diff -u -r1.144 configure.in
--- configure.in 1999/12/10 01:05:47 1.144
+++ configure.in 2000/04/23 04:58:15
@@ -551,11 +551,6 @@
-dnl Check for libraries for zip library.
dnl Check for libraries for math library.
RCS file: /cvs/kaffe/kaffe/libraries/clib/zip/Inflater.c,v
retrieving revision 1.10
diff -u -r1.10 Inflater.c
--- libraries/clib/zip/Inflater.c 1999/12/28 09:57:28 1.10
+++ libraries/clib/zip/Inflater.c 2000/04/23 04:58:15
@@ -157,4 +157,6 @@
GET_STREAM(this) = dstream;
+# error YOU_NEED_TO_INSTALL_ZLIB
Of course, it would be even better to put this check into
configure.in so that the user can not even finish a configure
if they are lacking a critical feature like zlib.
Red Hat Inc.
On Tue, 4 Apr 2000, Stuart Ballard wrote:
> Timothy Stack wrote:
> > from kaffe/clib/zip/Inflater.c, line 17:
> > #if defined(HAVE_LIBZ) && defined(HAVE_ZLIB_H)
> > Are you sure you have zlib installed when you configure? Since the `init'
> > function exists in this file, i can only imagine that the reason its
> > failing is because of this ifdef.
> That was it - thanks! I have a pretty bare-bones development environment
> because I very rarely install stuff from source.
> Would it perhaps be a good idea for configure to print some warnings at
> the end of the process if "important" stuff like zlib is missing? That
> would have given me a hint... (and since I probably still have some
> things missing, it'd be nice to know what they are :) )
> PS That solved the Jar problem but not the ClassNotFoundException... so
> that's my next task when I get a chance :)
More information about the kaffe