回复:*** 警报 *** 请尽快升级到 0.3.6!
原始发布页
打开来源页面查看 1 个交叉存档
引用 knightmb 于 2010 年 7 月 30 日 07:24:07 PM 的发言
我只能想象你为了完成这些构建经历了多少痛苦,因为我正尝试在一台 Ubuntu 9.04 机器上构建这个程序,而到目前为止,无论我不断安装多少软件包、编译多少源码,似乎还是找不齐编译所需的全部依赖,哈哈。
我不明白你为什么会这么痛苦。我只是照着 build-unix.txt 中的说明做了。我针对 Boost 1.37 做了几处小修正,下次更新时会把它们放到 SVN 上,具体如下:
依赖项 ------------ 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(或者 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 中添加了一条注释:
# 对于 boost 1.37,在 boost 库名后加上 -mt 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
英文原文
展开英文原文
Quote from: knightmb on July 30, 2010, 07:24:07 PM
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