xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelly Campbell <c...@channelpoint.com>
Subject RE: Build fails
Date Fri, 01 Dec 2000 15:16:25 GMT
Did you do a "cvs update -d" to get new directories (like the expr source
dir) ? That might be all you need to do to fix the problem.

-Kelly

-----Original Message-----
From: Peter B. West [mailto:pbwest@powerup.com.au]
Sent: Friday, December 01, 2000 8:14 AM
To: fop-dev@xml.apache.org
Subject: Re: Build fails


Sorry to have been so brief, but it looked like a simple cvs commit
mismatch.

linux 2.2.16-3 after a Redhat 6.2 upgrade.

CLASSPATH
/opt/xalan/xalan.jar:/opt/xalan/bsf.jar:/opt/xalan/bsfengines.jar:/opt/xalan
/samples/xalansamples.jar:/opt/xalan/xdocs/xalanjdoc.jar:/opt/xerces/xerces.
jar:/opt/xerces/xercesSamples.jar:./lib/ant.jar:./lib/w3c.jar:./lib:./build/
classes

The xalan-j is 1.2.1, as is the xerces.  The working directory for the
build is the top-level directory of the cvs update.  From memory, this
tree was first constructed by getting and untarring a cvs snapshot
file.  I have subsequently performed a couple of cvs updates.  I
originally didi not have the ./build/classes in the CLASSPATH.

My JDK is the IBMJava2-13 from the 4th of September.  Same result when I
use a 1.2.2, which is either a Blackdown or a Sun release candidate. 
It's been a while since I used it.

Here is the relevant part of the output.  I have not done another
./build.sh clean before running this.


prepare-src:

compile:
Compiling the sources 
    [javac] Compiling 3 source files to
/usr/local/src/xml-fop/build/classes
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/LengthProperty.java:56:
Class org.apache.fop.fo.expr.Numeric not found in import.
    [javac] import org.apache.fop.fo.expr.Numeric;
    [javac]        ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:55:
Class org.apache.fop.fo.expr.Numeric not found in import.
    [javac] import org.apache.fop.fo.expr.Numeric;
    [javac]        ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:56:
Class org.apache.fop.fo.expr.PropertyParser not found in import.
    [javac] import org.apache.fop.fo.expr.PropertyParser;
    [javac]        ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:57:
Class org.apache.fop.fo.expr.PropertyInfo not found in import.
    [javac] import org.apache.fop.fo.expr.PropertyInfo;
    [javac]        ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:58:
Class org.apache.fop.fo.expr.PropertyException not found in import.
    [javac] import org.apache.fop.fo.expr.PropertyException;
    [javac]        ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/NumberProperty.java:54:
Class org.apache.fop.fo.expr.Numeric not found in import.
    [javac] import org.apache.fop.fo.expr.Numeric;
    [javac]        ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:208:
Class org.apache.fop.fo.expr.PropertyParser not found.
    [javac]     Property p = PropertyParser.parse(pvalue,
    [javac]                  ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:208:
Undefined variable or class name: PropertyParser
    [javac]     Property p = PropertyParser.parse(pvalue,
    [javac]                  ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:212:
Class org.apache.fop.fo.expr.PropertyException not found.
    [javac]       throw new org.apache.fop.fo.expr.PropertyException("No
conversion defined");
    [javac]                                       ^
    [javac]
/usr/local/src/xml-fop/build/src/org/apache/fop/fo/Property.java:218:
Class org.apache.fop.fo.expr.PropertyException not found.
    [javac]       } catch (org.apache.fop.fo.expr.PropertyException
propEx) {
    [javac]                                      ^
    [javac] 10 errors

BUILD FAILED

COFFMAN Steven wrote:
> 
> What is your classpath? What error messages does it give when the build
> fails?
> What JDK are you using (1.1,1.2,or 1.3)? Is this Linux, Windows, or Mac?
> 
> -Steve
> -----Original Message-----
> From: Peter B. West [mailto:pbwest@powerup.com.au]
> Sent: Thursday, November 30, 2000 11:53 AM
> To: fop-dev@xml.apache.org
> Subject: Build fails
> 
> I am trying to build fop from a cvs update I took this morning (UK
> time).  This is my first build attempt.  The build fails attempting to
> import various classes under org.apache.fop.fo.expr
> 
> This directory is not being generated during the build.  What do I have
> to do.  I am using xalan-j_1_2_1 and xerces_1_2_1.
> 
> Do I need ./build/classes in my CLASSPATH?  I have ./lib/ant.jar,
> ./lib/w3c.jar and ./lib.

Peter
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"

Mime
View raw message