This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Building frysk on Fedora rawhide/development
- From: Mark Wielaard <mark at klomp dot org>
- To: Frysk List <frysk at sourceware dot org>
- Date: Sat, 03 Mar 2007 01:38:02 +0100
- Subject: Building frysk on Fedora rawhide/development
Hi,
Frysk should now build again (modulo warnings) on fedora
development/rawhide. We had some dependencies on old tools like jv-scan
and gcjh, our automake file build generator depended on some
non-documented automake variables and we got tripped by the "Per-target
flags are now correctly handled in link rules" fix in Automake 1.10. But
the build has been updated to work with both old and new gcj and
automake now.
I haven't actually been able to run the resulting FryskGUI, since
rawhide does not yet contain new java-gnome packages and libgcj.so.7rh
is no more. But the frysk-sys/core tests do look okish (or as fine as
can be expected with the buggy kernel in fedora).
You will still need to disable warnings with the attached patch. Need to
look into that next week.
Cheers,
Mark
Index: common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- common/Makefile.rules 2 Mar 2007 23:38:20 -0000 1.193
+++ common/Makefile.rules 3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
AM_GCJFLAGS = \
$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
- -Werror \
- -Wall \
+ -w \
-fPIC \
$(ZZZ)
@@ -555,7 +554,7 @@
${GEN_DIRNAME}.jar: files-java.list
rm -rf $(GEN_CLASSDIR)
mkdir -p $(GEN_CLASSDIR)
- $(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+ $(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
@$(top_builddir)/files-java.list \
2>&1 | tee $*.log
if test -s $*.log ; \
Index: frysk-core/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-core/common/Makefile.rules 2 Mar 2007 23:38:20 -0000 1.193
+++ frysk-core/common/Makefile.rules 3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
AM_GCJFLAGS = \
$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
- -Werror \
- -Wall \
+ -w \
-fPIC \
$(ZZZ)
@@ -555,7 +554,7 @@
${GEN_DIRNAME}.jar: files-java.list
rm -rf $(GEN_CLASSDIR)
mkdir -p $(GEN_CLASSDIR)
- $(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+ $(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
@$(top_builddir)/files-java.list \
2>&1 | tee $*.log
if test -s $*.log ; \
Index: frysk-gtk/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-gtk/common/Makefile.rules 2 Mar 2007 23:38:20 -0000 1.193
+++ frysk-gtk/common/Makefile.rules 3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
AM_GCJFLAGS = \
$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
- -Werror \
- -Wall \
+ -w \
-fPIC \
$(ZZZ)
@@ -555,7 +554,7 @@
${GEN_DIRNAME}.jar: files-java.list
rm -rf $(GEN_CLASSDIR)
mkdir -p $(GEN_CLASSDIR)
- $(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+ $(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
@$(top_builddir)/files-java.list \
2>&1 | tee $*.log
if test -s $*.log ; \
Index: frysk-gui/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-gui/common/Makefile.rules 2 Mar 2007 23:38:20 -0000 1.193
+++ frysk-gui/common/Makefile.rules 3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
AM_GCJFLAGS = \
$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
- -Werror \
- -Wall \
+ -w \
-fPIC \
$(ZZZ)
@@ -555,7 +554,7 @@
${GEN_DIRNAME}.jar: files-java.list
rm -rf $(GEN_CLASSDIR)
mkdir -p $(GEN_CLASSDIR)
- $(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+ $(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
@$(top_builddir)/files-java.list \
2>&1 | tee $*.log
if test -s $*.log ; \
Index: frysk-imports/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-imports/common/Makefile.rules 2 Mar 2007 23:38:20 -0000 1.193
+++ frysk-imports/common/Makefile.rules 3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
AM_GCJFLAGS = \
$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
- -Werror \
- -Wall \
+ -w \
-fPIC \
$(ZZZ)
@@ -555,7 +554,7 @@
${GEN_DIRNAME}.jar: files-java.list
rm -rf $(GEN_CLASSDIR)
mkdir -p $(GEN_CLASSDIR)
- $(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+ $(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
@$(top_builddir)/files-java.list \
2>&1 | tee $*.log
if test -s $*.log ; \
Index: frysk-sys/common/Makefile.rules
===================================================================
RCS file: /cvs/frysk/frysk-common/Makefile.rules,v
retrieving revision 1.193
diff -u -r1.193 Makefile.rules
--- frysk-sys/common/Makefile.rules 2 Mar 2007 23:38:20 -0000 1.193
+++ frysk-sys/common/Makefile.rules 3 Mar 2007 00:22:12 -0000
@@ -160,8 +160,7 @@
AM_GCJFLAGS = \
$(patsubst %,-I%,$(GEN_SOURCEPATH) $(GEN_CLASSPATH)) \
- -Werror \
- -Wall \
+ -w \
-fPIC \
$(ZZZ)
@@ -555,7 +554,7 @@
${GEN_DIRNAME}.jar: files-java.list
rm -rf $(GEN_CLASSDIR)
mkdir -p $(GEN_CLASSDIR)
- $(JAVAC) -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
+ $(JAVAC) -w -d $(GEN_CLASSDIR) $(JAVACFLAGS) \
@$(top_builddir)/files-java.list \
2>&1 | tee $*.log
if test -s $*.log ; \