编译 php 5.3.0 通过 

突然想要升级到php5.3.0版本,于是马上行动了

下载tar.gz包,解压

我的configure:

[root@linuxserver php-5.3.0]# ./configure --prefix=/usr/local/PHP --enable-mod-charset --enable-embed --with-apxs2=/usr/local/apache/bin/apxs --enable-sigchild --enable-libgcc --enable-fd-setsize=1024 --with-openssl --with-kerberos --with-zlib --with-bz2 --enable-calendar --with-curl --with-curlwrappers --enable-dba --enable-exif --enable-ftp --with-gd --enable-gd-native-ttf --with-imap --with-mhash --with-imap-ssl --enable-intl --enable-mbstring --with-icu-dir=/usr/local/ICU/ --with-ldap --with-mcrypt --with-mysql=/usr/local/mysql --with-mysqli --enable-embedded-mysqli --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx --with-xmlrpc --enable-zip --enable-maintainer-zts

一开始加了一些自己都不清楚的组件,如litespeed,

./configure 可以通过,make也没问题,但是一旦make install 就挂了.遇到了一个大家公共的问题

chmod: failed to get attributes of `/usr/local/apache/modules/libphp5.so': No such file or directory apxs:
Error: Command failed with rc=65536 .
make: *** [install-sapi] Error 1


后来删掉了一些参数,便通过了.

还有如果要使用phpmyadmin 3.2.0后的新版本,一定要加上 mbstring,mcrypt 支持.
[ ] ( 3209 次浏览 ) 永久链接 ( 3 / 2447 )
成功编译 apache 2.2.12 

有人一定觉得奇怪,apache 现在的最高版本才是2.2.11,怎么我就编译了2.2.12呢 呵呵

其实这是dev版,不过很快就要正式了。

下面是我的./configure

[root@linuxserver usr]# ./configure --prefix=/usr/local/apache --enable-modules="all" --enable-charset-lite --enable-proxy --enable-ssl --enable-http --enable-dav --enable-info --enable-cgi --enable-cgid --enable-dav-fs --enable-dav-lock --enable-vhost-alias --enable-rewrite --enable-so --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util

过程中基本没有什么难度,就是 apr(Apache Portable Runtime Util)让我郁闷了一下,不过安装一下就可以通过了.

本来是打算安装mod_dav-1.0.3-1.3.6.tar.gz的,不过无论是
./configure --with-apxs=/usr/local/apache/bin/apxs
还是
./configure --with-apache=/usr/local/apache
都报
the APXS installation may be broken
这个错.

让我去http://www.webdav.org/mod_dav/install.html找原因.
索性不装了,好在发现apache集成了这个,呵呵
[ ] ( 4074 次浏览 ) 永久链接 ( 3 / 2472 )
成功编译 mplayer 1.0 rc2 

本来我的mplayer是用ubuntu-tweak安装的,最近突然想要自己编译安装,于是就动手了。

我的configure:
./configure --prefix=/usr/local/mplayer --enable-gui --enable-largefiles --enable-linux-devfs --enable-radio --enable-radio-capture --enable-xvmc --enable-dynamic-plugins --disable-ivtv

缺什么lib就apt-get 一下.

make的时候如果出现
undefined reference to `video_out_ivtv' collect2: ld returned 1 exit status
的时候,
解决方法是 找到源代码文件夹下的libvo文件夹里的video_out.c 文件,找到

extern vo_functions_t video_out_dxr3; 这行

改写成
#ifdef HAVE_DXR3
extern vo_functions_t video_out_dxr3;
#endif
即可通过编译.
[ ] ( 2642 次浏览 ) 永久链接 ( 3 / 2918 )
编译通过 VLC media player 1.0.0 Goldeneye 正式版 

前几天刚编译好vlc 1.0.0 rc4,昨天又发布正式版

于是又赶紧跟上了

$ ./configure prefix=/usr/local/vlc --enable-debug --enable-release --enable-switcher --enable-dc1394 --enable-dv --enable-dvdread --enable-opencv --enable-v4l --enable-pvr --enable-gnomevfs --enable-cddax --enable-vcdx --enable-id3tag --enable-real --enable-realrtsp

本来想加上--enable-mozilla --with-mozilla-sdk-path=/usr/include/seamonkey 以安装firefox 插件的,不过由于种种问题,不得不放弃...

## --------- ##
## Platform. ##
## --------- ##

hostname = sharljimhtsin-laptop
uname -m = i686
uname -r = 2.6.28-11-generic
uname -s = Linux
uname -v = #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009

不过vlc 看dvd还是不错的,最近在看仙剑三,哈哈





关于 vlc 截图


[ ] ( 3585 次浏览 ) 永久链接 ( 3 / 2978 )
成功编译dosbox 0.73 哈哈 

终于把我心爱的dosbox 从win移植到linux啦 哈哈
不过第一次编译的确有点麻烦,但是仙剑的快乐是无与伦比的






[ ] ( 2487 次浏览 ) 永久链接 ( 3 / 2842 )

<< <上一页 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 下一页> >>