Results tagged “ports” from 清茶 Blog

portinstall ports.conf portupgrade

|

安装 /usr/ports/ports-mgmt/portconf/

会在/usr/local/etc/下创建 ports.conf 文件

在文件内写上make 参数,如 mysql

cat /usr/local/etc/ports.conf
databases/mysql*-server: BUILD_OPTIMIZED=yes|WITH_XCHARSET=all|BUILD_STATIC=yes

安装 portinstall databases/mysql50-server

ports的安装方法

cd /usr/ports/databases/mysql50-server/

make install clean && rehash

具体编译参数在ports.conf 里定义好就可以了,之后使用portupgrade更新起来,也不会出错了

 

已经三天了........

|
===> php5-5.1.6_1 has known vulnerabilities: => php -- open_basedir Race Condition Vulnerability. Reference: http://www.FreeBSD.org/ports/portaudit/edabe438-542f-11db-a5ae-00508d6a62df.html => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/lang/php5. 装代理服务器,想lighttpd+php结合做个WE管理类的东西,不想php这个竟装不了......... 就我知道到现已经三天了 天天用cvsup.freebsd.org 来更新ports