- 论坛徽章:
- 0
|
我刚装的FreeBSD7,cvsup后变成了freeBSD current8.0,然后apache22下make install失败,信息提示大概是apr的问题。看了看apache手册和google,照猫画虎的操作:
# 编译和安装 apr 1.2
cd srclib/apr
./configure --prefix=/usr/local/apr-httpd/
make
make install
# 编译和安装 apr-util 1.2
cd ../apr-util
./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/
make
make install
# 配置 httpd
cd ../../
./configure --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/
依然错误。
再看看ports/UPDATING,发现有如下提示:
2008-06-22
Affects: users of devel/subversion, subversion-devel and subversion-freebsd
with apr from www/apache22
Author: Clement Laforet <clement@FreeBSD.org>
Reason:
apr and apr-util bundled with apache 2.2.9 have been upgraded to 1.3.x, so
shared libraries' versions have been bumped. If you are using subversion
with apache22 apr, you must rebuild subversion after the update.
于是到devel/subversion下make install,还是错误:
……===> Returning to build of subversion-1.5.2
===> subversion-1.5.2 depends on shared library: serf-0.0 - not found
===> Verifying install for serf-0.0 in /usr/ports/www/serf
===> Vulnerability check disabled, database not found
=> serf-0.2.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://serf.googlecode.com/files/.
serf-0.2.0.tar.bz2 100% of 134 kB 91 kBps
===> Extracting for serf-0.2.0
=> MD5 Checksum OK for serf-0.2.0.tar.bz2.
=> SHA256 Checksum OK for serf-0.2.0.tar.bz2.
===> Patching for serf-0.2.0
===> serf-0.2.0 depends on executable: gmake - found
===> serf-0.2.0 depends on shared library: apr - found
===> Configuring for serf-0.2.0
checking for chosen layout... Serf
checking for working mkdir -p... yes
checking build system type... i386-portbld-freebsd8.0
checking host system type... i386-portbld-freebsd8.0
checking target system type... i386-portbld-freebsd8.0
Configuring Apache Portable Runtime library...
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
===> Script "configure" failed unexpectedly.
Please report the problem to rodrigc@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/serf/work/serf-0.2.0/config.log" including the output of the
failure of your make command. Also, it might be a good idea to provide an
overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/www/serf.
*** Error code 1
Stop in /usr/ports/devel/subversion.
*** Error code 1
Stop in /usr/ports/devel/subversion.
好像还是和APR有关的错误,我头都大了。
再看看ports/UPDATING,和devel/subversion相关的还有如下信息:
2008-07-01
Affects: users of devel/subversion*
Author: Lev Serebryakov <lev@FreeBSD.org>
Reason:
subversion now uses neon-0.28.x (www/neon2 port, and automatic
portupgrade will fail because www/neon28 will conflict with installed
www/neon26 port.
You should upgrade neon library before subversion with the command:
# portupgrade -o www/neon28 neon26
Also, if you use any special subversion ports with bindings, you
should upgrade these ports to clean subversion port with
# portupgrade -o devel/subversion subversion-\*
and install needed bindings (p5-subversion, py-subversion and/or
ruby-subversion) after that.
If you use subversion with bindings installed from devel/subversion
with custom options, don't forget to install separate bindings ports
after subversion upgrade.
看了半天没看懂,因此没敢操作。
我的E文太烂,对BSD更是不熟悉,请过来人指点迷津,不胜感谢。
[ 本帖最后由 iamrch 于 2008-10-6 16:39 编辑 ] |
|