1
I've been working on setting up the proper environment to compile litecoin, and have been following the instructions from this:
https://bitcointalk.org/index.php?PHPSESSID=1dl8pkva2oqpjsd3h455k7hrj7&topic=149479.0;all
2.2 Berkeley DB: http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
We'll use version 4.8 to preserve binary wallet compatibility.
From a MinGW shell unpack the source archive, configure, edit line 113 of db.h then make:
Code:
cd /c/deps/
tar xvfz db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --disable-replication --enable-mingw --enable-cxx
after configuring make sure to edit your build_unix/db.h by replacing line 113:
Code:
typedef pthread_t db_threadid_t;
with
Code:
typedef u_int32_t db_threadid_t;
I was all set to do it, but this happened:

I've tried getting db-4.8.30.NC from multiple sources, but no luck—the build_unix folder is always empty.
So what's the deal?
I just downloaded Berkeley DB from the link and had no problems. The db-4.8.30NC.tar.gz is 21.7MB. Is this the size of your file? – ScripterRon – 2013-12-14T22:07:20.940
I have no problem downloading the file; can you tell me what's inside your build_unix directory? I only have an .IGNORE_ME file. – Austin Burk – 2013-12-14T22:17:59.373
There are 793 files, one of which is .IGNORE_ME. There is also a .libs subdirectory. Sounds like your tarball wasn't unpacked correctly or it was truncated. – ScripterRon – 2013-12-14T22:58:50.993
Can I have your link? I tried both mingw and 7zip to open it. I tried the windows zip viewer for a zip version. – Austin Burk – 2013-12-14T23:56:37.747
I mislead you because I have already built Berkely DB. I went back and looked at the .tar.gz file again and it does contain just the .IGNORE_ME file. You just need to run the configure and make commands to create all of the files in the directory. – ScripterRon – 2013-12-15T01:07:23.823