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

前端之家收集整理的这篇文章主要介绍了艰难的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.5andXorgLibraries

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.1andPython-2.7.3


libffi-3.0.11

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

requiredpatch: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

makeinstall



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

makeinstall


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

makeinstall&&
install-v-m755-d/usr/share/doc/expat-2.1.0&&
install-v-m644doc/*.{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
makeinstall&&
chmod-v755/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\
--enable-pcregrep-libbz2\
--disable-static&&
make

makeinstall&&
mv-v/usr/local/lib/libpcre.so.*/lib&&
ln-sfv../../lib/libpcre.so.1.2.0/usr/lib/libpcre.so

GLib-2.34.3

./configure--prefix=/usr/local--with-pcre=system&&
make

makeinstall


ATK-2.6.0

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

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

makeinstall


安装的过程中如果找不到glib-2.0,配置环境#exportLD_LIBRARY_PATH=/usr/local/lib

Cairo-1.12.12

http://cairographics.org/releases/cairo-1.12.12.tar.xz


libpng-1.5.13,GLib-2.34.3andPixman-0.28.2
Recommended

Fontconfig-2.10.2andXorgLibraries


libpng-1.5.13

http://downloads.sourceforge.net/libpng/libpng-1.5.13.tar.xz


START=$(awk'/@/'scripts/symbols.def|sort-k2.3n|tail-1|cut-d"@"-f2)&&
awk-vv="$START"'/^PNG(_.+)?_EXPORTA?\(/{gsub(/PNG(_.+)?_EXPORTA?\(/,"");gsub(/,/,"");\
if($1>v)print$3"@"$1}'png.h|sort-k2.3n>>scripts/symbols.def


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

makeinstall&&
mkdir/usr/share/doc/libpng-1.5.13&&
cpREADMElibpng-manual.txt/usr/share/doc/libpng-1.5.13



Pixman-0.28.2


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

makeinstall

Fontconfig-2.10.2

http://fontconfig.org/release/fontconfig-2.10.2.tar.bz2

FreeType-2.4.11andeitherexpat-2.1.0orlibxml2-2.9.0



FreeType-2.4.11

http://downloads.sourceforge.net/freetype/freetype-2.4.11.tar.bz2


sed-i-r's:.*(#.*SUBPIXEL.*).*:\1:'\
include/freetype/config/ftoption.h&&
./configure--prefix=/usr--disable-static&&
make

makeinstall


libxml2-2.9.0

http://xmlsoft.org/sources/libxml2-2.9.0.tar.gz

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

makeinstall



Fontconfig-2.10.2


./configure--prefix=/usr/local\
--sysconfdir=/etc\
--localstatedir=/var\
--docdir=/usr/local/share/doc/fontconfig-2.10.2\
--disable-docs\
--disable-static&&
make

makeinstall

install-v-dm755\
/usr/share/{man/man{3,5},doc/fontconfig-2.10.2/fontconfig-devel}&&
install-v-m644fc-*/*.1/usr/share/man/man1&&
install-v-m644doc/*.3/usr/share/man/man3&&
install-v-m644doc/fonts-conf.5/usr/share/man/man5&&
install-v-m644doc/fontconfig-devel/*\
/usr/share/doc/fontconfig-2.10.2/fontconfig-devel&&
install-v-m644doc/*.{pdf,sgml,txt,html}\
/usr/share/doc/fontconfig-2.10.2




Cairo-1.12.12


./configure--prefix=/usr\
--enable-tee\
--enable-xcb\
--disable-static&&
make


makeinstall


gdk-pixbuf-2.26.5

http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.26/gdk-pixbuf-2.26.5.tar.xz

GLib-2.34.3,libjpeg-turbo-1.2.1,libpng-1.5.13andLibTIFF-4.0.3



libjpeg-turbo-1.2.1

http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-1.2.1.tar.gz

NASM-2.10.07

http://www.nasm.us/pub/nasm/releasebuilds/2.10.07/nasm-2.10.07.tar.xz

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

makeinstall

libjpeg-turbo-1.2.1

./configure--prefix=/usr/local\
--mandir=/usr/local/share/man\
--with-jpeg8\
--disable-static&&
make

docsdir=/usr/local/share/doc/libjpeg-turbo-1.2.1&&
makedocdir=$docsdirexampledir=$docsdirinstall&&
unsetdocsdir




LibTIFF-4.0.3


http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz

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

makeinstall

gdk-pixbuf-2.26.5


./configure--prefix=/usr--with-x11&&
make

makeinstall


Pango-1.32.5

http://ftp.gnome.org/pub/gnome/sources/pango/1.32/pango-1.32.5.tar.xz
PangoxCompat
http://ftp.gnome.org/pub/gnome/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz

Cairo-1.12.12,Harfbuzz-0.9.9andXorgLibraries


Harfbuzz-0.9.9
http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.9.tar.bz2

ICU-50.1.2
http://download.icu-project.org/files/icu4c/50.1.2/icu4c-50_1_2-src.tgz

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

makeinstall

Harfbuzz-0.9.9

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

makeinstall



Pango-1.32.5

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

makeinstall

PangoxCompat

./configure--prefix=/usr/local\
--sysconfdir=/etc\
--disable-static&&
make

makeinstall


hicolor-icon-theme-0.12

http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.12.tar.gz


./configure--prefix=/usr

makeinstall


GTK+-2.24.14

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

tar-Jxvvfgtk+-2.24.14.tar.xz
cdgtk*

sed-i's#l\(gtk-.*\).sgml#&-o\1#'docs/{faq,tutorial}/Makefile.in&&
sed-i's#.*@man_#man_#'docs/reference/gtk/Makefile.in&&
./configure--prefix=/usr--sysconfdir=/etc&&
make

makeinstall

安装的过程中如果找不到glib-2.0,配置环境#exportLD_LIBRARY_PATH=/usr/local/lib

ConfiguringGTK+2

cat>~/.gtkrc-2.0<<"EOF"
include"/usr/share/themes/Glider/gtk-2.0/gtkrc"
gtk-icon-theme-name="hicolor"
EOF





cat>/etc/gtk-2.0/gtkrc<<"EOF"
include"/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"
gtk-icon-theme-name="elementary"
EOF


GTK+2到此安装完成,可以安装mesalib了!

原文链接:https://www.f2er.com/javaschema/286418.html

猜你在找的设计模式相关文章