nestorac wrote:
> 
> I have a RedHat 7.1 O.S. with kaffe 1.0.6-3 and gmp 3.1.1-3 installed
> into a AMD K-7 processor with 258 Mb of Ram and 40 Gb of hard disk.
> My problem is that I type "./freenet_config ./freenetrc" in the
> installation directory as root ("/home/Nestor/Documentos/Freenet") and
> it gives me this error message:
> 
> [root@localhost Freenet]# ./freenet_config ./freenetrc
> 
> + java Freenet.scripts.Setup ./freenetrc
> java.lang.ExceptionInInitializerError: [exception was
> kaffe.util.SupportDisabled: GNU gmp was not found by Kaffe configure
> script]

The easiest way would be to use IBMs JDK
http://www-106.ibm.com/developerworks/java/jdk/linux130/?dwzone=java
If not possible, the following note may help you (taken from the README
file):

NOTES ON USING KAFFE
--------------------

Freenet requires Kaffe to be built with the gmp (GNU multiple precision)
library.  If you build Kaffe from source, check that the 'configure'
script correctly detects your gmp library before issuing 'make'.  You
need to see both of these lines of output:

  checking for mpz_get_d in -lgmp... yes
  checking for gmp.h... yes

Kaffe-1.0.6's configure did not correctly detect libgmp3 and needed to
be
tweaked slightly (mpz_get_d -> __gmpz_get_d in several places).

The compiler used is 'kjc' which you can download from
http://www.dms.at/

There is also a bug in Kaffe-1.0.6's BigInteger library that causes
problems.
Patching Kaffe with the following patch will fix it:

--- kaffe/libraries/clib/math/BigInteger.c      Fri Jul 21 17:41:26 2000
+++ kaffe-1.0.6/libraries/clib/math/BigInteger.c        Sun Sep 24
15:09:19 2000
@@ -508,7 +508,7 @@
 
        src = (mpz_srcptr)(*env)->GetObjectField(env, s, number);
 
-       return ((jint)mpz_get_si(src));
+       return ((jint)mpz_get_ui(src));
 }
 
 jint



_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/support

Reply via email to