Re: [bdbxml] Problems compiling bdbxml under FreeBSD 5.4

John Snelson <[email protected]> Thu, 22 Sep 2005 13:50:56 +0100
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
I'm fairly sure that this a GCC bug in the way that it handles 
enumerations - although I haven't been able to confirm what version we 
have seen this in before. Can you try a more recent version?

John

Steve Howe wrote:
> Hello all,
> 
> I'm having problems compiling bdbxml under FreeBSD 5.4. I've used:
> 
> # sh buildall.sh -m gmake
> 
> since it seems to require gmake.
> 
> Here are the error strings:
> PrintDataItemTree.cpp: In member function `virtual std::string XQueryPrintDataItemTree::printDataItem(const DataItem*, const DynamicContext*, int)':
> PrintDataItemTree.cpp:170: error: duplicate case value
> PrintDataItemTree.cpp:118: error: previously used here
> PrintDataItemTree.cpp:174: error: duplicate case value
> PrintDataItemTree.cpp:126: error: previously used here
> PrintDataItemTree.cpp:178: error: duplicate case value
> PrintDataItemTree.cpp:154: error: previously used here
> PrintDataItemTree.cpp:182: error: duplicate case value
> PrintDataItemTree.cpp:158: error: previously used here
> PrintDataItemTree.cpp:186: error: duplicate case value
> PrintDataItemTree.cpp:130: error: previously used here
> PrintDataItemTree.cpp:190: error: duplicate case value
> PrintDataItemTree.cpp:134: error: previously used here
> PrintDataItemTree.cpp:194: error: duplicate case value
> PrintDataItemTree.cpp:138: error: previously used here
> PrintDataItemTree.cpp:198: error: duplicate case value
> PrintDataItemTree.cpp:122: error: previously used here
> PrintDataItemTree.cpp:202: error: duplicate case value
> PrintDataItemTree.cpp:146: error: previously used here
> PrintDataItemTree.cpp:206: error: duplicate case value
> PrintDataItemTree.cpp:142: error: previously used here
> gmake[1]: *** [/usr/home/howe/dbxml-2.1.8/xquery-1.1.0/build_unix/PrintDataItemTree.lo] Error 1
> gmake[1]: Leaving directory `/usr/home/howe/dbxml-2.1.8/xquery-1.1.0/src'
> gmake: *** [xquery_subdir] Error 2
> 
> 
> Also, I wonder why there is no bdbxml port in the FreeBSD ports tree.
> There are several versions of BerkeleyDB, but not BDBXML. Isn't there
> any interest in making a port ? That will make it so much easier to
> install on FreeBSD... and generate much less trouble, too.
> 
> And if someone likes the idea and want to contribute with the port
> (unhappily I don't have time for learning it), don't forget to add the
> perl and python bindings too, perhaps as separate packages.
> 
> Environment:
> 
> gcc version:
> # gcc -v
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.4.2 [FreeBSD] 20040728
> 
> gmake version:
> GNU Make 3.80
> 
> FreeBSD version:
> FreeBSD carcass.dhs.org 5.4-RELEASE i386
> 
> The complete build log is available at:
> http://carcass.dhs.org/bdbxml_build1.log
> 
> Thanks for any help.
> 


-- 
John Snelson, Berkeley DB XML Engineer
Sleepycat Software, Inc
http://www.sleepycat.com

Contracted to Sleepycat through Parthenon Computing Ltd
http://blog.parthcomp.com/dbxml


------------------------------------------
To remove yourself from this list, send an
email to [email protected]