免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2480 | 回复: 4
打印 上一主题 下一主题

"Disk Space End"是什么意思? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-27 14:28 |只看该作者 |倒序浏览
我在从源代码安装mcrypt-2.6.5时,收到系统邮件:

...
checking for libmcrypt-config... /usr/local/lib/libmcrypt/bin/libmcrypt-config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** libmcrypt was not found
[root@pzy-vm mcrypt-2.6.5]# echo $LIBMCRYPT


You have new mail in /var/spool/mail/root
[root@pzy-vm mcrypt-2.6.5]# tail /var/spool/mail/root
/dev/sda1              99M   12M   83M  13% /boot


---------------------- Disk Space End -------------------------


###################### Logwatch End #########################



[root@pzy-vm mcrypt-2.6.5]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      6.9G  2.2G  4.4G  34% /
/dev/sda1              99M   12M   83M  13% /boot
tmpfs                 197M     0  197M   0% /dev/shm

[root@pzy-vm mcrypt-2.6.5]# cat /proc/version
Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc2-3.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Oct 10 16:34:02 EDT 2007

~~~~~~~~~~~~~~~

请问:

1) 邮件中的"Disk Space End"是什么意思?
2) 我已经安装了libmcrypt-2.5.7,为什么在configure mcrypt时,会
    checking for libmcrypt - version >= 2.5.0... no
   ?
3) 我在从源代码安装libmcrypt-2.5.7时,如果不在configure时指定prefix,则安装结束后,/usr/local/lib/libmcrypt 是空的;如果指定 --prefix=/usr/local/lib/libmcrypt,则安装结束后才会有
bin  include  lib  man  share。为什么必须指定prefix?

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
2 [报告]
发表于 2009-02-27 14:34 |只看该作者
--prefix是指定你安装时的目录,不指定一般默认是/usr/local下
Fedora下的默认是使用/usr下的
如果你安装了libmcrypt-2.5.7
你需要指定他的lib,,,include的路径,这样就不会提示错误了
详细参考./configure --help

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
3 [报告]
发表于 2009-02-27 14:34 |只看该作者
那个DISK-END应该是是提示你的信息结束吧?可能是
他提示你有mail,你只要用root输入mail就可以了

论坛徽章:
0
4 [报告]
发表于 2009-02-27 14:58 |只看该作者
我在 configure mcrypt 时确实指定了 libmcrypt 的路径:

    # ./configure --with-libmcrypt-prefix=/usr/local/lib/libmcrypt

如果不带 --with-libmcrypt-prefix 的话,在 checking for libmcrypt-config... 时就会出错,说找不到 libmcrypt 之类的。

可是我带了 --with-libmcrypt-prefix 后,它在找到 libmcrypt 后又说版本不大于 2.5.0,这才是我困惑的地方,我装的明明是 2.5.7啊!

刚才 google 了一下,在这里碰到了一模一样的问题:
http://www.experts-exchange.com/ ... PHP/Q_23010101.html

也许正的如那篇贴子的评论所说的:
    Thats why it is good to stick with your package manager, especially on redhat.  It really keeps the confusion (and potential mess/nightmare) of multiple libraries, binaries, etc... to a minimum.

正在下载 libmcrypt-2.5.7-1.2.el5.rf.i386.rpm,等会儿看看用 rpm 安装会不会有不同。

论坛徽章:
0
5 [报告]
发表于 2009-02-27 15:13 |只看该作者

搞定了

还需要安装 libmcrypt-devel

跟experts-exchange.com上的一篇贴子描述的问题相同:
http://www.experts-exchange.com/ ... PHP/Q_23010101.html

[ 本帖最后由 pzy84 于 2009-2-27 15:18 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP