tech-pkg archive

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

Re: py-bsddb3 (was Re: BAD Python compilation directives)



On Thu, Jan 26, 2017 at 01:22:22PM +0100, Jesus Cea wrote:
> Could you possibly try with db6?. The point of all this thread is that
> db4 is "too sticky" with current python pkgsrc package :).

# python3.6
Python 3.6.0 (default, Jan 22 2017, 15:48:33)
[GCC 5.4.0] on netbsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import bsddb3
>>> print(bsddb3.__version__, bsddb3.db.version(), bsddb3.db.DB_VERSION_STRING)
6.2.4 (6, 2, 23) Berkeley DB 6.2.23: (March 28, 2016)

I don't have db4 installed though.

> Pay special attention to the identification in the last line. My problem
> was that my package was linking to db6 *BUT* the header line used was
> DB4. The symptom was "bsddb3.db.version()==6.1.x" *BUT*
> "bsddb3.db.DB_VERSION_STRING" was 4.8.
>
> This should be solved with current bsddb3 6.2.4 package.
> 
> BTW, what is your Operating System?.

NetBSD/amd64.

> I just saw that you actually upgraded py-bsddb package. According to
> <http://pkgsrc.se/databases/py-bsddb3>, changelog shows that change, but
> the package revision seems to be kept at 6.2.1 :-).

I'm not sure where you're seeing that, but the package actually is at
6.2.4, see

http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/py-bsddb3/Makefile?rev=1.52&content-type=text/x-cvsweb-markup

Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index