还在苦苦敲代码开发APP?你out啦! 试试积木搭建APP吧~

Linux编译安装软件configure参数(持续更新)

来源:清泛原创     2015-08-26 09:50:52    人气:     我有话说( 0 人参与)

PHP configure参数,Squid configure参数,MySQL configure参数,Postfix configure参数,Courier configure参数,Sasl2 configure参数 等。

PHP configure参数:
./configure --prefix=/usr/local/php --with-gd=/usr/local/gd --with-jpeg-dir=/usr/local/jpeg --with-png-dir=/usr/local/png --with-freetype-dir=/usr/local/freetype \
--with-mysql=/opt/tfdata/mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-pdo-mysql \
--with-config-file-path=/usr/local/php --with-zlib=/usr --enable-mbstring --disable-fileinfo
Squid configure参数
./configure --prefix=/usr/local/squid --sysconfdir=/usr/local/squid/etc --bindir=/usr/local/squid/bin \
--sbindir=/usr/local/squid/sbin --mandir=/usr/local/squid/share/man --enable-gnuregex --enable-carp \
--enable-async-io=80 --enable-removal-policies=heap,lru --enable-icmp --enable-delay-pools --enable-useragent-log \
--enable-referer-log --enable-kill-parent-hack --enable-snmp --enable-arp-acl --enable-htcp --enable-cache-digests \
--enable-default-err-language=Simplify_Chinese --enable-err-languages="Simplify_Chinese" --enable-poll \
--enable-linux-netfilter --disable-ident-lookups --enable-underscores \
--enable-auth --enable-basic-auth-helpers="NCSA" --enable-x-accelerator-vary --with-included-ltdl
MySQL configure参数
cmake . \
-DCMAKE_INSTALL_PREFIX=/opt/tfdata/mysql \
-DMYSQL_DATADIR=/opt/tfdata/mysql/data \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DMYSQL_TCP_PORT=3306 \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci \
-DMYSQL_UNIX_ADDR=/tmp/mysql.sock \
-DMYSQL_USER=mysql \
-DWITH_DEBUG=0
Postfix configure参数:
make makefiles 'CCARGS=-DHAS_MYSQL -I/opt/tfdata/mysql/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/local/include/sasl/ \
-DUSE_TLS ' 'AUXLIBS=-L/opt/tfdata/mysql/lib -lmysqlclient -lz -lm -L/usr/local/lib/sasl2/ -lsasl2  -lssl -lcrypto'
Courier configure参数:
./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --without-authpam --without-authshadow --without-authvchkpw --without-authpgsql --with-authmysql --with-mysql-libs=/opt/tfdata/mysql/lib --with-mysql-includes=/opt/tfdata/mysql/include --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc --with-ltdl-lib=/usr/lib --with-ltdl-include=/usr/include
Sasl2 configure参数:
./configure --disable-anon --enable-login --enable-plain --enable-sql --with-mysql=/opt/tfdata/mysql --with-mysql-includes=/opt/tfdata/mysql/include \
--with-mysql-libs=/opt/tfdata/mysql/lib --enable-sample --with-plugindir=/usr/local/lib/sasl2

编译安装 configure 参数

注:本文为本站或本站会员原创优质内容,版权属于原作者及清泛网所有,
欢迎转载,转载时须注明版权并添加来源链接,谢谢合作! (编辑:admin)
分享到: