[kaffe] Makefile for java.nio

Dalibor Topic robilad at yahoo.com
Thu May 29 01:31:02 PDT 2003


Hi Ito,

--- Ito Kazumitsu <kaz at maczuka.gcd.org> wrote:
> >>>>> "-" == Ito Kazumitsu <kaz at maczuka.gcd.org> writes:
> 
> >>>>> ":" == Daniel Bonniot <Daniel.Bonniot at inria.fr> writes:
> -> :> I'm trying to compile the latest version of Kaffe from CVS.
> -> :> The build of the libraries fails with several errors, like:
> -> :> java/nio/LongBuffer.java:80: error:Cannot find class "LongBufferImpl" 
> -> :> [JLS 8]
> -> 
> -> I am verry sorry.  I forgot to add new files to
> libraries/javalib/Makefile.in
> Dalibor,  I am sorry for making trouble about java/nio/*.  But could
> you please look into it?

no worries, used to happen to me all the time as well ;) It takes some time to
figure out how the auto* tools and kaffe's build system work together.

When you add new files to the class library, make sure that you run
developers/autogen.sh. It fixes libraries/javalib/Makefile.am and regenerates
all Makefile.in files. Since Makefile.in files are generated by
automake/autoconf, you should not edit them. Any changes you make, will be
overwritten next time someone runs the autogen.sh script (and that happens
fairly frequently ;).

In order to be up to date with the auto* tools used in kaffe you need the
latest versions of automake (1.7.5) and autoconf (2.57). I usually install all
of them in some local directory and set the PATH to include that directory
before all others, in order to have them picked up before my local system's
auto* tools. I wouldn't recommend updating your system's auto* tools to the
latest release, since many packages still depend on automake 1.4 and autoconf
2.13, and they are slightly incompatible.

So I'll revert your last patch, since it only changes the Makefile.in file,
which I have already regenerated to reflect the changes from the Classpath
merge just a few hours before your last checkin ;)

As I said, it happens to me all the time, no need to bother.

cheers,
dalibor topi

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com




More information about the kaffe mailing list