![Solaris 上的 libtool 需要哪个软件包?](https://linux22.com/image/98303/Solaris%20%E4%B8%8A%E7%9A%84%20libtool%20%E9%9C%80%E8%A6%81%E5%93%AA%E4%B8%AA%E8%BD%AF%E4%BB%B6%E5%8C%85%EF%BC%9F.png)
我们是一个免费的开源项目,并且是 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 文档没有告诉我什么pkgadd
是device-name
和pkgid
是什么,而且我不知道如何拨入 的结果pkg search
。
我认为普遍的问题是,我该如何翻译PACKAGE
返回自pkg search
apkg-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]