Build notes for FC4
This document is a series of working notes about building MKSearch on Fedora Core 4, using the GNU Compiler for Java (GCJ) version 4.0. It may be removed or superseded.
Introduction
The MKSearch system was developed using GCJ versions 3.3.3 and 3.3.4, which did not include the Java API for XML Processing (JAXP). A pure-Java sub-set of the GNU JAXP classes were imported and built separately as part of the (free) build scheme for the project.
GCJ 4.0 now includes a later version of GNU JAXP, which raises some warnings and abstract class compilation failures for MKSearch. These notes record the main changes, so that a workaround can be created to work with Fedora Core 4.0 and also be backward-compatible with FC 3 and other platforms.
Deprecation warnings
Non-critical errors compiling the earlier version of GNU JAXP.
-
javax.xml.parsers.SAXParser
-
Multiple warnings that the following classes are deprecated:
-
org.xml.sax.HandlerBase
-
org.xml.sax.Parser
-
org.xml.sax.AttributeList
-
org.xml.sax.DocumentHandler
-
-
gnu.xml.aelfred2.JAXPFactory
-
Single warning that
org.xml.sax.Parser
has been deprecated. -
gnu.xml.aelfred2.SAXDriver
-
Single warning that
org.xml.sax.AttributeList
has been deprecated.
Copyright MKDoc Ltd. and others.
The Free Documentation License http://www.gnu.org/copyleft/fdl.html