[erlang-questions] Java error making docs in R15B01

Joe Armstrong erlang@REDACTED
Thu Jun 7 09:35:52 CEST 2012


On Thu, Jun 7, 2012 at 6:24 AM, Richard O'Keefe <ok@REDACTED> wrote:
> I downloaded R15B01.
> ./configure --prefix=$HOME/local
> reported that fop was missing,
> so I downloaded Apache FOP (fop-1.0-bin.tar),
> set that up (but apparently not quite right),
> went back to otp_src_R15B01, and did
>
> ./configure --prefix=$HOME/local
> make
>
> I was a little surprised that the make step
> apparently did not build the documentation.
> So I then did
> make docs
>
> All went well up to this step:
>
> date=`date +"%B %e %Y"`; \
>        xsltproc \
>         --stringparam docgen "/home/cshome/o/ok/Downloads/otp_src_R15B01/lib/erl_docgen" \
>         --stringparam gendate "$date" \
>         --stringparam appname "stdlib" \
>         --stringparam appver "1.18.1" \
>         --xinclude --stringparam specs_file "`pwd`/specs.xml" \
>         -path /home/cshome/o/ok/Downloads/otp_src_R15B01/lib/erl_docgen/priv/dtd \
>         -path /home/cshome/o/ok/Downloads/otp_src_R15B01/lib/erl_docgen/priv/dtd_html_entities \
>           /home/cshome/o/ok/Downloads/otp_src_R15B01/lib/erl_docgen/priv/xsl/db_pdf.xsl book.xml > ../pdf/stdlib-1.18.1.fo
> fop -fo ../pdf/stdlib-1.18.1.fo -pdf ../pdf/stdlib-1.18.1.pdf
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main
> Caused by: java.lang.ClassNotFoundException: org.apache.fop.cli.Main
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> make[3]: *** [../pdf/stdlib-1.18.1.pdf] Error 1
> make[2]: *** [docs] Error 2
> make[1]: *** [docs] Error 2
> make: *** [docs] Error 2
>
>
> By the way, are the DTDs used in building Erlang/OTP documentation
> *documented* anywhere?

No

/Joe


>
>
> Y'know, generating LaTeX looks better and better...
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list