Re: Compiling xmlroff

Tony Graham <[email protected]> Sun, 23 Jul 2006 23:59:11 +0100
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
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