原始文献 / 论坛帖 / Re: *** ALERT *** Upgrade to 0.3.6 ASAP!
Re: *** ALERT *** Upgrade to 0.3.6 ASAP!
Bitcointalk · 2010-07-30 19:53:06 UTC
【引用 knightmb 于 2010年7月30日 19:24:07(https://bitcointalk.org/index.php?topic=626.msg6702#msg6702)】
"我能想象你做出这些构建版有多痛苦,因为我正在一台 Ubuntu 9.04 的机器上编译这个程序,到目前为止无论装多少包、编多少源码,总是凑不齐所有依赖,哈哈。"
我不明白你为什么这么痛苦。我只是照着 build-unix.txt 里的说明做的。我对 Boost 1.37 做了几处小修正,下次更新 SVN 时会放上去,记在下面:
Dependencies
------------
sudo apt-get install build-essential
sudo apt-get install libgtk2.0-dev
sudo apt-get install libssl-dev
sudo apt-get install libdb4.7-dev
sudo apt-get install libdb4.7++-dev
sudo apt-get install libboost-all-dev (or libboost1.37-dev)
wxWidgets
---------
cd /usr/local
tar -xzvf wxWidgets-2.9.0.tar.gz
cd /usr/local/wxWidgets-2.9.0
mkdir buildgtk
cd buildgtk
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
make
sudo su
make install
ldconfig
在 makefile.unix 里加了一段注释:
# for boost 1.37, add -mt to the boost libraries
LIBS= \
-Wl,-Bstatic \
-l boost_system \
-l boost_filesystem \
-l boost_program_options \
-l boost_thread \
-l db_cxx \
-l crypto \
-Wl,-Bdynamic \
-l gthread-2.0
英文原文
【引用 knightmb on July 30, 2010, 07:24:07 PM(https://bitcointalk.org/index.php?topic=626.msg6702#msg6702)】
"I can only imagine the pain you went through to get these builds because I'm trying to build the program on a Ubuntu 9.04 box and so far I can't seem to find all the dependencies to compile no matter how much I keep installing packages and compiling source, LOL.
"
I can't understand why you're having so much pain. I just followed the instructions in build-unix.txt. I made a couple little corrections for Boost 1.37, which I'll put on SVN the next time I update it, noted below:
Dependencies
------------
sudo apt-get install build-essential
sudo apt-get install libgtk2.0-dev
sudo apt-get install libssl-dev
sudo apt-get install libdb4.7-dev
sudo apt-get install libdb4.7++-dev
sudo apt-get install libboost-all-dev (or libboost1.37-dev)
wxWidgets
---------
cd /usr/local
tar -xzvf wxWidgets-2.9.0.tar.gz
cd /usr/local/wxWidgets-2.9.0
mkdir buildgtk
cd buildgtk
../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
make
sudo su
make install
ldconfig
added a comment in makefile.unix:
# for boost 1.37, add -mt to the boost libraries
LIBS= \
-Wl,-Bstatic \
-l boost_system \
-l boost_filesystem \
-l boost_program_options \
-l boost_thread \
-l db_cxx \
-l crypto \
-Wl,-Bdynamic \
-l gthread-2.0
