[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] What is it mean by BUILDING DocBook ?
Hi,Now I following the steps which are mentioned in Part 1: Build and test the style sheets > step 1.first I seek to the file "cd $DOCBOOK_SVN" then execute "rm -f DOCBOOK-BUILD.LOG && . ~/docbk.sh && $DOCBOOK_SVN/buildtools/build-clean" and go to "cd xsl". Then execute "make all 2>&1 XSLTENGINE=xsltproc | tee DOCBOOK-BUILD.LOG && $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOG"But I got few errorsPossible build problems found:BUILD FAILEDmake[2]: *** [saxon65.jar] Error 1make[1]: *** [/home/gihan/subversion/docbook/trunk/xsl-saxon/saxon65.jar] Error 2[java] Error: Could not find or load main class com.nexwave.nquindexer.IndexerMainStopping.For further reference I include set of output occur in building process.gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~$ cd $DOCBOOK_SVNgihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ rm -f DOCBOOK-BUILD.LOG && . ~/docbk.sh && $DOCBOOK_SVN/buildtools/build-cleangihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ cd xslgihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk/xsl$ make all 2>&1 XSLTENGINE=xsltproc | tee DOCBOOK-BUILD.LOG && $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOGfor i in common lib html fo manpages htmlhelp javahelp eclipse roundtrip slides website extensions webhelp __bogus__; do \if [ $i != __bogus__ ] ; then \echo "make -C $i"; make -C $i; \fi \donemake -C commonmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/common'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/common'make -C libmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/lib'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/lib'make -C htmlmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/html'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/html'make -C fomake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/fo'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/fo'make -C manpagesmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/manpages'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/manpages'make -C htmlhelpmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/htmlhelp'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/htmlhelp'make -C javahelpmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/javahelp'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/javahelp'make -C eclipsemake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/eclipse'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/eclipse'make -C roundtripmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/roundtrip'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/roundtrip'make -C slidesmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/slides'for i in fo html xhtml __bogus__; do \if [ $i != __bogus__ ] ; then \echo "make -C $i"; make -C $i; \fi \donemake -C fomake[2]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/slides/fo'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/slides/fo'make -C htmlmake[2]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/slides/html'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/slides/html'make -C xhtmlmake[2]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/slides/xhtml'for f in ../html/*.xsl; do if [ -f `basename $f` ]; then rm -f `basename $f`; fi; donefor f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \echo $f; \cp $f .; \touch -t 197001010000 `basename $f`; fi; done../html/css.xsl../html/default.xsl../html/flat.xsl../html/frames.xsl../html/graphics.xsl../html/jscript.xsl../html/param.xsl../html/plain.xsl../html/slides-common.xsl../html/tables.xsl../html/vslides.xsl../html/w3c.xslfor f in *.xsl; do if [ ../html/$f -nt $f ]; then xsltproc ../../xhtml/html2xhtml.xsl ../html/$f > $f; fi; donemake[2]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/slides/xhtml'make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/slides'make -C websitemake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/website'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/website'make -C extensionsmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/extensions'make -C /home/gihan/subversion/docbook/trunk/xsl-saxon/make[2]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl-saxon'ant jarBuildfile: /home/gihan/subversion/docbook/trunk/xsl-saxon/build.xml-pre-init:-init-private:-init-user:-init-project:-init-macrodef-property:-do-init:BUILD FAILED/home/gihan/subversion/docbook/trunk/xsl-saxon/nbproject/build-impl.xml:76: Platform is not correctly set upTotal time: 0 secondsmake[2]: *** [saxon65.jar] Error 1make[2]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl-saxon'make[1]: *** [/home/gihan/subversion/docbook/trunk/xsl-saxon/saxon65.jar] Error 2make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/extensions'make -C webhelpmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/webhelp'make -C ../xhtmlmake[2]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml'for f in *.xsl; do if [ ! -f ../html/$f -a "$f" != "html2xhtml.xsl" ]; then rm $f; fi; donerm -f docbook.css.xmlfor f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \echo "copying $f"; \cp $f .; \touch -t 197001010000 `basename $f`; fi; donecp ../html/docbook.css.xml .for f in *.xsl; do \if [ ../html/$f -nt $f ]; then \echo "transforming $f"; \/home/gihan/subversion/docbook/trunk/buildtools/xslt -xsltproc ../html/$f html2xhtml.xsl $f; \fi; \donemake[2]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml'/home/gihan/subversion/docbook/trunk/buildtools/xslt -xsltproc "--stringparam webhelp.include.search.tab true --stringparam webhelp.indexer.language en --stringparam branding docbook --stringparam brandname DocBook" docsrc/readme.xml xsl/webhelp.xsllanguage: enWriting docs/content/ch01.html for chapterWriting docs/content/ch02s01.html for sectionWriting docs/content/ch02s02.html for sectionWriting docs/content/ch02s03.html for sectionWriting docs/content/ch02s04.html for sectionWriting docs/content/ch02s05.html for sectionWriting docs/content/ch02.html for chapterWriting docs/content/ch03s01.html for sectionWriting docs/content/ch03s02.html for sectionWriting docs/content/ch03.html for chapterWriting docs/content/ch04.html for chapterWriting docs/content/index.html for bookWriting docs/index.htmlWriting docs/content/search/l10n.jsant indexBuildfile: /home/gihan/subversion/docbook/trunk/xsl/webhelp/build.xmlindex:[copy] Copying 3 files to /home/gihan/subversion/docbook/trunk/xsl/webhelp/docs[echo] Indexing html files in docs/content[java] Error: Could not find or load main class com.nexwave.nquindexer.IndexerMain[java] Java Result: 1BUILD SUCCESSFULTotal time: 1 secondmake[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/webhelp'make -C xhtmlmake[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml'for f in *.xsl; do if [ ! -f ../html/$f -a "$f" != "html2xhtml.xsl" ]; then rm $f; fi; donerm -f docbook.css.xmlfor f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \echo "copying $f"; \cp $f .; \touch -t 197001010000 `basename $f`; fi; donecp ../html/docbook.css.xml .for f in *.xsl; do \if [ ../html/$f -nt $f ]; then \echo "transforming $f"; \/home/gihan/subversion/docbook/trunk/buildtools/xslt -xsltproc ../html/$f html2xhtml.xsl $f; \fi; \donemake[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml'make -C xhtml-1_1make[1]: Entering directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml-1_1'for f in *.xsl; do if [ ! -f ../html/$f -a "$f" != "html2xhtml.xsl" ]; then rm $f; fi; donerm -f docbook.css.xmlfor f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \echo $f; \cp $f .; \touch -t 197001010000 `basename $f`; fi; donecp ../html/docbook.css.xml .for f in *.xsl; do if [ ../html/$f -nt $f ]; then /home/gihan/subversion/docbook/trunk/buildtools/xslt -xsltproc ../html/$f html2xhtml.xsl $f; fi; donemake[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml-1_1'Possible build problems found:
BUILD FAILEDmake[2]: *** [saxon65.jar] Error 1make[1]: *** [/home/gihan/subversion/docbook/trunk/xsl-saxon/saxon65.jar] Error 2[java] Error: Could not find or load main class com.nexwave.nquindexer.IndexerMainStopping.Regards,--Gihan--On Sat, Mar 3, 2012 at 3:20 PM, gihan karunarathne <gckarunarathne@gmail.com> wrote:Hi,This time, it is not out put '.' is not a working copy error. After executing the command,the after few second it gave another error msg.gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~$ cd $DOCBOOK_SVNgihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ rm -f DOCBOOK-BUILD.LOG && \> . ~/docbk.sh && \> $DOCBOOK_SVN/buildtools/build-clean && \> make all 2>&1 \> XSLTENGINE=xsltproc \> | tee DOCBOOK-BUILD.LOG && \> $DOCBOOK_SVN/buildtools/build-check DOCBOOK-BUILD.LOGUnversioned files found. Before building, either delete thefollowing files, add them to the repository, or add them tothe svn:ignore properties for their parent directories.testdocs/tests/graphicsxsl/epub/bin/spec/files/graphicsI removed above two file and again run the makeall at a same time. But I get struck in another location.So, I run the command one by one and out put is as below,gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ rm -f DOCBOOK-BUILD.LOGgihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ . ~/docbk.shgihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ $DOCBOOK_SVN/buildtools/build-cleangihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ make all 2>&1 XSLTENGINE=xsltproc | tee DOCBOOK-BUILD.LOGmake: *** No rule to make target `all'. Stop.What will be the possible wrong procedure which give this error msg.Thank You in Advance!.Regards--GihanHi,I had look at the build-clean script to understand what caused this issue. Apparently, you should be inside your $DOCBOOK_SVN directory to perform this task. Since it runs the command `svn status` in the current folder (which is specified by a dot .), if you ran it from your home directory it won't work.'.' is not a working copy means that your current directory is not under svn version control. So, `cd $DOCBOOK_SVN` before invoking your command chain.Regards,--Kasun
- - - - - - - - - - -Gihan Chanuka KarunarathneLevel 2University of Moratuwa
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]