cvs make failure

Bill Suit <[email protected]> Fri, 14 Jul 2006 14:53:00 -0400
Newsgroups gmane.comp.finance.libofx.devel
Message-ID <[email protected]>
New check out of libofx. Ran "./autogen.sh" (and later ./configure in other 
attempts) and always wind up with this ending:
...
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for library containing strerror... none required
checking whether byte ordering is bigendian... no
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
/usr/lib
checking for ParserEventGenerator.h in /usr/include/OpenSP... yes
checking for ParserEventGeneratorKit.h... yes
checking for SGMLApplication.h... yes
checking for EventGenerator.h... yes
checking for libosp... yes
checking for doxygen... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for gengetopt... no
configure: WARNING: *** Not rebuilding command line parser as gengetopt is not 
found ***
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.15.1
checking for libcurl >= version 7.9.7... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXMLPP... configure: WARNING: libxml++ is not available. Direct 
connect samples will not be fully functional.
checking for QT... configure: WARNING: Qt is not available. Some experimental 
direct connect samples will not be fully functional.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libofx.spec
config.status: creating libofx.pc
config.status: creating lib/Makefile
config.status: creating inc/Makefile
config.status: creating dtd/Makefile
config.status: creating doc/Makefile
config.status: creating ofx2qif/Makefile
config.status: creating ofxdump/Makefile
config.status: creating ofxconnect/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

"make" (and "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make") nets me this 
stopper:
...
make[2]: Leaving directory `/opt/libofx/ofxdump'
Making all in ofxconnect
make[2]: Entering directory `/opt/libofx/ofxconnect'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../inc    -g -O2 -MT 
nodeparser.o -MD -MP -MF ".deps/nodeparser.Tpo" -c -o nodeparser.o 
nodeparser.cpp; \
then mv -f ".deps/nodeparser.Tpo" ".deps/nodeparser.Po"; else 
rm -f ".deps/nodeparser.Tpo"; exit 1; fi
In file included from nodeparser.cpp:20:
nodeparser.h:25:31: libxml++/libxml++.h: No such file or directory
In file included from nodeparser.cpp:20:
nodeparser.h:27: error: `xmlpp' has not been declared
nodeparser.h:28: error: expected class-name before '{' token
nodeparser.h:31: error: `xmlpp' has not been declared
nodeparser.h:31: error: expected `,' or `...' before '&' token
nodeparser.h:31: error: ISO C++ forbids declaration of `NodeList' with no type
nodeparser.h:32: error: `xmlpp' has not been declared
nodeparser.h:32: error: expected `,' or `...' before '*' token

(numerous other similar error lines left out)

nodeparser.cpp: In member function `std::vector<std::string, 
std::allocator<std::string> > NodeParser::Text() const':
nodeparser.cpp:122: error: `xmlpp' has not been declared
nodeparser.cpp:122: error: `const_iterator' undeclared (first use this 
function)
nodeparser.cpp:122: error: expected `;' before "iter"
nodeparser.cpp:122: error: `iter' undeclared (first use this function)
nodeparser.cpp:122: error: `end' undeclared (first use this function)
nodeparser.cpp:125: error: `xmlpp' has not been declared
nodeparser.cpp:125: error: `NodeList' undeclared (first use this function)
nodeparser.cpp:125: error: expected `;' before "list"
nodeparser.cpp:126: error: `xmlpp' has not been declared
nodeparser.cpp:126: error: expected `;' before "iter2"
nodeparser.cpp:126: error: `iter2' undeclared (first use this function)
nodeparser.cpp:126: error: `list' undeclared (first use this function)
nodeparser.cpp:128: error: `xmlpp' has not been declared
nodeparser.cpp:128: error: expected primary-expression before "const"
nodeparser.cpp:128: error: expected `;' before "const"
nodeparser.cpp:129: error: `nodeText' undeclared (first use this function)
make[2]: *** [nodeparser.o] Error 1
make[2]: Leaving directory `/opt/libofx/ofxconnect'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/libofx'
make: *** [all] Error 2

This reminds me of a similar problem I had back on Jan 19th or so of this 
year. I looked at it again, but saw no conclusive resolution mentioned. I did 
wind up getting libofx and then kmymoney2 built with ofx functioning.

I just did a complete os rebuild, which is the cause for my needing to 
recompile libofx.

I have this (on my gentoo distro):
hb3 pkgconfig # pwd
/usr/local/lib/pkgconfig
hb3 pkgconfig # ls -la
total 5
drwxr-xr-x 3 root root 144 Jul 14 11:54 .
drwxr-xr-x 4 root root 336 Jul 12 21:10 ..
lrwxrwxrwx 1 root root  14 Jul 14 11:54 libxml++-1.0 -> libxml++-1.0.5
drwxr-xr-x 6 root root 744 Jul 14 11:52 libxml++-1.0.5
-rw-r--r-- 1 root root 252 Jul 12 21:09 libxml-2.0.pc

What do I need to do to get libofx to build?

TIA,
Bill







-------------------------------------------------------------------------
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