【问题标题】:FreeBSD ports / uhidd updateFreeBSD 端口/uhidd 更新
【发布时间】:2012-02-22 03:06:42
【问题描述】:

在尝试使用 portmaster 更新我的所有端口/已安装的端口时。我在尝试将 uhidd-0.2.0_1 更新为 uhidd-0.2.0_2 时收到错误代码 1。以下是我收到的错误,如何提供内核源文件?

portmaster -a
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates
===>>> Launching child to update dd_rescue-1.24 to dd_rescue-1.25

===>>> Port directory: /usr/ports/sysutils/dd_rescue

===>>> Launching 'make checksum' for sysutils/dd_rescue in background
===>>> Gathering dependency list for sysutils/dd_rescue from ports
===>>> No dependencies for sysutils/dd_rescue
===>>> Returning to update check of installed ports

===>>> Launching child to update pciutils-3.1.7 to pciutils-3.1.9

===>>> Port directory: /usr/ports/sysutils/pciutils

===>>> Launching 'make checksum' for sysutils/pciutils in background
===>>> Gathering dependency list for sysutils/pciutils from ports
===>>> Initial dependency check complete for sysutils/pciutils
===>>> Returning to update check of installed ports

===>>> Launching child to update uhidd-0.2.0_1 to uhidd-0.2.0_2

===>>> Port directory: /usr/ports/sysutils/uhidd

===>>> This port is marked IGNORE
===>>> requires kernel source files


===>>> If you are sure you can build it, remove the
       IGNORE line in the Makefile and try again.

===>>> Update for uhidd-0.2.0_1 failed
===>>> Aborting update

Terminated

【问题讨论】:

    标签: freebsd ports


    【解决方案1】:

    上面写着:

    ===>>> 这个端口被标记为 IGNORE

    ===>>> 需要内核源文件

    您需要将系统源放入/usr/src。可从SVN repo、安装盘或FTP获取。并确保源代码与您正在运行的内核相对应。

    【讨论】:

    • 我会试试的。我有其他 PC BSD 安装,并且没有这一步我已经更新了端口。您知道在此特定安装中会导致这种“错误”的任何原因吗?其他安装的配置方式相同。可能只是其他安装后的更新。但我认为这没有多大意义。
    • 那么,您使用的是 PC-BSD,而不是 FreeBSD?
    • 我两个都用,但我都遇到了同样的问题。
    • 嗯,你的其他机器上似乎有资源。检查/usr/src/Makefile/usr/src/sys/Makefile 是否存在。
    • 它正在工作。我只是感到困惑,因为我记得在安装过程中没有安装源文件。谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-06-18
    • 1970-01-01
    • 1970-01-01
    • 2016-06-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多