CentOS下nginx+mono+fastcgi构建asp.net服务器笔记

尝试了下。

 

笔记

 

出现

./configure libgdiplus的时候出错

  
  
  
  
  1. checking for LIBEXIF... no 
  2. ./configure: line 13371: test: too many arguments  
  3. configure: error: "Failed to compile with X11/Xlib.h include.  You must fix your compiler paths" 
  4. [root@nginx libgdiplus-2.10.9]# make  
  5. make: *** 没有指明目标并且找不到 makefile。 停止。  

于是乎

 

  
  
  
  
  1. [root@nginx libgdiplus-2.10.9]# yum install libX11-devel 

 

  
  
  
  
  1.  
  2. Installed:  
  3.   libX11-devel.i386 0:1.0.3-11.el5_7.1  
  4.  
  5. Dependency Installed:  
  6.   libXau-devel.i386 0:1.0.1-3.1          libXdmcp-devel.i386 0:1.0.1-2.1  
  7.   mesa-libGL-devel.i386 0:6.5.1-7.10.el5 xorg-x11-proto-devel.i386 0:7.1-13.el5  
  8.  
  9. Dependency Updated:  
  10.   mesa-libGL.i386 0:6.5.1-7.10.el5  
  11.  
  12. Complete!  

 

再次./configure

报错

 

  
  
  
  
  1.  
  2. using CFLAGS:  
  3. -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  
  4.  
  5. configure: error: Cairo requires at least one font backend.  
  6.                   Please install freetype and fontconfig, then try again:  
  7.                   http://freetype.org/  http://fontconfig.org/  
  8.  
  9. configure: error: ./configure failed for cairo  

 

继续排错。

 

执行

 

 

  
  
  
  
  1. [root@nginx libgdiplus-2.10.9]# yum install fontconfig fontconfig-devel  
  2. [root@nginx libgdiplus-2.10.9]# yum install freetype freetype-devel

 

 

继续./confugure

 

 

  
  
  
  
  1. Configuration summary  
  2.  
  3.    * Installation prefix = /opt/mono  
  4.    * Cairo = 1.6.4 (internal)  
  5.    * Text = cairo  
  6.    * EXIF tags = No. Get it from http://libexif.sourceforge.net/  
  7.    * Codecs supported:  
  8.  
  9.       - TIFF: no (Get it from http://www.libtiff.org/)  
  10.       - JPEG: yes  
  11.       - GIF: no (See http://sourceforge.net/projects/libgif)  
  12.       - PNG: yes  
  13.  
  14.       NOTE: if any of the above say 'no' you may install the  
  15.             corresponding development packages for them, rerun  
  16.             autogen.sh to include them in the build.  
  17.  
  18. ---  

成功了。但是有几个no。可以去安装库来提供支持

 

  
  
  
  
  1. yum install libtiff libtiff-devel giflib giflib-devel libexif libexif-devel  

 

再次./configure

 

  
  
  
  
  1. ---  
  2. Configuration summary  
  3.  
  4.    * Installation prefix = /opt/mono  
  5.    * Cairo = 1.6.4 (internal)  
  6.    * Text = cairo  
  7.    * EXIF tags = yes  
  8.    * Codecs supported:  
  9.  
  10.       - TIFF: yes  
  11.       - JPEG: yes  
  12.       - GIF: yes  
  13.       - PNG: yes  
  14.  
  15.       NOTE: if any of the above say 'no' you may install the  
  16.             corresponding development packages for them, rerun  
  17.             autogen.sh to include them in the build.  
  18.  
  19. ---  

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(nginx,error,服务器,asp.net,休闲)