First , we will encounter with gettext not found error during the configure
of the gnu cash.
Step1: configure: error: GNU gettext tools not found; required for intltool
curl -O ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz
tar xzpf gettext-0.17.tar.gz
cd gettext-0.17
./configure
sudo make
sudo make install
Step2: configure: error: Could not find the pkg-config (or pkgconfig) program.
http://pkgconfig.darwinports.com/
在安装完DarwinMacPorts 的一个 镜像 MacPorts 软件之后,
1. 执行 sudo /opt/local/bin/port -d selfupdate
2. sudo /opt/local/bin/port install pkgconfig
Apple:~ Reinhard$ sudo /opt/local/bin/port install pkgconfig
---> Fetching pkgconfig
---> Attempting to fetch pkg-config-0.23.tar.gz from http://distfiles.macports.org/pkgconfig
---> Verifying checksum(s) for pkgconfig
---> Extracting pkgconfig
---> Configuring pkgconfig
---> Building pkgconfig
---> Staging pkgconfig into destroot
---> Installing pkgconfig @0.23_1
---> Activating pkgconfig @0.23_1
---> Cleaning pkgconfig
--确认安装路径
-- 修改PATH使得 pkg-config 位于搜索路径之中
Apple:~ Reinhard$ export PATH=$PATH:/opt/local/bin
Apple:~ Reinhard$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin
[无关参考 http://www.javaeye.com/topic/101665]
3. GLIB on Mac OS X
下载地址http://www.gtk-osx.org/
GTK2.14 Framework
放弃
没有评论:
发表评论