现在要在一台系统11.11的hp-unix主机上安装php和一些如
gd 2.0.28.tar.gz
zlib.1.2.3.tar.gz
automake.1.9.tar.gz
autoconf.2.59.tar.gz
m4.1.4.3.tar.gz
libtool.1.5.tar.gz
libiconv.1.8.tar.gz
jpegsrc.v6b.tar.gz
libpng.1.2.5.tar.gz
freetype.2.1.10.tar.gz
的功能库。先安装的是这些功能库,只有在装gd时遇到了问题,无论如何都装不上,找了个办法,在CONFIGURE的时候用了./configure --diable-shared才算勉强装上了gd.但是后面在装PHP的时候问题来了.
在configure顺利通过make的时候警告如下:
*** Warning: This system can not link to static lib archive /usr/local b bgd.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create 
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.但还是过了,最后显示:Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).  最后make install的时候报错如下:Installing PHP SAPI module:       embed
cp: cannot access libs bphp5.sl: No such file or directory这个问题已经困扰了我几天了,望各位大虾帮帮小弟。先谢过了。