From: marius a. p. <ma...@gm...> - 2020-01-06 13:57:00
|
I try to build documentation on ubuntu and i have this failure ./build.sh html openjdk version "1.8.0_232" OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-0ubuntu1~18.04.1-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) Buildfile: build.xml init: [echo] Apache Ant version 1.6.5 compiled on June 2 2005 prepare: getrootarg: html: [echo] Building multi-page HTML documentation. Please wait... [java] Error at xsl:import on line 36 of file:/home/mariuz/Work/firebird/firebird-documentation/src/docs/xsl/htmlbase.xsl: [java] Failure reading file:/home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/docbook.xsl: /home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/docbook.xsl (No such file or directory) [java] Error at xsl:import on line 24 of file:/home/mariuz/Work/firebird/firebird-documentation/src/docs/xsl/html.xsl: [java] Failure reading file:/home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/chunk-common.xsl: /home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/chunk-common.xsl (No such file or directory) [java] Transformation failed: Failed to compile stylesheet. 2 errors detected. BUILD FAILED /home/mariuz/Work/firebird/firebird-documentation/src/build/build.xml:404: Java returned: 2 |
From: Paul V. <pa...@vi...> - 2020-01-06 14:50:44
|
Hi Marius, > I try to build documentation on ubuntu and i have this failure (...) > [java] Error at xsl:import on line 36 of > file:/home/mariuz/Work/firebird/firebird-documentation/src/docs/xsl/htmlbase.xsl: > [java] Failure reading > file:/home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/docbook.xsl: > /home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/docbook.xsl > (No such file or directory) > [java] Error at xsl:import on line 24 of > file:/home/mariuz/Work/firebird/firebird-documentation/src/docs/xsl/html.xsl: > [java] Failure reading > file:/home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/chunk-common.xsl: > /home/mariuz/Work/firebird/firebird-documentation/tools/docbook-stylesheets/html/chunk-common.xsl > (No such file or directory) It looks like the external tools haven't been installed, or have been installed in the wrong manner. See manual/tools/_readme_tools.txt. There's a similar file in manual/lib. Cheers, Paul |
From: Norman D. <No...@du...> - 2020-01-06 16:34:34
|
On 06/01/2020 14:20, Paul Vinkenoog wrote: > Hi Marius, > > It looks like the external tools haven't been installed, or have been installed in the wrong manner. > See manual/tools/_readme_tools.txt. > > There's a similar file in manual/lib. > And, if you have got the proper libraries and tools installed, you need to use an Oracle version of Java with a version 8 or lower, or it will not build with Open JDK, nor will it build with Java 9 and higher. HTH Cheers, Norm. -- Norman Dunbar Dunbar IT Consultants Ltd Registered address: 27a Lidget Hill Pudsey West Yorkshire United Kingdom LS28 7LG Company Number: 05132767 |
From: marius a. p. <ma...@gm...> - 2020-01-07 09:27:59
|
Thank you it works , Luckly on Ubuntu 18.04 jdk installed is 8 https://vitux.com/how-to-setup-java_home-path-in-ubuntu/ On Mon, Jan 6, 2020 at 6:34 PM Norman Dunbar <No...@du...> wrote: > On 06/01/2020 14:20, Paul Vinkenoog wrote: > > Hi Marius, > > > > > It looks like the external tools haven't been installed, or have been > installed in the wrong manner. > > See manual/tools/_readme_tools.txt. > > > > There's a similar file in manual/lib. > > > > > And, if you have got the proper libraries and tools installed, you need > to use an Oracle version of Java with a version 8 or lower, or it will > not build with Open JDK, nor will it build with Java 9 and higher. > > HTH > > Cheers, > Norm. > > -- > Norman Dunbar > Dunbar IT Consultants Ltd > > Registered address: > 27a Lidget Hill > Pudsey > West Yorkshire > United Kingdom > LS28 7LG > > Company Number: 05132767 > > > _______________________________________________ > Firebird-docs mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-docs > |
From: Mark R. <ma...@la...> - 2020-01-07 12:24:40
|
On 2020-01-06 17:21, Norman Dunbar wrote: > And, if you have got the proper libraries and tools installed, you > need to use an Oracle version of Java with a version 8 or lower, or it > will not build with Open JDK, nor will it build with Java 9 and > higher. I haven't build the docs recently, but I'd be surprised if it works with Oracle Java 8, but fails with OpenJDK 8. I'll see if I can reproduce it and come up with a fix. Mark |
From: Norman D. <no...@du...> - 2020-01-07 13:36:54
|
Hi Mark, it has never worked with Open JDK for as long as I've been involved. I'm sure I posted either here or in a Doc about it and how to get around it. Good luck. Cheers, Norm. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. On 7 January 2020 12:24:16 GMT, Mark Rotteveel <ma...@la...> wrote: >On 2020-01-06 17:21, Norman Dunbar wrote: >> And, if you have got the proper libraries and tools installed, you >> need to use an Oracle version of Java with a version 8 or lower, or >it >> will not build with Open JDK, nor will it build with Java 9 and >> higher. > >I haven't build the docs recently, but I'd be surprised if it works >with >Oracle Java 8, but fails with OpenJDK 8. I'll see if I can reproduce it > >and come up with a fix. > >Mark > > >_______________________________________________ >Firebird-docs mailing list >Fir...@li... >https://lists.sourceforge.net/lists/listinfo/firebird-docs |
From: marius a. p. <ma...@gm...> - 2020-01-07 17:12:15
|
Indeed it works with oracle jdk , first you must create a new oracle account :) https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html download the tar.gz for linux 64 cd ~/Downloads tar -zxvf jdk-8u231-linux-x64.tar.gz I have moved it to /opt sudo mv ~/Downloads/jdk1.8.0_231 /opt/ export JAVA_HOME=/opt/jdk1.8.0_231 ./build.sh pdf pdf: BUILD SUCCESSFUL 😀 On Tue, Jan 7, 2020 at 3:37 PM Norman Dunbar <no...@du...> wrote: > Hi Mark, > > it has never worked with Open JDK for as long as I've been involved. I'm > sure I posted either here or in a Doc about it and how to get around it. > > Good luck. > > Cheers, > Norm. > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. > > On 7 January 2020 12:24:16 GMT, Mark Rotteveel <ma...@la...> > wrote: >> >> On 2020-01-06 17:21, Norman Dunbar wrote: >> >>> And, if you have got the proper libraries and tools installed, you >>> need to use an Oracle version of Java with a version 8 or lower, or it >>> will not build with Open JDK, nor will it build with Java 9 and >>> higher. >>> >> >> I haven't build the docs recently, but I'd be surprised if it works with >> Oracle Java 8, but fails with OpenJDK 8. I'll see if I can reproduce it >> and come up with a fix. >> >> Mark >> ------------------------------ >> Firebird-docs mailing list >> Fir...@li... >> https://lists.sourceforge.net/lists/listinfo/firebird-docs >> >> _______________________________________________ > Firebird-docs mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-docs > |
From: Mark R. <ma...@la...> - 2020-01-11 09:33:44
|
On 06/01/2020 17:21, Norman Dunbar wrote: > And, if you have got the proper libraries and tools installed, you need > to use an Oracle version of Java with a version 8 or lower, or it will > not build with Open JDK, nor will it build with Java 9 and higher. I just checked, building html works with OpenJDK 8 (1.8.0_232 from AdoptOpenJDK), but building PDF does not. I haven't checked if building PDF works with an Oracle Java 8 (as I currently don't have it installed), but it does work with Oracle Java 7. Mark -- Mark Rotteveel |
From: Dmitry Y. <fir...@ya...> - 2020-01-11 09:50:03
|
11.01.2020 12:33, Mark Rotteveel wrote: > I haven't checked if building PDF works with an Oracle Java 8 It does. Dmitry |
From: Norman D. <no...@du...> - 2020-01-11 15:41:12
|
My build system is Oracle Java 8 as it's the most recent version that works. Cheers, Norm. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. |