Bitcointalk

*** ALERT *** Upgrade to 0.3.6

中本聪 · 2010 年 7 月 30 日

SN-1780 已核对来源,附原文与上下文。

阅读语言
其他参与者原话knightmb原帖 ↗

我只能想象你做出这些构建经历了怎样的痛苦,因为我正试着在一台 Ubuntu 9.04 的机器上编译这个程序,到现在为止不管装多少包、编多少源码,都凑不齐依赖,哈哈。

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.

中本聪回应

我不理解你怎么会这么痛苦。我就是照着 build-unix.txt 的说明做的。我为 Boost 1.37 做了两处小修正,下次更新 SVN 时会放上去,附在下面:

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

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

ldconfig

在 makefile.unix 里加了一条注释:

added a comment in makefile.unix:

# for boost 1.37, add -mt to the boost libraries

# for boost 1.37, add -mt to the boost libraries

LIBS= \

LIBS= \

-Wl,-Bstatic \

-Wl,-Bstatic \

-l boost_system \

-l boost_system \

-l boost_filesystem \

-l boost_filesystem \

-l boost_program_options \

-l boost_program_options \

-l boost_thread \

-l boost_thread \

-l db_cxx \

-l db_cxx \

-l crypto \

-l crypto \

-Wl,-Bdynamic \

-Wl,-Bdynamic \

-l gthread-2.0

-l gthread-2.0

来源
Bitcointalk 原始链接 ↗ 记录编号 SN-1780

阅读字号

选择适合你的字号,之后阅读会继续使用。