Solaris 上的 libtool 需要哪个软件包?

Solaris 上的 libtool 需要哪个软件包?

我们是一个免费的开源项目,并且是 Oracle 开发人员计划的一部分。我们可以访问在线开发人员包。 Solaris 11/64 位 Intel 不包括libtool在其 GNU 设备中:

$ find /usr/gnu -name libtool
$ 

我正在尝试安装libtool.一个简单的pkgadd失败:

$ sudo pkgadd libtool
pkgadd: ERROR: no packages were found in </var/spool/pkg>

当我搜索该工具时,看起来大约有 23 个选择(完整结果如下所示):

$ pkg search libtool | wc -l
    25

思考PACKAGE字段 fromsearch可能会有所帮助,我尝试过:

$ sudo pkgadd libtool
pkgadd: ERROR: no packages were found in </var/spool/pkg>
$ sudo pkgadd [email protected]
pkgadd: ERROR: no packages were found in </var/spool/pkg>
$ sudo pkgadd /developer/build/[email protected]
pkgadd: ERROR: no packages were found in </var/spool/pkg>
$ sudo pkgadd pkg:/developer/build/[email protected]
pkgadd: ERROR: no packages were found in </var/spool/pkg>

我所经历的差距是如何添加软件包 (pkgadd)。该文档并没有真正解释我们应该做什么,或者我不太明白。例如,Oracle 文档没有告诉我什么pkgadddevice-namepkgid是什么,而且我不知道如何拨入 的结果pkg search

我认为普遍的问题是,我该如何翻译PACKAGE返回自pkg searchapkg-id被使用pkgadd

对于这个特定问题,这libtool是基于 GNU 的系统上常见的问题,我该如何安装它?


$ pkg search libtool
INDEX                       ACTION VALUE                             PACKAGE
basename                    file   usr/apr/1.5/build/amd64/libtool   pkg:/library/[email protected]
basename                    file   usr/apr/1.5/build/libtool         pkg:/library/[email protected]
basename                    file   usr/apr/1.5/build/sparcv9/libtool pkg:/library/[email protected]
basename                    file   usr/apr/1.5/build/libtool         pkg:/library/[email protected]
basename                    file   usr/bin/amd64/libtool             pkg:/developer/build/[email protected]
basename                    file   usr/bin/libtool                   pkg:/developer/build/[email protected]
basename                    file   usr/bin/sparcv9/libtool           pkg:/developer/build/[email protected]
basename                    file   usr/bin/libtool                   pkg:/developer/build/[email protected]
basename                    file   usr/apr/1.3/build/amd64/libtool   pkg:/library/[email protected]
basename                    file   usr/apr/1.3/build/libtool         pkg:/library/[email protected]
basename                    file   usr/apr/1.3/build/sparcv9/libtool pkg:/library/[email protected]
basename                    file   usr/apr/1.3/build/libtool         pkg:/library/[email protected]
basename                    file   usr/lib/amd64/R/bin/libtool       pkg:/runtime/[email protected]
basename                    file   usr/lib/sparcv9/R/bin/libtool     pkg:/runtime/[email protected]
basename                    file   usr/lib/amd64/R/bin/libtool       pkg:/runtime/[email protected]
basename                    file   usr/lib/sparcv9/R/bin/libtool     pkg:/runtime/[email protected]
pkg.fmri                    set    solaris/developer/build/libtool   pkg:/developer/build/[email protected]
pkg.summary                 set    GNU libtool                       pkg:/developer/build/[email protected]
pkg.summary                 set    GNU libtool dlopen wrapper        pkg:/library/libtool/[email protected]
com.oracle.info.description set    GNU libtool                       pkg:/developer/build/[email protected]
com.oracle.info.description set    the GNU libtool dlopen wrapper    pkg:/library/libtool/[email protected]
com.oracle.info.name        set    libtool                           pkg:/developer/build/[email protected]
com.oracle.info.name        set    libtool                           pkg:/library/libtool/[email protected]
basename                    dir    usr/share/libtool                 pkg:/developer/build/[email protected]

答案1

Solaris 11 不使用pkgadd.

尝试:

pkg install libtool

man pkg您的系统或 Oracle 文档参考包装

相关内容