Re: [Planner Dev] Compile Error mrp-xsl.c



Hi,

I attached the ./configure and the make.

John


Richard Hult wrote:
tis 2004-01-06 klockan 01.13 skrev John C. Fowler:
  
Building on SuSE/JDS I am running into a compile time error with the
xslt library.

When attempting to build "planner-0.11/libplanner"

The compiler is choking on "mrp-xsl.c" and "transform.h" is there a
version dependence?
    

What's the exact error?
/Richard

  

-- 
****************************************************************
John C. Fowler
Infrastructure Market Development Manager
Global Education & Research
Sun Microsystems Computer Company
9515 Towne Centre Drive, USAN 10-202
San Diego, Ca 92121

Phone:   858.622.2941 x52941    Fax: 858.622.2941
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 jfowler JohnsLapTop:~/planner-0.11> ./configure
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 style of include used by make... GNU
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 gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-suse-linux/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 dependent libraries... pass_all
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 g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for g95... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-suse-linux/bin/ld
checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-suse-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-suse-linux/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
appending configuration tag "F77" to libtool
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for pg_config... no
checking what warning flags to pass to the C compiler...
checking for perl... /usr/bin/perl
checking for pkg-config... /usr/bin/pkg-config
checking for
        glib-2.0 >= 2.0.4
        gobject-2.0 gmodule-2.0
        gtk+-2.0 >= 2.0.3
        libgnomecanvas-2.0 >= 2.0.1
        libgnomeui-2.0 >= 2.0.1
        libglade-2.0 >= 2.0.0
        libbonoboui-2.0 >= 2.0.0
        libgnomeprintui-2.2 >= 2.1.9
        gnome-vfs-2.0 >= 2.0.2
... yes
checking PLANNER_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomeprint-2.2
checking PLANNER_LIBS... -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lgnomeui-2 -lSM
-lICE -lglade-2.0 -lbonoboui-2 -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lz -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0
checking for
        glib-2.0 >= 2.0.4
        libxml-2.0 >= 2.4.7
        gobject-2.0 gmodule-2.0
        libgsf-1 >= 1.4.0
... yes
checking LIBPLANNER_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1
checking LIBPLANNER_LIBS... -Wl,--export-dynamic -L/usr/X11R6/lib -lgmodule-2.0 -ldl -lgsf-1 -lgobject-2.0 -lxml2 -lz -lm -lglib-2.0
checking for libgnomeui-2.0 >= 2.1.1... yes
checking LIBGNOMEUI_CFLAGS... -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2
checking LIBGNOMEUI_LIBS... -pthread -Wl,--export-dynamic -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0
*** Couldn't find pg_config. Disabling PostgreSQL support.
checking for libxslt >= 1.0... yes
checking XSLT_CFLAGS... -I/usr/include/libxml2
checking XSLT_LIBS... -L/usr/X11R6/lib -lxslt -lxml2 -lz -lm
checking for gtkdoc-mkdb... true
checking gtk-doc version (1.0) >= 0.10... yes
checking for db2html... true
checking for sgml2html... no
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am az be ca cs da de el es fa fr hi hr hu is it ja ko lv ml ms nl nn no pl pt pt_BR ru sk sr sr Latn sv uk zh_CN
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libplanner/Makefile
config.status: creating libegg/Makefile
config.status: creating libegg/recent-files/Makefile
config.status: creating src/Makefile
config.status: creating docs/Makefile
config.status: creating docs/libplanner/Makefile
config.status: creating docs/user-guide/Makefile
config.status: creating docs/user-guide/C/Makefile
config.status: creating po/Makefile.in
config.status: creating po-libplanner/Makefile.in
config.status: creating data/Makefile
config.status: creating data/images/Makefile
config.status: creating data/glade/Makefile
config.status: creating data/ui/Makefile
config.status: creating data/dtd/Makefile
config.status: creating data/stylesheets/Makefile
config.status: creating data/mime/Makefile
config.status: creating planner.spec
config.status: creating libplanner-1.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing sed-po-makefiles commands
 
Planner prefix    : /usr/local
PostgreSQL support: no
Time table view   : no
 
jfowler JohnsLapTop:~/planner-0.11> make
make  all-recursive
make[1]: Entering directory `/Users/jfowler/planner-0.11'
Making all in po
make[2]: Entering directory `/Users/jfowler/planner-0.11/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/Users/jfowler/planner-0.11/po'
Making all in po-libplanner
make[2]: Entering directory `/Users/jfowler/planner-0.11/po-libplanner'
( if test 'x.' != 'x.'; then \
    posrcprefix='../'; \
  else \
    posrcprefix="../"; \
  fi; \
  rm -f POTFILES-t POTFILES \
    && (sed -e '/^#/d'                                          \
            -e "s/^\[.*\] +//"                                  \
            -e '/^[     ]*$/d'                          \
            -e "s  *@   $posrcprefix& \\\\@" < ./POTFILES.in    \
        | sed -e '$s/\\$//') > POTFILES-t \
    && chmod a-w POTFILES-t \
    && mv POTFILES-t POTFILES )
cd .. \
  && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= \
       /bin/sh ./config.status
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing sed-po-makefiles commands
make[2]: Leaving directory `/Users/jfowler/planner-0.11/po-libplanner'
make[2]: Entering directory `/Users/jfowler/planner-0.11/po-libplanner'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/Users/jfowler/planner-0.11/po-libplanner'
Making all in libplanner
make[2]: Entering directory `/Users/jfowler/planner-0.11/libplanner'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1
  -DMRP_STORAGEMODULEDIR=\""/usr/local/lib/planner/storage-modules"\" -DMRP_FILE_MODULES_DIR=\""/usr/local/lib/planner/file-modules"\"   -DDTDDIR=\""/usr/local/share/planner/dtd"\" -g -O2 -MT libmrp_xml_la-mrp-xml.lo -MD -MP -MF ".deps/libmrp_xml_la-mrp-xml.Tpo" \
  -c -o libmrp_xml_la-mrp-xml.lo `test -f 'mrp-xml.c' || echo './'`mrp-xml.c; \
then mv -f ".deps/libmrp_xml_la-mrp-xml.Tpo" ".deps/libmrp_xml_la-mrp-xml.Plo"; \
else rm -f ".deps/libmrp_xml_la-mrp-xml.Tpo"; exit 1; \
fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 -DMRP_STORAGEMODULEDIR=\"/usr/local/lib/planner/storage-modules\" -DMRP_FILE_MODULES_DIR=\"/usr/local/lib/planner/file-modules\" -DDTDDIR=\"/usr/local/share/planner/dtd\" -g -O2 -MT libmrp_xml_la-mrp-xml.lo -MD -MP -MF .deps/libmrp_xml_la-mrp-xml.Tpo -c mrp-xml.c  -fPIC -DPIC -o .libs/libmrp_xml_la-mrp-xml.o
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1
  -DMRP_STORAGEMODULEDIR=\""/usr/local/lib/planner/storage-modules"\" -DMRP_FILE_MODULES_DIR=\""/usr/local/lib/planner/file-modules"\"   -DDTDDIR=\""/usr/local/share/planner/dtd"\" -g -O2 -MT libmrp_xml_la-mrp-old-xml.lo -MD -MP -MF ".deps/libmrp_xml_la-mrp-old-xml.Tpo" \
  -c -o libmrp_xml_la-mrp-old-xml.lo `test -f 'mrp-old-xml.c' || echo './'`mrp-old-xml.c; \
then mv -f ".deps/libmrp_xml_la-mrp-old-xml.Tpo" ".deps/libmrp_xml_la-mrp-old-xml.Plo"; \else rm -f ".deps/libmrp_xml_la-mrp-old-xml.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 -DMRP_STORAGEMODULEDIR=\"/usr/local/lib/planner/storage-modules\" -DMRP_FILE_MODULES_DIR=\"/usr/local/lib/planner/file-modules\" -DDTDDIR=\"/usr/local/share/planner/dtd\" -g -O2 -MT libmrp_xml_la-mrp-old-xml.lo -MD -MP -MF .deps/libmrp_xml_la-mrp-old-xml.Tpo -c mrp-old-xml.c  -fPIC -DPIC -o .libs/libmrp_xml_la-mrp-old-xml.o
/bin/sh ../libtool --mode=link gcc  -g -O2   -o libmrp-xml.la -rpath /usr/local/lib/planner/file-modules -avoid-version -module libmrp_xml_la-mrp-xml.lo libmrp_xml_la-mrp-old-xml.lo
gcc -shared  .libs/libmrp_xml_la-mrp-xml.o .libs/libmrp_xml_la-mrp-old-xml.o   -Wl,-soname -Wl,libmrp-xml.so -o .libs/libmrp-xml.so
creating libmrp-xml.la
(cd .libs && rm -f libmrp-xml.la && ln -s ../libmrp-xml.la libmrp-xml.la)
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1
  -DMRP_STORAGEMODULEDIR=\""/usr/local/lib/planner/storage-modules"\" -DMRP_FILE_MODULES_DIR=\""/usr/local/lib/planner/file-modules"\"   -I/usr/include/libxml2   -DSTYLESHEETDIR=\""/usr/local/share/planner/stylesheets"\" -g -O2 -MT libmrp_xsl_la-mrp-xsl.lo -MD -MP -MF ".deps/libmrp_xsl_la-mrp-xsl.Tpo" \
  -c -o libmrp_xsl_la-mrp-xsl.lo `test -f 'mrp-xsl.c' || echo './'`mrp-xsl.c; \
then mv -f ".deps/libmrp_xsl_la-mrp-xsl.Tpo" ".deps/libmrp_xsl_la-mrp-xsl.Plo"; \
else rm -f ".deps/libmrp_xsl_la-mrp-xsl.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgsf-1 -DMRP_STORAGEMODULEDIR=\"/usr/local/lib/planner/storage-modules\" -DMRP_FILE_MODULES_DIR=\"/usr/local/lib/planner/file-modules\" -I/usr/include/libxml2 -DSTYLESHEETDIR=\"/usr/local/share/planner/stylesheets\" -g -O2 -MT libmrp_xsl_la-mrp-xsl.lo -MD -MP -MF .deps/libmrp_xsl_la-mrp-xsl.Tpo -c mrp-xsl.c
-fPIC -DPIC -o .libs/libmrp_xsl_la-mrp-xsl.o
In file included from mrp-xsl.c:27:
/usr/include/libxslt/transform.h:29: parse error before "xsltNewTransformContext"
/usr/include/libxslt/transform.h:29: parse error before "style"
/usr/include/libxslt/transform.h:32: parse error before "ctxt"
/usr/include/libxslt/transform.h:34: parse error before "style"
/usr/include/libxslt/transform.h:43: parse error before "ctxt"
/usr/include/libxslt/transform.h:46: parse error before "xsltExtElementLookup"
/usr/include/libxslt/transform.h:46: parse error before "ctxt"
/usr/include/libxslt/transform.h:50: parse error before "style"
/usr/include/libxslt/transform.h:53: parse error before "style"
/usr/include/libxslt/transform.h:57: parse error before "style"
/usr/include/libxslt/transform.h:63: parse error before "style"
/usr/include/libxslt/transform.h:71: parse error before "ctxt"
/usr/include/libxslt/transform.h:76: parse error before "ctxt"
/usr/include/libxslt/transform.h:80: parse error before "ctxt"
/usr/include/libxslt/transform.h:84: parse error before "ctxt"
/usr/include/libxslt/transform.h:88: parse error before "ctxt"
/usr/include/libxslt/transform.h:92: parse error before "ctxt"
/usr/include/libxslt/transform.h:96: parse error before "ctxt"
/usr/include/libxslt/transform.h:100: parse error before "ctxt"
/usr/include/libxslt/transform.h:104: parse error before "ctxt"
/usr/include/libxslt/transform.h:108: parse error before "ctxt"
/usr/include/libxslt/transform.h:112: parse error before "ctxt"
/usr/include/libxslt/transform.h:116: parse error before "ctxt"
/usr/include/libxslt/transform.h:120: parse error before "ctxt"
/usr/include/libxslt/transform.h:124: parse error before "ctxt"
/usr/include/libxslt/transform.h:128: parse error before "ctxt"
/usr/include/libxslt/transform.h:132: parse error before "ctxt"
/usr/include/libxslt/transform.h:136: parse error before "ctxt"
/usr/include/libxslt/transform.h:140: parse error before "ctxt"
/usr/include/libxslt/transform.h:144: parse error before "ctxt"
/usr/include/libxslt/transform.h:151: parse error before "xsltTemplatePtr"
make[2]: *** [libmrp_xsl_la-mrp-xsl.lo] Error 1
make[2]: Leaving directory `/Users/jfowler/planner-0.11/libplanner'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Users/jfowler/planner-0.11'
make: *** [all] Error 2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]