zoukankan      html  css  js  c++  java
  • Make sure the Makefile and distinfo file(/usr/ports/lang/php5/distinfo) are up to date

    ....
    Make sure the Makefile and distinfo file(/usr/ports/lang/php5/distinfo)
    are up to date. If you are absolutely sure you want to overridethis
    check, type "make NO_CHECKSUM=yes [other args]".
    *** Error code 1
    ....

    FreeBSD中安装PHP5.4时报如上错误,解决办法如下:

    cd /usr/ports/lang/php5
    make distclean make checksum

    问题的原因是已存在的diskfile的checksum与该ports信息文件中的不一致,正常情况下删除/usr/ports/distfiles中的文件即可,以下是引自FreebsdBSD handbook中的例子:

    Checksum Mismatch

    Occasionally, a ports tarball will fail the md5 checksum test. A typical result of this would look like:

     >> Checksum mismatch for tightvnc-1.2.3_unixsrc.tar.bz2.
     Make sure the Makefile and distinfo file (/usr/ports/net/tightvnc/distinfo)
     are up to date.  If you are absolutely sure you want to override this
     check, type "make NO_CHECKSUM=yes [other args]".
     *** Error code 1
     
     Stop in /usr/ports/net/tightvnc.
     ** Command failed: make clean build
     ** Fix the problem and try again.
     ** The following packages were not installed or upgraded (*:skipped / !:failed)
             ! net/tightvnc  (checksum mismatch)
    

    This means that the checksum for the tarball does not match that contained in the port's distribution information file which is/usr/ports/net/tightvnc/distinfo in this case.

    The first step is to delete the tarball for the port in /usr/ports/distfiles and fetch the tarball again. This will usually take care of the problem.

    If the problem persists, the next step is to check the CVS Repository at http://www.freebsd.org/cgi/cvsweb.cgi/ to make sure that your ports Makefile and distinfo agree with the latest available. If not, then you need to update your ports tree.

    The following packages were not installed or upgraded (*:skipped / !:failed)
            ! ftp/gftp (gftp-gnome-2.0.15)  (unknown build error)
            ! math/gnumeric2 (gnumeric2-1.2.1_1)    (install error)
    

    manually upgraded and both worked fine.

    audacity-1.2.0 > succeeds port (port has 1.2.0.p3_2)

    # portupgrade audacity-1.2.0
    ** No need to upgrade 'audacity-1.2.0' (>= audacity-1.2.0.p3_2). (specify -f to force)
    
    (from CVS)
    FILE REMOVED 
    
    - Remove audio/audacity-devel, because it's now redundant after
      updating audio/audacity to the latest version.
    

    remove ports and install audio/audacity

  • 相关阅读:
    机器学习-分类算法-决策树,随机森林10
    机器学习-分类算法-模型选择与调优09
    机器学习-分类算法-精确率和召回率08
    机器学习-分类算法-朴素贝叶斯算法07
    机器学习-分类算法-K-近邻算法06
    java读取自定义配置文件并引用
    kafka发布消息报错LEADER_NOT_AVAILABLE
    Kettle位置参数(Argument)、命名参数(Parameter)、变量(Variable)
    kettle里的两个参数和一个变量
    如何在命令行下运行kettle的作业(job)和转换(transform)
  • 原文地址:https://www.cnblogs.com/toby/p/2920248.html
Copyright © 2011-2022 走看看