由于要配合nginx使用php-fpm,于是自己编译php-5.3.8。 在make的时候出现如下错误: ext/iconv/iconv.c:615: undefined reference to `iconv’ google了一下,说是在make的时候要加上参数 EXTRA_CFLAGS=-liconv,或者是修改Makefile,但是依然不行。 最后,删除config.cache, 运行make clean,加上“–with-iconv=/usr/local”参数重新configure,然后make && make install 成功。 configure参数如下,仅供参考: ./configure’ ‘–enable-fpm’ ‘–with-fpm-user=_nginx’ ‘–with-fpm-group=_nginx’ \ ‘–enable-mbstring’ ‘–with-mysqli’ ‘–with-mysql’ ‘–with-pdo-mysql’ ‘–with–openssl’ \ ‘–with-curl’ ‘–with-xsl’ ‘–enable-mbstring’ ‘–with-zlib’ ‘–with-bz2’ ‘–with-mhash’ \ ‘–with-mcrypt’ ‘–with-iconv=/usr/local’ 2011/11/29 更新:目前已经有php-fpm软件包,无需自己编译了。
cd /usr/src/ pkg_add -v ruby-1.8 ftp http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz tar xzf flvtool2-1.0.6.tgz cd flvtool2-1.0.6 ruby setup.rb config ruby setup.rb setup ruby setup.rb install cd ..
http://www.datadisk.co.uk/html_docs/veritas/veritas_cluster_cs.htm VCS uses two components, LLT and GAB to share data over the private networks among systems. These components provide the performance and reliability required by VCS. LLT LLT (Low Latency Transport) provides fast, kernel-to-kernel comms and monitors network connections….
http://www.bakercomputeranddata.com/doc/misc/veritas_vcs_llt_trblsht – Ensure that /etc/llthosts are the same on all nodes. If not fix, restart. (See 233032). – Ensure that /etc/llttab is the same except the “set-node” line. – Ensure that “eeprom local-mac-address?” is true. Later trouble shooting, and performance…
git clone git://git.videolan.org/ffmpeg.git cd ffmpeg ./configure –enable-gpl –enable-version3 –enable-nonfree –enable-postproc \ –enable-libfaac –enable-libmp3lame –enable-libopencore-amrnb \ –enable-libopencore-amrwb –enable-libtheora –enable-libvorbis \ –enable-libvpx –enable-libx264 –enable-libxvid –enable-x11grab (上面的参数需要预先安装相应的codec/Library。或者直接运行./configure) make make tools/qt-faststart cp -a tools/qt-faststart /usr/local/bin/
在OpenBSD 5.0-current上编译libfaac的时候出现如下问题 [root@cactus /usr/src/faac-1.28]# ./bootstrap Provide an AUTOMAKE_VERSION environment variable, please Provide an AUTOCONF_VERSION environment variable, please Provide an AUTOMAKE_VERSION environment variable, please Provide an AUTOCONF_VERSION environment variable, please 检查一下automake和autoconf的版本: [root@cactus /usr/src/faac-1.28]# pkg_info | grep auto autoconf-2.59p3 automatically configure…
我学习cat命令的源码及注释。 /* $OpenBSD: cat.c,v 1.20 2009/10/27 23:59:19 deraadt Exp $ */ /* $NetBSD: cat.c,v 1.11 1995/09/07 06:12:54 jtc Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * *…
更新: 还有一个更正的注释版本,里面有流程图,不适合这里展示。放在网盘上供大家下载: https://pan.baidu.com/s/1jGQGifs /* copy right info removed due to display issues – Nov. 2011 */ .file “mbr.S” #include #include /* * Memory layout: * * 0x07C00 -> 0x07DFF BIOS loads us here (at 31k) * 0x07E00 -> 0x17BFC our…
Joyent 公司于今天8月15号推出了基于illumous操作系统的SmartOS,并且将Linux的KVM功能移植到此操作系统上。 此操作系统专为云计算而来,它建议使用Live CD启动而非传统的硬盘安装。将此系统启动后,然后安装虚拟机,所有的应用或功能都建议在虚拟机中完成。 当然,作为一个全新的操作系统,还需要市场及大规模部署的检验。 http://smartos.org