Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DB_File CPAN distribution.

Report information
The Basics
Id:
119569
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
skaji [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
1.840



Subject: Failed to install DB_File-1.839 into Linux
I couldn't install DB_File-1.839 into Linux ``` $ cpanm -n -v -l local DB_File ... cc -c -I/usr/local/BerkeleyDB/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -g -DVERSION=\"1.839\" -DXS_VERSION=\"1.839\" -fPIC "-I/root/perl/lib/5.24.0/x86_64-linux/CORE" -D_NOT_CORE -DmDB_Prefix_t=size_t -DmDB_Hash_t=u_int32_t DB_File.c In file included from DB_File.xs:121:0: DB_File.xs: In function 'btree_compare': DB_File.xs:609:21: error: 'locp' undeclared (first use in this function) PERL_UNUSED_ARG(locp); ... ``` Full log is here: https://gist.github.com/skaji/52ceedc73799f118de191fa339f1e1ae
Thanks, think I see the issue. Do you know what version of the Berkeley DB library that is installed on your box?
I hope this would help. ``` root@b4551bd37718:~# ls -al /usr/include/db.h -rw-r--r-- 1 root root 123102 Apr 7 2014 /usr/include/db.h root@b4551bd37718:~# cat /usr/include/db.h ... /* * Berkeley DB version information. */ #define DB_VERSION_FAMILY 11 #define DB_VERSION_RELEASE 2 #define DB_VERSION_MAJOR 5 #define DB_VERSION_MINOR 3 #define DB_VERSION_PATCH 28 #define DB_VERSION_STRING "Berkeley DB 5.3.28: (September 9, 2013)" #define DB_VERSION_FULL_STRING "Berkeley DB 11g Release 2, library version 11.2.5.3.28: (September 9, 2013)" ... ``` On 2016-12-29T08:55:57-05:00, PMQS wrote:
Show quoted text
> Thanks, think I see the issue. > > Do you know what version of the Berkeley DB library that is installed > on your box?
That's perfect, thanks. Fix being tested. Paul
New version uploaded to CPAN. Shout if you have any problems cheers Paul
I confirmed I could install DB_File-1.840 into my Linux. Thank you very much! On 2016-12-29T09:23:54-05:00, PMQS wrote:
Show quoted text
> New version uploaded to CPAN. > > Shout if you have any problems > > cheers > Paul >


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.