I tried to build Freenet from the latest CVS (about a few minutes
ago), and got this:
[scripts]$ make all
# Building the Freenet node
CLASSPATH=../..:/usr/local/share/kaffe javac ../node/Node.java
../client/Client???.java
../node/Node.java:1: error:Cannot find type
"Freenet/presentation/FreenetProtocol"
../client/ClientCHK.java:1: error:Cannot find type "Freenet/keys/CHK"
../client/ClientKSK.java:1: error:Cannot find type "Freenet/keys/SVK"
../client/ClientKey.java:1: error:Cannot find type "Freenet/support/Bucket"
../client/ClientSSK.java:1: error:Cannot find type "Freenet/keys/SVK"
../client/ClientSVK.java:1: error:Cannot find type "Freenet/keys/SVK"
make: *** [build] Error 1
I'm using Kaffe, which says:
[scripts]$ kaffe -version
Kaffe Virtual Machine
Copyright (c) 1996-2000
Transvirtual Technologies, Inc. All rights reserved
Engine: Interpreter Version: 1.0.6 Java Version: 1.1
but is really a patched version from Kaffe CVS (a long time ago; it
works for me so I haven't bothered to upgrade it).
The weird thing is that line 3 of Freenet/client/ClientCHK.java says:
import Freenet.keys.CHK;
and I have confirmed Freenet/keys/CHK.java to exist. However, it is
unlikely that this problem is due to the Makefile, because the same
exact thing happens when I do (as recommended in Freenet/README):
[travis]$ javac -d freenet_cvs Freenet/node/Node.java
Freenet/client/Client???.java
Freenet/node/Node.java:1: error:Cannot find type
"Freenet/presentation/FreenetProtocol"
Freenet/client/ClientCHK.java:1: error:Cannot find type "Freenet/keys/CHK"
Freenet/client/ClientKSK.java:1: error:Cannot find type "Freenet/keys/SVK"
Freenet/client/ClientKey.java:1: error:Cannot find type "Freenet/support/Bucket"
Freenet/client/ClientSSK.java:1: error:Cannot find type "Freenet/keys/SVK"
Freenet/client/ClientSVK.java:1: error:Cannot find type "Freenet/keys/SVK"
However, this does not seem to be due to some obvious bug in how my
version of Kaffe imports packages/classes, as no errors at all result
from any of the includes in Freenet/node/Node.java, which do include
includes for specific classes in packages other than Freenet/node.
--
Yes, I know my enemies.
They're the teachers who tell me to fight me.
Compromise, conformity, assimilation, submission, ignorance,
hypocrisy, brutality, the elite.
All of which are American dreams.
- Rage Against The Machine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1784 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20010905/1bb4c137/attachment.pgp>