Re: Compiling xmlroff

Teus Benschop <[email protected]> Mon, 24 Jul 2006 10:26:52 +0200
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============0505620160==
Content-Type: multipart/alternative;
	boundary="------------010703060205070804000204"

This is a multi-part message in MIME format.
--------------010703060205070804000204
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Dear Tony,

The very first suggestion made by you, running configure twice, solved 
the problem.

I guess I should have read the INSTALL file and not assume that xmlroff 
behaves like expected of a Linux package.

Thanks for the reply.

Teus.



Tony Graham wrote:
> Sorry for the delay in responding, but I was on vacation last week.
>
> Teus Benschop <[email protected]> writes:
>   
>> I tried to compile xmlroff on Fedora Core 5.
>>
>> Configure went fine: ./configure --prefix=/usr
>>
>> Make had a problem: it failed on pango-xsl-attributes.h. PangoXSL was 
>> installed.
>>     
>
> It appears that PangoXSL is not included in the includes passed to the
> compiler, but I expect that you knew that already.
>
> Did you run 'configure' twice, as it says in the INSTALL file?
>
> What does the 'configure' output show for 'PANGOXSL_CFLAGS'?
>
> Does 'configure' run the dependent 'configure' for the bundled PangoXSL?
>
> What is your 'PKG_CONFIG_PATH' environment variable value?
>
> Can you compile if you use './configure --disable-pangoxsl'?
>
> Regards,
>
>
> Tony.
>
>   
>> Making all in libfo
>> make[2]: Entering directory `/home/teus/xmlroff-0.3.98/libfo'
>> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
>> -DG_LOG_DOMAIN=\"libfo\" -I/usr/include/libxml2  
>> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
>> -I/usr/lib/glib-2.0/include   -I.. -I../area -I../fo -I../property 
>> -I../datatype    -g -O2 -pthread -I/usr/include/glib-2.0 
>> -I/usr/lib/glib-2.0/include   -MT fo-layout.lo -MD -MP -MF 
>> ".deps/fo-layout.Tpo" -c -o fo-layout.lo fo-layout.c; \
>> then mv -f ".deps/fo-layout.Tpo" ".deps/fo-layout.Plo"; else rm -f 
>> ".deps/fo-layout.Tpo"; exit 1; fi
>>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libfo\" 
>> -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
>> -I/usr/lib/glib-2.0/include -I.. -I../area -I../fo -I../property 
>> -I../datatype -g -O2 -pthread -I/usr/include/glib-2.0 
>> -I/usr/lib/glib-2.0/include -MT fo-layout.lo -MD -MP -MF 
>> .deps/fo-layout.Tpo -c fo-layout.c  -fPIC -DPIC -o .libs/fo-layout.o
>> fo-layout.c:12:43: error: pangoxsl/pango-xsl-attributes.h: No such file 
>> or directory
>> In file included from fo-layout.c:15:
>> ../libfo/fo-layout-private.h:43: error: expected '=', ',', ';', 'asm' or 
>> '__attribute__' before 
>> 'fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy'
>> fo-layout.c:465: error: expected '=', ',', ';', 'asm' or '__attribute__' 
>> before 'fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy'
>> make[2]: *** [fo-layout.lo] Error 1
>> make[2]: Leaving directory `/home/teus/xmlroff-0.3.98/libfo'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/teus/xmlroff-0.3.98'
>> make: *** [all] Error 2
>>
>> Is there anything that I did wrong?
>>
>> Thank you,
>>
>> Teus Benschop
>>
>>
>>
>> -------------------------------------------------------------------------
>> Using Tomcat but need to do more? Need to support web services, security?
>> Get stuff done quickly with pre-integrated technology to make your job easier
>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>> _______________________________________________
>> xmlroff-list mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/xmlroff-list
>>     
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> xmlroff-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xmlroff-list
>
>
>   

--------------010703060205070804000204
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Tony,<br>
<br>
The very first suggestion made by you, running configure twice, solved
the problem.<br>
<br>
I guess I should have read the INSTALL file and not assume that xmlroff
behaves like expected of a Linux package.<br>
<br>
Thanks for the reply.<br>
<br>
Teus.<br>
<br>
<br>
<br>
Tony Graham wrote:
<blockquote cite="[email protected]" type="cite">
  <pre wrap="">Sorry for the delay in responding, but I was on vacation last week.

Teus Benschop <a class="moz-txt-link-rfc2396E"
 href="mailto:[email protected]">&lt;[email protected]&gt;</a> writes:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I tried to compile xmlroff on Fedora Core 5.

Configure went fine: ./configure --prefix=/usr

Make had a problem: it failed on pango-xsl-attributes.h. PangoXSL was 
installed.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
It appears that PangoXSL is not included in the includes passed to the
compiler, but I expect that you knew that already.

Did you run 'configure' twice, as it says in the INSTALL file?

What does the 'configure' output show for 'PANGOXSL_CFLAGS'?

Does 'configure' run the dependent 'configure' for the bundled PangoXSL?

What is your 'PKG_CONFIG_PATH' environment variable value?

Can you compile if you use './configure --disable-pangoxsl'?

Regards,


Tony.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Making all in libfo
make[2]: Entering directory `/home/teus/xmlroff-0.3.98/libfo'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-DG_LOG_DOMAIN=\"libfo\" -I/usr/include/libxml2  
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I.. -I../area -I../fo -I../property 
-I../datatype    -g -O2 -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -MT fo-layout.lo -MD -MP -MF 
".deps/fo-layout.Tpo" -c -o fo-layout.lo fo-layout.c; \
then mv -f ".deps/fo-layout.Tpo" ".deps/fo-layout.Plo"; else rm -f 
".deps/fo-layout.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libfo\" 
-I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I.. -I../area -I../fo -I../property 
-I../datatype -g -O2 -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -MT fo-layout.lo -MD -MP -MF 
.deps/fo-layout.Tpo -c fo-layout.c  -fPIC -DPIC -o .libs/fo-layout.o
fo-layout.c:12:43: error: pangoxsl/pango-xsl-attributes.h: No such file 
or directory
In file included from fo-layout.c:15:
../libfo/fo-layout-private.h:43: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 
'fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy'
fo-layout.c:465: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy'
make[2]: *** [fo-layout.lo] Error 1
make[2]: Leaving directory `/home/teus/xmlroff-0.3.98/libfo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/teus/xmlroff-0.3.98'
make: *** [all] Error 2

Is there anything that I did wrong?

Thank you,

Teus Benschop



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
<a class="moz-txt-link-freetext"
 href="http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&amp;kid=120709&amp;bid=263057&amp;dat=121642</a>
_______________________________________________
xmlroff-list mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext"
 href="https://lists.sourceforge.net/lists/listinfo/xmlroff-list">https://lists.sourceforge.net/lists/listinfo/xmlroff-list</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT &amp; business topics through brief surveys -- and earn cash
<a class="moz-txt-link-freetext"
 href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</a>
_______________________________________________
xmlroff-list mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext"
 href="https://lists.sourceforge.net/lists/listinfo/xmlroff-list">https://lists.sourceforge.net/lists/listinfo/xmlroff-list</a>


  </pre>
</blockquote>
</body>
</html>

--------------010703060205070804000204--


--===============0505620160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--===============0505620160==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xmlroff-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlroff-list

--===============0505620160==--