Bitcoin Forum
June 25, 2024, 04:29:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Re: HOWTO: Compiling Bitcoin v0.3 on FreeBSD (7.2,7.3,8.0) on: May 20, 2011, 12:10:27 PM
Now bitcoin from git repo works fine with databases/db46 and x11-toolkits/wxgtk29

Code:
Bitcoin version 0.3.22-beta
OS version FreeBSD 8.2-STABLE i386


Code:
diff --git a/src/makefile.unix b/src/makefile.unix
index 4f2da37..23bf964 100644
--- a/src/makefile.unix
+++ b/src/makefile.unix
@@ -4,9 +4,9 @@
 
 CXX=g++
 
-WXINCLUDEPATHS=$(shell wx-config --cxxflags)
+WXINCLUDEPATHS=$(shell wxgtk2u-2.9-config --cxxflags)
 
-WXLIBS=$(shell wx-config --libs)
+WXLIBS=$(shell wxgtk2u-2.9-config --libs)
 
 USE_UPNP:=0
 
@@ -32,12 +32,11 @@ LIBS+= \
  -Wl,-Bdynamic \
    -l gthread-2.0 \
    -l z \
-   -l dl \
    -l pthread
 
 
 DEBUGFLAGS=-g -D__WXDEBUG__
-CXXFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS)
+CXXFLAGS=-O2 -Wno-invalid-offsetof -Wformat $(DEBUGFLAGS) $(DEFS) -I/usr/local/include -I/usr/local/include/db46 -L/usr/local/lib -L/usr/local/lib/db46
 HEADERS=headers.h strlcpy.h serialize.h uint256.h util.h key.h bignum.h base58.h \
     script.h db.h net.h irc.h main.h rpc.h uibase.h ui.h noui.h init.h
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!