kaffe-1.0.b1 compiling problem on Linux
Archie Cobbs
archie at whistle.com
Fri Jul 17 12:00:54 PDT 1998
Paolo Sommaruga writes:
> make[3]: Entering directory
> /home/psomma/java/kaffe-1.0.b1/libraries/clib/management'
> make[3]: Nothing to be done for All'.
> make[3]: Leaving directory
> /home/psomma/java/kaffe-1.0.b1/libraries/clib/management'
> make[3]: Entering directory
> /home/psomma/java/kaffe-1.0.b1/libraries/clib/awt'
> make[3]: *** No rule to make target All'. Stop.
>
>
> For some strange reason configure dont' creates Makefile file in
> libraries/clib/awt
I had this same problem and reported it to the list a few days ago.
If configure doesn't detect that you have X installed, it doesn't
create the awt makefile. However, the makefile in the directory
above the awt subdirectory doesn't get modified to not recurse into
awt when X is not installed.
So if you don't have X, the build will fail.
I'm not a configure guru so haven't created a fix yet.. the workaround
is simply this:
Index: libraries/clib/Makefile.in
===================================================================
RCS file: /cvs/mod/net/kaffe/libraries/clib/Makefile.in,v
retrieving revision 1.1.1.2
retrieving revision 1.1.1.2.2.1
diff -c -r1.1.1.2 -r1.1.1.2.2.1
*** Makefile.in 1998/07/14 16:49:04 1.1.1.2
--- Makefile.in 1998/07/14 23:35:46 1.1.1.2.2.1
***************
*** 8,14 ****
srcdir= @srcdir@
MKDIR= @MKDIR@
! subdirs= native net zip math management awt
all:
@for i in $(subdirs); do (cd $$i && $(MAKE) all) || exit 1 ; done
--- 8,14 ----
srcdir= @srcdir@
MKDIR= @MKDIR@
! subdirs= native net zip math management # awt
all:
@for i in $(subdirs); do (cd $$i && $(MAKE) all) || exit 1 ; done
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe
mailing list