xmlroff build errors

James Mills <[email protected]> Sat, 9 Apr 2005 02:29:08 +1000
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
HI,

I've run into build errors compiling xmlroff, wondering if anyone can
help solve this ?

See attached log file.

Using gcc:
gcc version 3.3.4 (CRUX)

cheers
James

-- 
--
-"Problems are Solved by Method"
-
xmlroff-build-errors (text/plain, 7.9 KB)
=======> WARNING: Packages should be built as root.
=======> Building '/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/xmlroff#0.3.2-1.pkg.tar.gz'.
tar -C /home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/work/src --use-compress-program=gzip -xf /home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/xmlroff-0.3.2.tar.gz
+ build
+ cd xmlroff-0.3.2
+ ./configure --prefix=/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/work/pkg/usr --without-gp
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for popt location... checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
-lpopt
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... yes (version 2.4.8)
checking for gtkdoc-mkdb... false
checking for db2html... false
checking for libxml2 libraries >= 2.4.3... yes
checking for libxslt libraries >= 1.0.3... found
checking for perl5... no
checking for perl... perl
checking for freetype-config... /usr/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking for libgnomeprint-2.2 >= 2.8... yes
checking GNOMEPRINT_CFLAGS... -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0  
checking GNOMEPRINT_LIBS... -Wl,--export-dynamic -lgnomeprint-2-2 -lart_lgpl_2 -lxml2 -lpthread -lz -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for pango >= 1.6... yes
checking PANGO_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking PANGO_LIBS... -Wl,--export-dynamic -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for pangoxsl >= 1.6... yes
checking PANGOXSL_CFLAGS... -I/home/prologic/var/cwd/local/projects/crux/tmp/pangoxsl/work/pkg/usr/include/pangoxsl -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
checking PANGOXSL_LIBS... -Wl,--export-dynamic -L/home/prologic/var/cwd/local/projects/crux/tmp/pangoxsl/work/pkg/usr/lib/pangoxsl -lpangoxsl-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
configure: creating ./config.status
config.status: creating INSTALL
config.status: creating Makefile
config.status: creating area/Makefile
config.status: creating datatype/Makefile
config.status: creating docs/Makefile
config.status: creating expr/Makefile
config.status: creating fo/Makefile
config.status: creating property/Makefile
config.status: creating libfo/Makefile
config.status: creating examples/Makefile
config.status: creating examples/xml2003/Makefile
config.status: creating util/Makefile
config.status: creating libfo-0.3.pc
config.status: creating xmlroff.spec
config.status: creating catalog.xml
config.status: creating config.h
config.status: executing depfiles commands

Configuration:
  Enabled FoDoc subtypes: 'GNOME Print'
+ make
make  all-recursive
make[1]: Entering directory `/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/work/src/xmlroff-0.3.2'
Making all in libfo
make[2]: Entering directory `/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/work/src/xmlroff-0.3.2/libfo'
source='fo-doc-gp.c' object='fo-doc-gp.lo' libtool=yes \
depfile='.deps/fo-doc-gp.Plo' tmpdepfile='.deps/fo-doc-gp.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libfo\" -I/usr/include/libxml2  -I.. -I../area -I../fo -I../property -I../datatype    -O2 -march=i686 -pipe -I/home/prologic/var/cwd/local/projects/crux/tmp/pangoxsl/work/pkg/usr/include/pangoxsl -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0   -I/usr/include/freetype2 -Wall -c -o fo-doc-gp.lo `test -f 'fo-doc-gp.c' || echo './'`fo-doc-gp.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libfo\" -I/usr/include/libxml2 -I.. -I../area -I../fo -I../property -I../datatype -O2 -march=i686 -pipe -I/home/prologic/var/cwd/local/projects/crux/tmp/pangoxsl/work/pkg/usr/include/pangoxsl -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -Wall -c fo-doc-gp.c -MT fo-doc-gp.lo -MD -MP -MF .deps/fo-doc-gp.TPlo  -fPIC -DPIC -o .libs/fo-doc-gp.lo
fo-doc-gp.c:12:43: pangoxsl/pango-xsl-attributes.h: No such file or directory
In file included from ../libfo/fo-layout-gp-private.h:15,
                 from fo-doc-gp.c:20:
../libfo/fo-layout-private.h:42: error: parse error before "fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy"
../libfo/fo-layout-private.h:42: warning: type defaults to `int' in declaration of `fo_layout_line_stacking_strategy_to_pango_line_stacking_strategy'
../libfo/fo-layout-private.h:42: warning: data definition has no type or storage class
make[2]: *** [fo-doc-gp.lo] Error 1
make[2]: Leaving directory `/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/work/src/xmlroff-0.3.2/libfo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/work/src/xmlroff-0.3.2'
make: *** [all] Error 2
=======> ERROR: Building '/home/prologic/var/cwd/local/projects/crux/tmp/xmlroff/xmlroff#0.3.2-1.pkg.tar.gz' failed.