LearnBitcoin

Bitcoin Dev Archive 2011

Forking personal "vanity" versions...

6 messages, 28 Jul 2011. Started by Alan Grimes.

Alan Grimes, Greg Maxwell, John Smith, Luke Dashjr, Matt Corallo, Gavin Andresen

Permalink Original thread on gnusha.org

Alan Grimes permalink original

To those who think there are too many vanity versions of bitcoin, all I have to say is this:

atg@tortoise ~/source/bitcoin/src $ make -f makefile.unix g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=0 -I/usr/lib64/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -DwxDEBUG_LEVEL=2 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DGUI -o obj/util.o util.cpp In file included from util.cpp:4:0: headers.h:43:20: fatal error: db_cxx.h: No such file or directory compilation terminated. make: *** [obj/util.o] Error 1 atg@tortoise ~/source/bitcoin/src $

'nuff said.

Greg Maxwell in reply to Alan Grimes permalink original

On Thu, Jul 28, 2011 at 2:43 PM, Alan Grimes <agrimes@speakeasy•net> wrote:

Quoted text (2 lines)
> To those who think there are too many vanity versions of bitcoin, all I
> have to say is this:

There is a 'vanity version' that removes the use of libdb or somehow magically requires you to not have its development headers installed on your system?

John Smith in reply to Greg Maxwell permalink original

On Thu, Jul 28, 2011 at 6:49 PM, Gregory Maxwell <gmaxwell@gmail•com> wrote:

Quoted text (9 lines)
> On Thu, Jul 28, 2011 at 2:43 PM, Alan Grimes <agrimes@speakeasy•net>
> wrote:
> > To those who think there are too many vanity versions of bitcoin, all I
> > have to say is this:
>
> There is a 'vanity version' that removes the use of libdb or somehow
> magically requires you to not have its development headers installed
> on your system?
>

Maybe they have magic build instructions in the readme file! :-)

JS

Luke Dashjr in reply to Greg Maxwell permalink original

On Thursday, July 28, 2011 2:49:07 PM Gregory Maxwell wrote:

Quoted text (7 lines)
> On Thu, Jul 28, 2011 at 2:43 PM, Alan Grimes <agrimes@speakeasy•net> wrote:
> > To those who think there are too many vanity versions of bitcoin, all I
> > have to say is this:
>
> There is a 'vanity version' that removes the use of libdb or somehow
> magically requires you to not have its development headers installed
> on your system?

You'll get that error even with the headers installed, because the makefile doesn't add the proper include paths to GCC.

To build, I first: sed -i s/static/dynamic/ makefile.unix # because static libraries aren't standard on my OS (nor should they be)

Then: make -f makefile.unix DEBUGFLAGS="-I/usr/include/db4.8 -ggdb -O0" \
      -j4 USE_UPNP=1 bitcoind
Matt Corallo in reply to Alan Grimes permalink original

On Thu, 2011-07-28 at 14:43 -0400, Alan Grimes wrote:

Quoted text (5 lines)
> To those who think there are too many vanity versions of bitcoin, all I
> have to say is this:
> 'nuff said.
>
>

Seriously? This is the very reason most people dont use the forums anymore. This is just a one-off email that says nothing, doesn't ask a question doesn't make a statement, and doesn't do anything remotely useful, keep this kind of crap to yourself.

Gavin Andresen in reply to Matt Corallo permalink original

Matt: First I agree with you. Second: your should have sent your message directly to Alan instead of to the entire bitcoin-development list.

All: The idea is for this mailing list to be CONSTRUCTIVE discussion of bitcoin development. Please ask yourself "will my message help move the bitcoin project forward or will it just make somebody angry" before posting. And assume that at least someone on the list just broke up with their girlfriend and is in a crappy mood.