嘗試了下。nginx
筆記sql
出現ide
./configure libgdiplus的時候出錯oop
- checking for LIBEXIF... no
- ./configure: line 13371: test: too many arguments
- configure: error: "Failed to compile with X11/Xlib.h include. You must fix your compiler paths"
- [root@nginx libgdiplus-2.10.9]# make
- make: *** 沒有指明目標而且找不到 makefile。 中止。
因而乎ui
- [root@nginx libgdiplus-2.10.9]# yum install libX11-devel
- Installed:
- libX11-devel.i386 0:1.0.3-11.el5_7.1
- Dependency Installed:
- libXau-devel.i386 0:1.0.1-3.1 libXdmcp-devel.i386 0:1.0.1-2.1
- mesa-libGL-devel.i386 0:6.5.1-7.10.el5 xorg-x11-proto-devel.i386 0:7.1-13.el5
- Dependency Updated:
- mesa-libGL.i386 0:6.5.1-7.10.el5
- Complete!
再次./configurespa
報錯.net
- using CFLAGS:
- -I$(top_srcdir)/../pixman/pixman -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -fno-strict-aliasing
- configure: error: Cairo requires at least one font backend.
- Please install freetype and fontconfig, then try again:
- http://freetype.org/ http://fontconfig.org/
- configure: error: ./configure failed for cairo
繼續排錯。prototype
執行orm
- [root@nginx libgdiplus-2.10.9]# yum install fontconfig fontconfig-devel
- [root@nginx libgdiplus-2.10.9]# yum install freetype freetype-devel
繼續./confugureip
- Configuration summary
- * Installation prefix = /opt/mono
- * Cairo = 1.6.4 (internal)
- * Text = cairo
- * EXIF tags = No. Get it from http://libexif.sourceforge.net/
- * Codecs supported:
- - TIFF: no (Get it from http://www.libtiff.org/)
- - JPEG: yes
- - GIF: no (See http://sourceforge.net/projects/libgif)
- - PNG: yes
- NOTE: if any of the above say 'no' you may install the
- corresponding development packages for them, rerun
- autogen.sh to include them in the build.
- ---
成功了。可是有幾個no。能夠去安裝庫來提供支持
- yum install libtiff libtiff-devel giflib giflib-devel libexif libexif-devel
再次./configure
- ---
- Configuration summary
- * Installation prefix = /opt/mono
- * Cairo = 1.6.4 (internal)
- * Text = cairo
- * EXIF tags = yes
- * Codecs supported:
- - TIFF: yes
- - JPEG: yes
- - GIF: yes
- - PNG: yes
- NOTE: if any of the above say 'no' you may install the
- corresponding development packages for them, rerun
- autogen.sh to include them in the build.
- ---