今天装了Pear 1.5.2版,但是在装组件的时候总是出现这样的提示:G:\temp\download>pear install Log-1.9.10
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Did not download optional dependencies: pear/DB, pear/MDB2, use --alldeps to
nload automatically
pear/Log can optionally use package "pear/DB" (version >= 1.3)
pear/Log can optionally use package "pear/MDB2" (version >= 2.0.0RC1)
pear/Log can optionally use PHP extension "sqlite"
downloading Log-1.9.10.tgz ...
Starting to download Log-1.9.10.tgz (37,063 bytes)
.....done: 37,063 bytes
ERROR: unable to unpack G:\\temp/download\Log-1.9.10.tgzG:\temp\download>pear install DB-1.7.11.tar
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
downloading DB-1.7.11.tgz ...
Starting to download DB-1.7.11.tgz (132,064 bytes)
.....done: 132,064 bytes
ERROR: unable to unpack G:\\temp/download\DB-1.7.11.tgz 就是说每次在下载完需要解压的时候总是提示不能解压tgz文件(unpack)。请问各位大侠有遇到过这样的问题吗?我的系统是windows xp sp2+Apache 2.20.*+PHP5.2.1真在这里真诚的感谢您了! 

解决方案 »

  1.   

    G:\temp\download>pear install MDB
    Did not download dependencies: pear/XML_Parser, use --alldeps or --onlyreqdeps t
    o download automatically
    pear/MDB requires package "pear/XML_Parser"
    No valid packages found
    install failedG:\temp\download>pear install -f -alldeps MDB
    Console_Getopt: unrecognized option -- dG:\temp\download>pear install -f --alldeps MDB
    downloading MDB-1.3.0.tgz ...
    Starting to download MDB-1.3.0.tgz (218,957 bytes)
    ......done: 218,957 bytes
    downloading XML_Parser-1.2.8.tgz ...
    Starting to download XML_Parser-1.2.8.tgz (13,476 bytes)
    ...done: 13,476 bytes
    ERROR: unable to unpack G:\\temp/download\XML_Parser-1.2.8.tgz
    ERROR: unable to unpack G:\\temp/download\MDB-1.3.0.tgz  大侠帮忙看看啊。。就是不能解压tgz的文件。
      

  2.   

    你装的版本对不对
    无法解压的那个文件是linux下的压缩文件
      

  3.   

    另外,提示可能依整perl库
    要求perl环境
      

  4.   

    可能是PEAR本身没装好,里面的包有PEAR, TAR, GET_OPT什么的!你再看看!
    Windows上面好像要导入注册表什么的吧
      

  5.   

    我的也是:
    The Apache2.2 service is restarting.
    The Apache2.2 service has restarted.
    arent: Received restart signal -- Restarting the server.
    [Mon Nov 29 19:39:14 2010] [notice] Child 3484: Exit event signaled. Child process is ending.
    [Mon Nov 29 19:39:14 2010] [notice] Apache/2.2.17 (Win32) PHP/5.2.14 configured -- resuming normal operations
    [Mon Nov 29 19:39:14 2010] [notice] Server built: Oct 18 2010 01:58:12
    [Mon Nov 29 19:39:14 2010] [notice] Parent: Created child process 1228
    Cannot find module (IP-MIB): At line 0 in (none)
    Cannot find module (IF-MIB): At line 0 in (none)
    Cannot find module (TCP-MIB): At line 0 in (none)
    Cannot find module (UDP-MIB): At line 0 in (none)
    Cannot find module (SNMPv2-MIB): At line 0 in (none)
    Cannot find module (SNMPv2-SMI): At line 0 in (none)
    Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
    Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
    Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
    Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
    Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
    Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
    Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
    Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
    Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
    Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
    Cannot find module (SNMPv2-TM): At line 0 in (none)
    [Mon Nov 29 19:39:14 2010] [notice] Child 1228: Child process is running
    [Mon Nov 29 19:39:15 2010] [notice] Child 3484: Released the start mutex
    [Mon Nov 29 19:39:15 2010] [notice] Child 1228: Acquired the start mutex.
    [Mon Nov 29 19:39:15 2010] [notice] Child 1228: Starting 64 worker threads.
    [Mon Nov 29 19:39:16 2010] [notice] Child 3484: All worker threads have exited.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 9901.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 80.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8060.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8080.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8081.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8082.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8083.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8084.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8085.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8086.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8087.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8088.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8089.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8091.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8092.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8093.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8094.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8095.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8096.
    [Mon Nov 29 19:39:16 2010] [notice] Child 1228: Starting thread to listen on port 8097.
    [Mon Nov 29 19:39:16 2010] [notice] Child 3484: Child process is exiting