Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: . on May 06, 2010, 03:29:18 pm



Title: build docs
Post by: . on May 06, 2010, 03:29:18 pm
I'm trying to use fglcomp to build documentation from source code, but i'm recieving the following errors... anybody know what's going on?



Quote
fglcomp --build-doc newoe.4gl
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/xa2html.xsl newoe.xa newoe.html
xsltproc: symbol lookup error: /usr/lib64/libxslt.so.1: undefined symbol: htmlNewDoc
Error in Transform.sh
fglcomp --build-doc search_oe.4gl
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/xa2html.xsl search_oe.xa search_oe.html
xsltproc: symbol lookup error: /usr/lib64/libxslt.so.1: undefined symbol: htmlNewDoc
Error in Transform.sh
fglcomp --build-doc oeglobals.4gl
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/xa2html.xsl oeglobals.xa oeglobals.html
xsltproc: symbol lookup error: /usr/lib64/libxslt.so.1: undefined symbol: htmlNewDoc
Error in Transform.sh
fglcomp --build-doc oeactions.inc.4gl
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/xa2html.xsl oeactions.inc.xa oeactions.inc.html
xsltproc: symbol lookup error: /usr/lib64/libxslt.so.1: undefined symbol: htmlNewDoc
Error in Transform.sh
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/overview-summary.xsl overview-summary.xa overview-summary.html
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/overview-frame.xsl overview-summary.xa overview-frame.html
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/allclasses-frame.xsl overview-summary.xa allclasses-frame.html
/usr/4js/devl/lib/fgldoc/Transform.sh /usr/4js/devl/lib/fgldoc/index-all.xsl overview-summary.xa index-all.html


Title: Re: build docs
Post by: Sebastien F. on May 06, 2010, 04:48:20 pm
Adam,

It appears that the xsltproc command fails...

What version of the libxml package have you installed on your system?

https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/AutoDoc.html#PREREQUISITES

Can you try xsltproc with a simple xsl + xml sample?

Seb


Title: Re: build docs
Post by: . on May 06, 2010, 04:52:36 pm
I have version 2.6.26 of libxml installed. I don't know how to use the tool from the command line to do a simple test... is there any small sample files I could play with?


Title: Re: build docs
Post by: Sebastien F. on May 06, 2010, 05:03:37 pm
I have version 2.6.26 of libxml installed. I don't know how to use the tool from the command line to do a simple test... is there any small sample files I could play with?

Search on the net for "xsltproc example" with your preferred search engine, you will certainly find some examples.

Seb