Hi, I executed previous commands again, but before that set JAVA_HOME and JDK_HOME values correctly to java-jdk-1.7.0. Then I got same errors again. But this time, it seems to be get more successful than previous. So,I added my log files in here http://pastebin.com/W1bvY8kd (file path : DocBook/trunk/xsl/DOCBOOK-BUILD.LOG )
How can I resolve these errors ? Regards, --Gihan On Sat, Mar 3, 2012 at 5:44 PM, gihan karunarathne <[email protected] > wrote: > 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 errors > Possible build problems found: > > BUILD FAILED > make[2]: *** [saxon65.jar] Error 1 > make[1]: *** [/home/gihan/subversion/docbook/trunk/xsl-saxon/saxon65.jar] > Error 2 > [java] Error: Could not find or load main class > com.nexwave.nquindexer.IndexerMain > > Stopping. > > For further reference I include set of output occur in building process. > > gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~$ cd $DOCBOOK_SVN > gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ rm -f > DOCBOOK-BUILD.LOG && . ~/docbk.sh && $DOCBOOK_SVN/buildtools/build-clean > > gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ cd xsl > gihan@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.LOG > > for 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 \ > done > make -C common > make[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 lib > make[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 html > make[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 fo > make[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 manpages > make[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 htmlhelp > make[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 javahelp > make[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 eclipse > make[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 roundtrip > make[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 slides > make[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 \ > done > make -C fo > make[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 html > make[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 xhtml > make[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; done > for 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.xsl > for f in *.xsl; do if [ ../html/$f -nt $f ]; then xsltproc > ../../xhtml/html2xhtml.xsl ../html/$f > $f; fi; done > make[2]: Leaving directory > `/home/gihan/subversion/docbook/trunk/xsl/slides/xhtml' > make[1]: Leaving directory > `/home/gihan/subversion/docbook/trunk/xsl/slides' > make -C website > make[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 extensions > make[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 jar > Buildfile: /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 up > > Total time: 0 seconds > make[2]: *** [saxon65.jar] Error 1 > make[2]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl-saxon' > make[1]: *** [/home/gihan/subversion/docbook/trunk/xsl-saxon/saxon65.jar] > Error 2 > make[1]: Leaving directory > `/home/gihan/subversion/docbook/trunk/xsl/extensions' > make -C webhelp > make[1]: Entering directory > `/home/gihan/subversion/docbook/trunk/xsl/webhelp' > make -C ../xhtml > make[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; done > rm -f docbook.css.xml > for f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \ > echo "copying $f"; \ > cp $f .; \ > touch -t 197001010000 `basename $f`; fi; done > cp ../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; \ > done > make[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.xsl > language: en > Writing docs/content/ch01.html for chapter > Writing docs/content/ch02s01.html for section > Writing docs/content/ch02s02.html for section > Writing docs/content/ch02s03.html for section > Writing docs/content/ch02s04.html for section > Writing docs/content/ch02s05.html for section > Writing docs/content/ch02.html for chapter > Writing docs/content/ch03s01.html for section > Writing docs/content/ch03s02.html for section > Writing docs/content/ch03.html for chapter > Writing docs/content/ch04.html for chapter > Writing docs/content/index.html for book > Writing docs/index.html > Writing docs/content/search/l10n.js > ant index > Buildfile: /home/gihan/subversion/docbook/trunk/xsl/webhelp/build.xml > > index: > [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: 1 > > BUILD SUCCESSFUL > Total time: 1 second > make[1]: Leaving directory > `/home/gihan/subversion/docbook/trunk/xsl/webhelp' > make -C xhtml > make[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; done > rm -f docbook.css.xml > for f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \ > echo "copying $f"; \ > cp $f .; \ > touch -t 197001010000 `basename $f`; fi; done > cp ../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; \ > done > make[1]: Leaving directory `/home/gihan/subversion/docbook/trunk/xsl/xhtml' > make -C xhtml-1_1 > make[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; done > rm -f docbook.css.xml > for f in ../html/*.xsl; do if [ ! -f `basename $f` ]; then \ > echo $f; \ > cp $f .; \ > touch -t 197001010000 `basename $f`; fi; done > cp ../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; done > make[1]: Leaving directory > `/home/gihan/subversion/docbook/trunk/xsl/xhtml-1_1' > > Possible build problems found: > > *BUILD FAILED* > *make[2]: *** [saxon65.jar] Error 1* > *make[1]: *** > [/home/gihan/subversion/docbook/trunk/xsl-saxon/saxon65.jar] Error 2* > * [java] Error: Could not find or load main class > com.nexwave.nquindexer.IndexerMain* > > Stopping. > > Regards, > --Gihan > > On Sat, Mar 3, 2012 at 3:20 PM, gihan karunarathne < > [email protected]> 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_SVN >> >> gihan@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.LOG >> >> Unversioned files found. Before building, either delete the >> following files, add them to the repository, or add them to >> the svn:ignore properties for their parent directories. >> >> *testdocs/tests/graphics* >> * xsl/epub/bin/spec/files/graphics* >> >> I 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.LOG >> gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ . >> ~/docbk.sh >> gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ >> $DOCBOOK_SVN/buildtools/build-clean >> gihan@gihan-HP-Pavilion-dv6-Notebook-PC:~/subversion/docbook/trunk$ make >> all 2>&1 XSLTENGINE=xsltproc | tee DOCBOOK-BUILD.LOG >> make: *** No rule to make target `all'. Stop. >> >> What will be the possible wrong procedure which give this error msg. >> >> Thank You in Advance!. >> >> Regards >> --Gihan >> >> Hi, >>> 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 Karunarathne > Level 2 > University of Moratuwa > > -- - - - - - - - - - - - Gihan Chanuka Karunarathne Level 2 University of Moratuwa
