日期:2014-05-16  浏览次数:20820 次

艰难的LinuxCNC(EMC2)源代码安装依赖02

艰难的LinuxCNC(EMC2)源代码安装依赖02



GTK+-2.24.14 

http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.14.tar.xz

 ATK-2.6.0, Cairo-1.12.12, gdk-pixbuf-2.26.5, Pango-1.32.5 and Xorg Libraries  

hicolor-icon-theme-0.12

ATK-2.6.0

 http://ftp.gnome.org/pub/gnome/sources/atk/2.6/atk-2.6.0.tar.xz

GLib-2.34.3

GLib-2.34.3 

http://ftp.gnome.org/pub/gnome/sources/glib/2.34/glib-2.34.3.tar.xz
 Required

libffi-3.0.11, pkg-config-0.27.1 and Python-2.7.3 


libffi-3.0.11 

ftp://sourceware.org/pub/libffi/libffi-3.0.11.tar.gz

Required patch:  http://www.linuxfromscratch.org/patches/blfs/svn/libffi-3.0.11-includedir-1.patch


patch -Np1 -i ../libffi-3.0.11-includedir-1.patch &&
./configure --prefix=/usr/local &&
make

make install



pkg-config-0.27.1 

http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.1.tar.gz

./configure --prefix=/usr/local \
            --docdir=/usr/share/doc/pkg-config-0.27.1 \
            --with-internal-glib &&
make

make install


Python-2.7.3 

http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.xz
http://www.linuxfromscratch.org/patches/blfs/svn/Python-2.7.3-bsddb_fix-1.patch


Expat-2.1.0 

http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz

./configure --prefix=/usr/local &&
make

make install &&
install -v -m755 -d /usr/share/doc/expat-2.1.0 &&
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0


Python-2.7.3 

sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" setup.py &&
patch -Np1 -i ../Python-2.7.3-bsddb_fix-1.patch &&
./configure --prefix=/usr       \
            --enable-shared     \
            --with-system-expat \
            --with-system-ffi   \
            --enable-unicode=ucs4 &&
make
make install &&
chmod -v 755 /usr/local/lib/libpython2.7.so.1.0


PCRE-8.32 

http://downloads.sourceforge.net/pcre/pcre-8.32.tar.bz2

./configure --prefix=/usr                     \
            --docdir=/usr/share/doc/pcre-8.32 \
            --enable-utf                      \
            --enable-unicode-properties       \
            --enable-pcregrep-libz