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

Re: dbxml on squeeze?



2011/5/12 kgk <kkvilekval@gmail.com>:
> I am trying to build your package dbxml on squeeze however, I think
> the basic packages
> there might be incompatible?
>
> It appears that the bundled version of xerces is 3.0 while the default
> version on squeeze is 3.1.
>
> Try dpkg-buildpackage -b -rfakeroot
> produces at link..

That's odd, it compiles and links perfectly fine on my box (Debian
6.0.1). Here's the result from dpkg -l '*xerces*':


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version                       Description
+++-=============================-=============================-==========================================================================
ii  libxerces-c-dev               3.1.1-1+b1
validating XML parser library for C++ (development files)
un  libxerces-c-doc               <none>                        (no
description available)
un  libxerces-c2-dev              <none>                        (no
description available)
un  libxerces-c3-dev              <none>                        (no
description available)
ii  libxerces-c3.1                3.1.1-1+b1
validating XML parser library for C++
ii  libxerces2-java               2.9.1-4.1
Validating XML parser for Java with DOM level 3 support
un  libxerces2-java-doc           <none>                        (no
description available)
ii  libxerces2-java-gcj           2.9.1-4.1
Validating XML parser for Java with DOM level 3 support (native code)
un  libxerces25-dev               <none>                        (no
description available)
un  libxerces26-dev               <none>                        (no
description available)
un  libxerces27-dev               <none>                        (no
description available)
un  libxerces28-dev               <none>                        (no
description available)

Please tell me what that command produces on your machine.

Regards,
Lars


> ....
>
> /bin/sh ./libtool --tag=CXX   --mode=link g++  -O2  -L/usr/lib
> -R/usr/lib -L/usr/lib -R/usr/lib -L/usr/lib -R/usr/lib -L/usr/lib
> -R/usr/lib -ldb-4.8 -lxqilla -lxerces-c -lz -o dbxml AddAliasCommand.o
> AbortCommand.o ContainerQueryCommand.o AddDocumentCommand.o
> AddIndexCommand.o CommentCommand.o CommitCommand.o PrintCommand.o
> ContextItemQueryCommand.o CreateContainerCommand.o DefaultShell.o
> DeleteDocumentCommand.o DeleteIndexCommand.o EchoCommand.o
> EdgeIndexLookupCommand.o Environment.o GetDocumentsCommand.o
> GetMetaDataCommand.o HelpCommand.o IncludeCommand.o
> IndexLookupCommand.o InfoCommand.o LazyCommand.o ListIndexesCommand.o
> RemoveContainerCommand.o OpenContainerCommand.o PreLoadCommand.o
> QueryCommand.o QueryPlanCommand.o QuitCommand.o ReindexCommand.o
> RemoveAliasCommand.o DebugCommand.o DebugOptimizationCommand.o
> ReturnTypeCommand.o SetAutoIndexingCommand.o SetBaseURICommand.o
> SetMetaDataCommand.o SetNamespaceCommand.o SetQueryTimeoutCommand.o
> SetTypedVariableCommand.o SetVariableCommand.o SetVerboseCommand.o
> Shell.o ShellCommand.o StartTransactionCommand.o StatsLookupCommand.o
> SyncCommand.o TimeCommand.o UpgradeCommand.o dbxmlsh.o
> SetIgnoreCommand.o CompactCommand.o ProjectionCommand.o
> PrepareCommand.o Timer.o dbxml_util_sig.o SigBlock.o libdbxml.la
> g++ -O2 -o .libs/dbxml AddAliasCommand.o AbortCommand.o
> ContainerQueryCommand.o AddDocumentCommand.o AddIndexCommand.o
> CommentCommand.o CommitCommand.o PrintCommand.o
> ContextItemQueryCommand.o CreateContainerCommand.o DefaultShell.o
> DeleteDocumentCommand.o DeleteIndexCommand.o EchoCommand.o
> EdgeIndexLookupCommand.o Environment.o GetDocumentsCommand.o
> GetMetaDataCommand.o HelpCommand.o IncludeCommand.o
> IndexLookupCommand.o InfoCommand.o LazyCommand.o ListIndexesCommand.o
> RemoveContainerCommand.o OpenContainerCommand.o PreLoadCommand.o
> QueryCommand.o QueryPlanCommand.o QuitCommand.o ReindexCommand.o
> RemoveAliasCommand.o DebugCommand.o DebugOptimizationCommand.o
> ReturnTypeCommand.o SetAutoIndexingCommand.o SetBaseURICommand.o
> SetMetaDataCommand.o SetNamespaceCommand.o SetQueryTimeoutCommand.o
> SetTypedVariableCommand.o SetVariableCommand.o SetVerboseCommand.o
> Shell.o ShellCommand.o StartTransactionCommand.o StatsLookupCommand.o
> SyncCommand.o TimeCommand.o UpgradeCommand.o dbxmlsh.o
> SetIgnoreCommand.o CompactCommand.o ProjectionCommand.o
> PrepareCommand.o Timer.o dbxml_util_sig.o SigBlock.o  -L/usr/lib
> /usr/lib/libdb-4.8.so -lxqilla /usr/lib/libxerces-c.so -lz
> ./.libs/libdbxml.so   -D__LIBTOOL_NO_RPATH__
> DebugCommand.o: In function
> `DbXmlInteractiveDebugger::queryCurrentFrame(char const*) const':
> DebugCommand.cpp:(.text._ZNK24DbXmlInteractiveDebugger17queryCurrentFrameEPKc[DbXmlInteractiveDebugger::queryCurrentFrame(char
> const*) const]+0x312): undefined reference to `XStr::XStr(char const*,
> xercesc_3_0::MemoryManager*)'
> DebugCommand.cpp:(.text._ZNK24DbXmlInteractiveDebugger17queryCurrentFrameEPKc[DbXmlInteractiveDebugger::queryCurrentFrame(char
> const*) const]+0x388): undefined reference to `XStr::XStr(char const*,
> xercesc_3_0::MemoryManager*)'
> DebugCommand.o: In function
> `DbXmlInteractiveDebugger::outputCurrentFrame(unsigned int) const':
> DebugCommand.cpp:(.text._ZNK24DbXmlInteractiveDebugger18outputCurrentFrameEj[DbXmlInteractiveDebugger::outputCurrentFrame(unsigned
> int) const]+0x162): undefined reference to `XStr::XStr(char const*,
> xercesc_3_0::MemoryManager*)'
> DebugCommand.cpp:(.text._ZNK24DbXmlInteractiveDebugger18outputCurrentFrameEj[DbXmlInteractiveDebugger::outputCurrentFrame(unsigned
> int) const]+0x1c6): undefined reference to `XStr::XStr(char const*,
> xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgDocTypeString'
> ./.libs/libdbxml.so: undefined reference to
> `XQillaPlatformUtils::initialize(xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgArrayIndexOutOfBoundsException_Name'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::error(unsigned int, unsigned short const*,
> xercesc_3_0::XMLErrorReporter::ErrTypes, unsigned short const*,
> unsigned short const*, unsigned short const*, unsigned long, unsigned
> long)'
> ./.libs/libdbxml.so: undefined reference to `non-virtual thunk to
> DocumentCacheImpl::startElement(xercesc_3_0::XMLElementDecl const&,
> unsigned int, unsigned short const*,
> xercesc_3_0::RefVectorOf<xercesc_3_0::XMLAttr> const&, unsigned long,
> bool, bool)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgXercesSchemaExternalNoNameSpaceSchemaLocation'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMemory::operator new(unsigned long,
> xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgXercesSchemaFullChecking'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::GrammarResolver::resetCachedGrammar()'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::DocumentCacheImpl(xercesc_3_0::MemoryManager*,
> xercesc_3_0::XMLGrammarPool*, bool)'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::parseDocument(xercesc_3_0::InputSource&,
> EventHandler*, DynamicContext*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgXercesSecurityManager'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgXercesContinueAfterFatalError'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLScanner::setURIStringPool(xercesc_3_0::XMLStringPool*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLScanner::loadGrammar(unsigned short const*, short,
> bool)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::MemBufInputSource::MemBufInputSource(unsigned char
> const*, unsigned long, char const*, bool,
> xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::InputSource::setSystemId(unsigned short const*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLScanner::setParseSettings(xercesc_3_0::XMLScanner*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::GrammarResolver::getGrammar(unsigned short const*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLStringPool::~XMLStringPool()'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::expandSystemId(unsigned short const*,
> xercesc_3_0::XMLBuffer&)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUri::isValidURI(bool, unsigned short const*, bool)'
> ./.libs/libdbxml.so: undefined reference to `xercesc_3_0::XMLUri::~XMLUri()'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::DTDEntityDecl::serialize(xercesc_3_0::XSerializeEngine&)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgXercesCalculateSrcOfs'
> ./.libs/libdbxml.so: undefined reference to `non-virtual thunk to
> DocumentCacheImpl::resolveEntity(xercesc_3_0::XMLResourceIdentifier*)'
> ./.libs/libdbxml.so: undefined reference to `typeinfo for
> xercesc_3_0::BinInputStream'
> ./.libs/libdbxml.so: undefined reference to `non-virtual thunk to
> DocumentCacheImpl::endInputSource(xercesc_3_0::InputSource const&)'
> ./.libs/libdbxml.so: undefined reference to
> `Node::typeToBuffer(DynamicContext*, xercesc_3_0::XMLBuffer&) const'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::handleElementPSVI(unsigned short const*, unsigned
> short const*, xercesc_3_0::PSVIElement*)'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::setXMLEntityResolver(xercesc_3_0::XMLEntityResolver*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgRequiredString'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMemory::operator delete(void*)'
> ./.libs/libdbxml.so: undefined reference to `xercesc_3_0::XMLUni::fgFixedString'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgZeroLenString'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLException::loadExceptText(xercesc_3_0::XMLExcepts::Codes)'
> ./.libs/libdbxml.so: undefined reference to `xercesc_3_0::XMLUni::fgElemString'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMemory::operator new(unsigned long)'
> ./.libs/libdbxml.so: undefined reference to `xercesc_3_0::XMLUni::fgCDATAString'
> ./.libs/libdbxml.so: undefined reference to
> `Sequence::Sequence(RefCountPointer<Item const> const&,
> xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLScanner::getURIText(unsigned int) const'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::handlePartialElementPSVI(unsigned short const*,
> unsigned short const*, xercesc_3_0::PSVIElement*)'
> ./.libs/libdbxml.so: undefined reference to `XQilla::parse(unsigned
> short const*, DynamicContext*, unsigned short const*, unsigned int,
> xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::URLInputSource::URLInputSource(unsigned short const*,
> unsigned short const*, unsigned short const*,
> xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLRefInfo::serialize(xercesc_3_0::XSerializeEngine&)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::InputSource::~InputSource()'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::InputSource::setPublicId(unsigned short const*)'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::startEntityReference(xercesc_3_0::XMLEntityDecl
> const&)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::InputSource::setEncoding(unsigned short const*)'
> ./.libs/libdbxml.so: undefined reference to
> `XQDynamicContextImpl::XQDynamicContextImpl(XQillaConfiguration*,
> StaticContext const*, xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `Sequence::Sequence(xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLBufferMgr::~XMLBufferMgr()'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUri::XMLUri(xercesc_3_0::MemoryManager*)'
> ./.libs/libdbxml.so: undefined reference to
> `DocumentCacheImpl::startInputSource(xercesc_3_0::InputSource const&)'
> ./.libs/libdbxml.so: undefined reference to `typeinfo for
> xercesc_3_0::XMLException'
> ./.libs/libdbxml.so: undefined reference to `xercesc_3_0::XMLUni::fgIDString'
> ./.libs/libdbxml.so: undefined reference to
> `xercesc_3_0::XMLUni::fgSAX2CoreNameSpaces'
> ./.libs/libdbxml.so: undefined reference to `xercesc_3_0::XMLUni::fgXMLString'
>
>
> --
> Kristian G. Kvilekval (kkvilekval@gmail.com) 805-636-1599
>


Reply to: