Hi Phil, Alan,
I tried to build the docbook targets, but I ran into a few problems:
- The command dblatex was not recognised as a proper command. Possibly
because of a lacking extension - I have seen something like that on the Cygwin
mailing list. The command would not even show up in "ls /bin". After I added
the absolute path (/cygdrive/c/cygwin64/bin in my case), it was acknowledged.
- Running make however produces a long list of warnings/error messages
like:
Scanning dependencies of target pdf_target
[100%] Generating plplot-5.10.0.pdf
Build the book set list...
/cygdrive/d/plplot-svn/build-cygwin-docbook/doc/docbook/src/plplotdoc-print.xml:39:
element chapter: validity error : ID intro already defined
/cygdrive/d/plplot-svn/build-cygwin-docbook/doc/docbook/src/plplotdoc-print.xml:41:
element sect1: validity error : ID plplot-plotting-library already defined
/cygdrive/d/plplot-svn/build-cygwin-docbook/doc/docbook/src/plplotdoc-print.xml:172:
element sect1: validity error : ID acquiring-plplot already defined
/cygdrive/d/plplot-svn/build-cygwin-docbook/doc/docbook/src/plplotdoc-print.xml:184:
element sect1: validity error : ID installing already defined
/cygdrive/d/plplot-svn/build-cygwin-docbook/doc/docbook/src/plplotdoc-print.xml:212:
element sect1: validity error : ID organization already defined
- I can ignore them, however, as things continued anyway. But then this
fatal error occurred:
Build plplotdoc-print.pdf
xelatex failed
"C:\Program:65: Package xparse Error: Support package l3kernel too old.
"C:\Program:65: leading text: }
Unexpected error occured
Error: xelatex compilation failed
doc/docbook/src/CMakeFiles/pdf_target.dir/build.make:81: recipe for target
'doc/docbook/src/plplot-5.10.0.pdf' failed
make[2]: *** [doc/docbook/src/plplot-5.10.0.pdf] Error 1
CMakeFiles/Makefile2:10018: recipe for target
'doc/docbook/src/CMakeFiles/pdf_target.dir/all' failed
make[1]: *** [doc/docbook/src/CMakeFiles/pdf_target.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
That is something I have no idea how to solve. There does not seem
to be an xelatex package under Cygwin and I have no clue as to the nature of
the "l3kernel" package.
Any suggestions?
Regards,
Arjen
From: phil rosenberg [mailto:[email protected]]
Sent: Wednesday, November 05, 2014 2:43 PM
To: [email protected]
Subject: Re: [Plplot-devel] Docbook on Cygwin
Oh and Alan, unfortunately you CMake changes don't seem to have helped with
make failing on its first call
Phil
________________________________
From: phil rosenberg
<[email protected]<mailto:[email protected]>>
To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Sent: Wednesday, 5 November 2014, 13:22
Subject: Re: Docbook on Cygwin
Hi Alan and Arjen
I looked into fontconfig in a bit more detail. It is possible to configure
other font directories, including the Windows Fonts directory. I have included
additional options in the README. There was also a CMake change that I had
forgotten to make in my previous commit.
Phil
________________________________
From: phil rosenberg
<[email protected]<mailto:[email protected]>>
To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, 4 November 2014, 13:15
Subject: Re: Docbook on Cygwin
As an addition to this I have just found that on a clean build tree (i.e. after
running make clean), the build fails with the following (note I have just
copied the end of the output)
[ 64%] Generating x31.tcl
[ 65%] Generating x33.tcl
[ 65%] Built target tcl_examples
[ 65%] Generating tclIndex
[ 98%] Built target tclIndex_examples_tcl
[ 98%] Built target html
[ 98%] Built target info
[ 98%] Built target man
[100%] Generating plplot-structs.txt
[100%] Built target docbook_plplot-structs_txt
[100%] Generating plplot-symbols.txt
nm: '/usr/local/src/plplot-plplot/build/src/libplplot.so': No such file
/usr/local/src/plplot-plplot/doc/docbook/src/../bin/get-library-symbols.pl:
cannot get external symbols of library
/usr/local/src/plplot-plplot/build/src/libplplot.so at
/usr/local/src/plplot-plplot/doc/docbook/src/../bin/get-library-symbols.pl line
26.
doc/docbook/src/CMakeFiles/docbook_plplot-symbols_txt.dir/build.make:54: recipe
for target 'doc/docbook/src/plplot-symbols.txt' failed
make[2]: *** [doc/docbook/src/plplot-symbols.txt] Error 1
CMakeFiles/Makefile2:1756: recipe for target
'doc/docbook/src/CMakeFiles/docbook_plplot-symbols_txt.dir/all' failed
make[1]: *** [doc/docbook/src/CMakeFiles/docbook_plplot-symbols_txt.dir/all]
Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
Running make a second time allows the build to complete with no problems. Alan
do you have any ideas why this might be the case?
Phil
________________________________
From: phil rosenberg
<[email protected]<mailto:[email protected]>>
To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Sent: Tuesday, 4 November 2014, 12:16
Subject: Docbook on Cygwin
Hi All, but in particular Alan
I just wanted to let you know that I just successfully managed to build the
documentation under Cygwin - Alan you were right, I just needed the actual font
files to be put in the correct location. I thought it would be good to document
things somewhere, but not sure where - the Wiki perhaps? Or should this be
included somewhere in the build or developer docs?
Phil
DISCLAIMER: This message is intended exclusively for the addressee(s) and may
contain confidential and privileged information. If you are not the intended
recipient please notify the sender immediately and destroy this message.
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any way
whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel