[etherlab-users] Etherlab c-api

Andy Rohr andy.rohr at mindclue.ch
Fri Apr 24 09:26:50 CEST 2009


Florian Pose schrieb:
> On Fri, Apr 24, 2009 at 08:51:41AM +0200, Andy Rohr wrote:
>> I think the Problem is that
>> /usr/bin/xsltproc //opt/etherlab/capi/data.c.xsl
>> 	/home/demo/ethercat/capi/skel/my-app.xml |  > 
>> /home/demo/ethercat/capi/skel/data.c
>>
>> does not write the output of xsltproc do data.c, because of the pipe. It 
>> should be:
>> /usr/bin/xsltproc //opt/etherlab/capi/data.c.xsl
>> 	/home/demo/ethercat/capi/skel/my-app.xml > 
>> /home/demo/ethercat/capi/skel/data.c
>>
>> I had the same problem, so I changed the Makefile and removed the pipes 
>> there. I'm on Ubuntu.
> 
> Ahh, now I know what happened, if the 'indent' tool is not present on
> your system, then its path is not inserted after the pipe. That's the
> reason. If indent is not available, then the pipe should disappear.
> We'll fix that...

In addition I had to install the tools xmllint (package libxml2utils) and xsltproc (package 
xsltproc) in order to get the make-process to work. Maybe this prerequisties should be noted somewhere.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: andy_rohr.vcf
Type: text/x-vcard
Size: 246 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090424/78ccf7c7/attachment-0005.vcf>


More information about the Etherlab-users mailing list