Berkeley Db.xs Fatal Error Db.h No Such File Or Directory
Contents |
Active bugs Resolved bugs Rejected bugs Report a new bug This queue is for tickets version.c:30:16: fatal error: db.h: no such file or directory about the DB_File CPAN distribution. Report information The Basics Id:
How To Install Db_file Perl Module
103763 Status: resolved Priority: 0/ Queue: DB_File People Owner: Nobody in particular Requestors: jkeenan [...]
Install Berkeley Db Ubuntu
cpan.org Cc: AdminCc: Bug Information Severity: (no value) Broken in: (no value) Fixed in: (no value) Attachments perl_V.txt Wed Apr 15 21:22:12 2015 (3.2k) by
B And H
jkeenan [...] cpan.org History Show all quoted text — Show full headers # WedApr1521:22:122015 jkeenan [...] cpan.org - Ticket created Subject: DB_File installation fails during 'make': missing db.h Download (untitled) / with headers text/plain 1.8k Today, while examining other rt.cpan.org tickets, I had occasion to try to install DB_File as a prerequisite to a number of other libraries, including Spoon and Kwiki. I attempted this using both 'cpan' and 'cpanm'. I experienced the same failures during 'make' with either tool. Here's an excerpt from the cpanm build.log: ##### Searching DB_File on cpanmetadb ... --> Working on DB_File Fetching http://www.cpan.org/authors/id/P/PM/PMQS/DB_File-1.835.tar.gz -> OK Unpacking DB_File-1.835.tar.gz Entering DB_File-1.835 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.02) Configuring DB_File-1.835 Running Makefile.PL Parsing config.in... Looks Good. Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -ldb Generating a Unix-style Makefile Writing Makefile for DB_File Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.02) Building and testing DB_File-1.835 cp DB_File.pm blib/lib/DB_File.pm Running Mkbootstrap for DB_File () chmod 644 "DB_File.bs" cc -c -I/usr/local/BerkeleyDB/include -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BI
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Compile/Link error building BerkeleyDB on Windows 7 (64bit) with Perl64 https://rt.cpan.org/Ticket/Display.html?id=103763 up vote 7 down vote favorite I want to use the perl BerkleyDB module on Windows, but I do not manage to do it. I know there are a lot problems with this and I read many of the questions here on SO and also on other sources. But I found no solution for it. For example there is: Use CPAN BerkeleyDB module on Windows 7 (64 bit) http://stackoverflow.com/questions/26730316/compile-link-error-building-berkeleydb-on-windows-7-64bit-with-perl64 But there is no answer. There is a hint to a 64-bit patch, but the link is broken. Environment Windows 7 Professional Perl 5.16 C:\> perl -v This is perl 5, version 16, subversion 3 (v5.16.3) built for MSWin32-x64-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2012, Larry Wall Binary build 1603 [296746] provided by ActiveState http://www.ActiveState.com Built Mar 13 2013 13:31:10 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. MinGW With my first attempt to install the BerkelyDB from CPAN MinGW64 (4.5.4) and dmake (4.12.20090907) was automatically installed. C:\>cpan Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 BerkeleyDB 0.54 (Perl-Binding) Downloaded using cpan. BerkeleyDB (Lib from Oracle) First I installed BerkeleyDB 6.1.19 from Oracle (using .msi). Thought that the newest version would be the best. After some problems I read the description of cpan BerkeleyDB again: BerkeleyDB - Perl extension for
Support Search GitHub This repository Watch 149 Star 1,152 Fork 534 dogecoin/dogecoin Code Issues 45 Pull requests 7 https://github.com/dogecoin/dogecoin/issues/76 Projects 0 Wiki Pulse Graphs New issue src/db.h:15:20: fatal error: db_cxx.h: http://anti-spam-smtp-proxy-server.996265.n3.nabble.com/Berkeley-DB-perl-library-version-on-Ubuntu-td36243.html No such file or directory #76 Closed ThePeach opened this Issue Dec 30, 2013 · 12 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 6 participants ThePeach commented Dec 30, 2013 While trying to compile dogecoin on my linux fatal error machine I've got this error, this is the full output: $ qmake Project MESSAGE: Building with UPNP support Project MESSAGE: Building with UPNP supportRemoved plural forms as the target language has less forms. If this sounds wrong, possibly the target language is not set or recognized. $ make cd /home/peach/Programs/dogecoin; /bin/sh share/genbuild.sh /home/peach/Programs/dogecoin/build/build.h g++ -c -pipe no such file -fstack-protector -O2 -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_REENTRANT -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADS AFE -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -D__NO_SYSTEM_INCLUDES -DUSE_UPNP=1 -DSTATICLIB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/s hare/qt4/mkspecs/linux-g++ -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Ic:/deps -IC:/deps/boost -Ic:/deps/db/build_unix -Ic:/deps/ssl/incl ude -Ibuild -Ibuild -o build/bitcoin.o src/qt/bitcoin.cpp In file included from src/main.h:14:0, from src/wallet.h:9, from src/init.h:9, from src/qt/bitcoin.cpp:11: src/db.h:15:20: fatal error: db_cxx.h: No such file or directory compilation terminated. make: *** [build/bitcoin.o] Error 1 ThePeach commented Dec 30, 2013 the system is Gentoo, with db-4.8 installed. It looks like qmake wasn't able to find it. The only thing I've had to do is to add -I/usr/include/db4.8 at the end of the INCPATH in the Makefile generated by qmake. Hope this helps someone else. Wow. dogecoin commented Jan 11, 2014 Closing as not a bug. Thanks for mentioning the fix. dogecoin closed this Jan 11, 2014 vanschelven commented Jan 24, 2014 On Ubuntu 10.04 I resolved this w/ sudo aptitude install libdb4.8++-dev (after verifying that I've got BerkelyDB 4.8 installed) hoylemd commented Feb
messages Mark Edwards-5 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Berkeley DB perl library version on Ubuntu Checking my versions on a fresh install of the latest ASSP 2 on Ubuntu 10.4, the only red flag is: BerkeleyDB 0.39 / 0.42 enabled 0.39 is Ubuntu's current version. Is running that version going to be a problem? I tried installing from CPAN instead, and the build just completely fails, with a long list of errors beginning with: BerkeleyDB.xs:72:16: error: db.h: No such file or directory -- Mark Edwards Audiovisual Coordinator & IT Assistant Contemporary Jewish Museum 736 Mission Street San Francisco, CA 94103 direct line: 415.655.7802 fax: 415.655.7815 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo_______________________________________________ Assp-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/assp-user Mark Edwards-5 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Berkeley DB perl library version on Ubuntu Answered my own question. I just needed to install libdb4.8-dev: aptitude install libdb4.8-dev Then 0.42 built and everyone's happy. But could I just run the stock 0.39 without problems? On Jun 8, 2010, at 12:54 PM, Mark Edwards wrote: > Checking my versions on a fresh install of the latest ASSP 2 on Ubuntu 10.4, the only red flag is: > > BerkeleyDB 0.39 / 0.42 enabled > > 0.39 is Ubuntu's current version. Is running that version going to be a problem? > > I tried installing from CPAN instead, and the build just completely fails, with a long list of errors beginning with: > > BerkeleyDB.xs:72:16: error: db.h: No such file or directory > > -- > Mark Edwards > Audiovisual Coordinator & IT Assistant > Contemporary Jewish Museum > 736 Mission Street > San Francisco, CA 94103 > > direct line: 415.655.7802 > fax: 415.655.7815 > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MA