[html5] Problem with missing htmlparser.jar on Debian Lenny

Swen Brüseke - proIO Network & eSolutions e.K. s.brueseke at proio.com
Fri May 28 06:44:51 PDT 2010


Hi mailinglist,

I need your help. I want to install validator.nu on a Debian Lenny 32bit, but during the python build/build.py all I am getting the following error:

"javac" -g -nowarn -classpath "./dependencies/commons-codec-1.3/commons-codec-1.3.jar:./dependencies/commons-httpclient-3.1/commons-httpclient-3.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-api-1.1.1.jar:./dependencies/icu4j-charsets-4_0.jar:./dependencies/icu4j-4_0.jar:./dependencies/iri-0.5/lib/iri.jar:./dependencies/jetty-6.1.11/lib/servlet-api-2.5-6.1.11.jar:./dependencies/jetty-6.1.11/lib/jetty-6.1.11.jar:./dependencies/jetty-6.1.11/lib/jetty-util-6.1.11.jar:./dependencies/jetty-6.1.11/lib/ext/jetty-ajp-6.1.11.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/rhino1_7R1/js.jar:./dependencies/xerces-2_9_1/xercesImpl.jar:./dependencies/xerces-2_9_1/xml-apis.jar:./dependencies/slf4j-1.5.2/slf4j-log4j12-1.5.2.jar:./dependencies/commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar:./dependencies/isorelax.jar:./dependencies/mozilla/intl/chardet/java/dist/lib/chardet.jar:./dependencies/saxon9.jar:./dependencies/jsontools-core-1.5.jar:./dependencies/antlr.jar:./dependencies/xom-1.1.jar:./dependencies/junit-4.4.jar:./dependencies/apache-ant-1.7.0/lib/ant.jar:./dependencies/apache-ant-1.7.0/lib/ant-launcher.jar:jing-trang/build/jing.jar" -sourcepath "./syntax/relaxng/datatype/java/src" -d "./syntax/relaxng/datatype/java/classes" @temp-javac-list
Note: ./syntax/relaxng/datatype/java/src/org/whattf/datatype/IriRef.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
"jar" cf "./syntax/relaxng/datatype/java/dist/html5-datatypes.jar" @temp-jar-list
"javac" -g -nowarn -classpath "./dependencies/commons-codec-1.3/commons-codec-1.3.jar:./dependencies/commons-httpclient-3.1/commons-httpclient-3.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-api-1.1.1.jar:./dependencies/icu4j-charsets-4_0.jar:./dependencies/icu4j-4_0.jar:./dependencies/iri-0.5/lib/iri.jar:./dependencies/jetty-6.1.11/lib/servlet-api-2.5-6.1.11.jar:./dependencies/jetty-6.1.11/lib/jetty-6.1.11.jar:./dependencies/jetty-6.1.11/lib/jetty-util-6.1.11.jar:./dependencies/jetty-6.1.11/lib/ext/jetty-ajp-6.1.11.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/rhino1_7R1/js.jar:./dependencies/xerces-2_9_1/xercesImpl.jar:./dependencies/xerces-2_9_1/xml-apis.jar:./dependencies/slf4j-1.5.2/slf4j-log4j12-1.5.2.jar:./dependencies/commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar:./dependencies/isorelax.jar:./dependencies/mozilla/intl/chardet/java/dist/lib/chardet.jar:./dependencies/saxon9.jar:./dependencies/jsontools-core-1.5.jar:./dependencies/antlr.jar:./dependencies/xom-1.1.jar:./dependencies/junit-4.4.jar:./dependencies/apache-ant-1.7.0/lib/ant.jar:./dependencies/apache-ant-1.7.0/lib/ant-launcher.jar:./jars/html5-datatypes.jar:jing-trang/build/jing.jar" -sourcepath "./syntax/non-schema/java/src" -d "./syntax/non-schema/java/classes" @temp-javac-list
"jar" cf "./syntax/non-schema/java/dist/non-schema.jar" @temp-jar-list
"javac" -g -nowarn -classpath "./dependencies/commons-codec-1.3/commons-codec-1.3.jar:./dependencies/commons-httpclient-3.1/commons-httpclient-3.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-adapters-1.1.1.jar:./dependencies/commons-logging-1.1.1/commons-logging-api-1.1.1.jar:./dependencies/icu4j-charsets-4_0.jar:./dependencies/icu4j-4_0.jar:./dependencies/iri-0.5/lib/iri.jar:./dependencies/jetty-6.1.11/lib/servlet-api-2.5-6.1.11.jar:./dependencies/jetty-6.1.11/lib/jetty-6.1.11.jar:./dependencies/jetty-6.1.11/lib/jetty-util-6.1.11.jar:./dependencies/jetty-6.1.11/lib/ext/jetty-ajp-6.1.11.jar:./dependencies/apache-log4j-1.2.15/log4j-1.2.15.jar:./dependencies/rhino1_7R1/js.jar:./dependencies/xerces-2_9_1/xercesImpl.jar:./dependencies/xerces-2_9_1/xml-apis.jar:./dependencies/slf4j-1.5.2/slf4j-log4j12-1.5.2.jar:./dependencies/commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar:./dependencies/isorelax.jar:./dependencies/mozilla/intl/chardet/java/dist/lib/chardet.jar:./dependencies/saxon9.jar:./dependencies/jsontools-core-1.5.jar:./dependencies/antlr.jar:./dependencies/xom-1.1.jar:./dependencies/junit-4.4.jar:./dependencies/apache-ant-1.7.0/lib/ant.jar:./dependencies/apache-ant-1.7.0/lib/ant-launcher.jar" -sourcepath "./htmlparser/src" -d "./htmlparser/classes" @temp-javac-list
javac: no source files
Usage: javac <options> <source files>
use -help for a list of possible options
"jar" cf "./htmlparser/dist/htmlparser.jar" @temp-jar-list
'c' flag requires manifest or input files to be specified!
Usage: jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
Options:
    -c  create new archive
    -t  list table of contents for archive
    -x  extract named (or all) files from archive
    -u  update existing archive
    -v  generate verbose output on standard output
    -f  specify archive file name
    -m  include manifest information from specified manifest file
    -e  specify application entry point for stand-alone application
        bundled into an executable jar file
    -0  store only; use no ZIP compression
    -M  do not create a manifest file for the entries
    -i  generate index information for the specified jar files
    -C  change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar:
       jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
           files in the foo/ directory into 'classes.jar':
       jar cvfm classes.jar mymanifest -C foo/ .

Traceback (most recent call last):
  File "build/build.py", line 1015, in <module>
    buildAll()
  File "build/build.py", line 762, in buildAll
    buildHtmlParser()
  File "build/build.py", line 499, in buildHtmlParser
    classPath)
  File "build/build.py", line 273, in buildModule
    shutil.copyfile(jarFile, os.path.join(buildRoot, "jars", jarName + ".jar"))
  File "/usr/lib/python2.5/shutil.py", line 46, in copyfile
    fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: './htmlparser/dist/htmlparser.jar'

The file is indeed missing. Thanks for any help!

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) please notify 
the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. 





More information about the Help mailing list