tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Compilation failure
Date Tue, 18 Nov 2008 02:29:28 GMT
Hi,

On Tue, Nov 18, 2008 at 3:04 AM, Tom Conlon <tomc@2ls.com> wrote:
> 1. >> How are you building Tika? You need Maven 2 and Java 5 (or
> higher).
> apache-maven-2.0.9
> jdk1.6.0_04 (java.exe v6.0.40.12)

That should be fine.

> 2. Next I deleted everything under .m2\repository then:
> mvn install, same 2 errors.
>
> 3. Deleted apache-tika-0.1-incubating directory, downloaded from another
> mirror:
> mvn install, same 2 errors.

Weird. I just downloaded the 0.1 release and was able to build it
without any issues:

    $ wget http://.../apache-tika-0.1-incubating-src.tar.gz
    $ md5sum apache-tika-0.1-incubating-src.tar.gz
    d0a64471386e4c9dbd3b9ff15bcbcf4e *apache-tika-0.1-incubating-src.tar.gz
    $ tar zxf apache-tika-0.1-incubating-src.tar.gz
    $ cd apache-tika-0.1-incubating

    $ mvn -v
    Maven version: 2.0.9
    Java version: 1.6.0_03
    OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
    $ rm -rf ~/.m2/repository
    $ mvn install

> 4. Something isn't right:
> Log of
> /lucene/tika/branches/0.1-incubating/src/main/java/org/apache/tika/parse
> r/microsoft/WordParser.java
>  CHPBinTable cbt = new CHPBinTable(header, tableStream, chpOffset,
> chpSize, fcMin);
>
> Log of
> /lucene/tika/branches/0.1-incubating/src/main/java/org/apache/tika/parse
> r/microsoft/Word6CHPBinTable.java
>   public Word6CHPBinTable(byte[] documentStream, int offset, int size,
> int fcMin)

The call is "new CHBinTable(...)", not "new Word6CHPBinTable(...)".

BR,

Jukka Zitting

Mime
View raw message