蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 系统管理


    

蓝森林 http://www.lslnet.com 2006年4月6日 20:18


安装OPENWEBMAIL的问题

问题如下:

ahzz# make install clean
\===>  Installing for openwebmail-2.51
===>   openwebmail-2.51 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Text/Iconv.pm - found
===>   openwebmail-2.51 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/MIME/Base64.pm - found
===>   openwebmail-2.51 depends on file: /usr/local/lib/perl5/site_perl/5.005/CGI.pm - found
===>   openwebmail-2.51 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Digest/MD5.pm - found
===>   openwebmail-2.51 depends on file: /usr/local/lib/perl5/site_perl/5.005/Net/SMTP.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.005/Net/SMTP.pm in /usr/ports/net/p5-Net
===>  Installing for p5-Net-1.19,1
===>   p5-Net-1.19,1 depends on file: /usr/local/lib/perl5/site_perl/5.005/Authen/SASL.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.005/Authen/SASL.pm in /usr/ports/security/p5-Authen-SASL
===>  p5-Authen-SASL-2.8_1 requires perl 5.6.0 or later. Install lang/perl5.8 and try again.
*** Error code 1

Stop in /usr/ports/security/p5-Authen-SASL.
*** Error code 1

Stop in /usr/ports/net/p5-Net.
*** Error code 1

Stop in /usr/ports/mail/openwebmail.

perl 5.6.0 or later. Install lang/perl5.8 and try again

perl5.8  我安装的是最新的

hzz# pkg_info
XFree86-libraries-4.3.0_7 XFree86-4 libraries and headers
apache-2.0.55_4     Version 2 of Apache web server with prefork MPM.
autoconf-2.59_2     Automatically configure source code on many Un*x platforms
cvsup-16.1h         General network file distribution system optimized for CVS
expat-2.0.0_1       XML 1.0 parser written in C
fontconfig-2.2.2,1  An XML-based font configuration API for X Windows
freetype2-2.1.7_3   A free and portable TrueType font rendering engine
gettext-0.14.5_2    GNU gettext package
gmake-3.80_2        GNU version of 'make' utility
help2man-1.36.3     Automatically generating simple manual pages from program o
imake-4.3.0_2       Imake and other utilities from XFree86
jpeg-6b_2           IJG's jpeg compression utilities
libiconv-1.9.1_3    A character set conversion library
libtool-1.5.22_2    Generic shared library support script
links-2.1.p14,1     Lynx-like text WWW browser
m4-1.4.4            GNU m4
openssl-0.9.8a      SSL and crypto library
p5-CGI.pm-3.17,1    Simple Common Gateway Interface Class for Perl
p5-Digest-1.15      Modules that calculate message digests
p5-Digest-MD5-2.36  Perl5 interface to the MD5 algorithm
p5-MIME-Base64-3.07 Perl5 module for Base64 and Quoted-Printable encodings
p5-PathTools-3.17   A Perl module for portably manipulating file specifications
p5-Scalar-List-Utils-1.18,1 Perl subroutines that would be nice to have in the perl cor
p5-Text-Iconv-1.4   Perl interface to iconv() codeset conversion function
p5-XSLoader-0.06    Dynamically load C libraries into Perl code
p5-gettext-1.05_1   Message handling functions
pcre-4.5            Perl Compatible Regular Expressions library
perl-5.8.8          Practical Extraction and Report Language
pkg_install-20060113 FreeBSD -CURRENT version of the pkg tools for older system
pkgconfig-0.15.0_1  A utility used to retrieve information about installed libr
png-1.2.5_3         Library for manipulating PNG images
postfix-2.0.19,1    A secure alternative to widely-used Sendmail
qpopper-4.0.8       Berkeley POP 3 server (now maintained by Qualcomm)
rc_subr-1.16        Common startup and shutdown subroutines used by scripts
stunnel-4.14_2      SSL encryption wrapper for standard network daemons
tiff-3.6.1_1        Tools and library routines for working with TIFF images

先装 /usr/ports/security/p5-Authen-SASL 试试

[quote]原帖由 [i]gvim[/i] 于 2006-4-1 21:36 发表
先装 /usr/ports/security/p5-Authen-SASL 试试 [/quote]

我也试了
并且进行了一次cvsup
hzz# pwd
/usr/ports/security/p5-Authen-SASL
ahzz# ll
total 8
-rw-r--r--  1 root  wheel  1178 Apr  1 20:36 Makefile
-rw-r--r--  1 root  wheel   202 Apr  1 20:35 distinfo
-rw-r--r--  1 root  wheel   223 Mar 31 11:44 pkg-descr
-rw-r--r--  1 root  wheel   759 Mar 31 11:44 pkg-plist
ahzz# make install clean
===>  p5-Authen-SASL-2.8_1 requires perl 5.6.0 or later. Install lang/perl5.8 and try again.
*** Error code 1

Stop in /usr/ports/security/p5-Authen-SASL.


真晕,还是 perl的问题呀


晕。等congli来了你问问他,他经验比我丰富 :)

[quote]原帖由 [i]gvim[/i] 于 2006-4-1 21:54 发表
晕。等congli来了你问问他,他经验比我丰富 :) [/quote]
晕:oops::oops:
cat /etc/make.conf看看

/etc下没有make.conf这个文件

没有?不应该没有.
重新安装perl-5.8.8

[quote]原帖由 [i]congli[/i] 于 2006-4-1 22:28 发表
没有?不应该没有.
重新安装perl-5.8.8 [/quote]

我装了N遍了

装了卸,卸了装

还是同样的问题

估计你的perl安装有问题,或者将下面两行加到/etc/make.conf
[code]PERL_VER=5.8.8
PERL_VERSION=5.8.8[/code]

我快伤心死了

以前安装没有任何问题,都是相同的版本

[quote]原帖由 [i]congli[/i] 于 2006-4-1 22:32 发表
估计你的perl安装有问题,或者将下面两行加到/etc/make.conf
[code]PERL_VER=5.8.8
PERL_VERSION=5.8.8[/code] [/quote]


啥意思阿
强制定义 perl的版本???

[quote]原帖由 [i]ztsstz[/i] 于 2006-4-1 22:34 发表



啥意思阿
强制定义 perl的版本??? [/quote]
本来用ports安装后,自动会加上.
所以才说你系统不应该没有/etc/make.conf.
莫非你安装的用户不是root :em14:

[quote]原帖由 [i]congli[/i] 于 2006-4-1 22:36 发表

本来用ports安装后,自动会加上.
所以才说你系统不应该没有/etc/make.conf.
莫非你安装的用户不是root :em14: [/quote]

不可能,我一直都用ROOT用户来工作的

按照你的指示我已经添加了那两行
但是,结果还是令我很失望,相同的问题

我没折了

那就是证明你的perl安装有问题.
试试:
portupgrade -fR perl

我现在把PERL卸了重装,不知道行不行

观音菩萨保佑,
上帝保佑



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com