我正在尝试在 Solaris 11.4 系统中安装 solaris studio 12.6。我设置了发布者密钥和证书,如下所示:
pkg set-publisher -c ./oracle/pkg.oracle.com.certificate.pem -k ./oracle/pkg.oracle.com.key.pem -G "*" -g https://pkg.oracle.com/solarisstudio/release solarisstudio
然后 sudo pkg install --accept developerstudio-126 命令给了我打击错误:
root@Wenge:/export/home/preethi# pkg install --accept developerstudio-126
Creating Plan (Running solver): |
pkg install: No matching version of developer/developerstudio-126 can be installed:
Reject: pkg://solarisstudio/developer/developerstudio-126@12.6-1.0.0.0
Reason: No version matching 'require' dependency developer/developerstudio-126/c++@12.6-1.0.0.0 can be installed
----------------------------------------
Reject: pkg://solarisstudio/developer/developerstudio-126/c++@12.6-1.0.0.0
pkg://solarisstudio/developer/developerstudio-126/c++@12.6-1.0.0.1
Reason: No version for 'require' dependency on library/c++/stdcxx can be found
----------------------------------------
Reject: pkg://solarisstudio/developer/developerstudio-126@12.6-1.0.0.1
Reason: No version matching 'require' dependency developer/developerstudio-126/c++@12.6-1.0.0.1 can be installed
root@Wenge:/export/home/preethi# pkg install --accept developerstudio-125
Creating Plan (Running solver): -
pkg install: No matching version of developer/developerstudio-125 can be installed:
Reject: pkg://solarisstudio/developer/developerstudio-125@12.5-1.0.0.0
Reason: No version matching 'require' dependency developer/developerstudio-125/cc@12.5-1.0.0.0 can be installed
----------------------------------------
Reject: pkg://solarisstudio/developer/developerstudio-125/cc@12.5-1.0.0.0
Reason: No version for 'require' dependency on developer/library/lint can be found
----------------------------------------
Solaris unname -a
SunOS sys1 5.11 11.4.16.4.0 i86pc i386 i86pc
有人可以帮我解决这个问题吗?
仅将密钥和证书放置在本地系统中。我已经验证了这个命令并列出了所有可用的包:
NAME (PUBLISHER) VERSION IFO
developer/developerstudio-125 12.5-1.0.0.0 ---
developer/developerstudio-125/backend 12.5-1.0.0.0 ---
developer/developerstudio-125/c++ 12.5-1.0.0.0 ---
developer/developerstudio-125/cc 12.5-1.0.0.0 ---
developer/developerstudio-125/code-analyzer 12.5-1.0.0.0 ---
developer/developerstudio-125/dbx 12.5-1.0.0.0 ---
developer/developerstudio-125/dbxtool 12.5-1.0.0.0 ---
developer/developerstudio-125/dmake 12.5-1.0.0.0 ---
developer/developerstudio-125/fortran 12.5-1.0.0.0 ---
developer/developerstudio-125/library/c++-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/c-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/f90-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/math-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/oic-libs 12.5-1.0.0.0 ---
developer/developerstudio-125/library/perflib 12.5-1.0.0.0 ---
developer/developerstudio-125/library/studio-gccrt 12.5-1.0.0.0 ---
............................
...........................
我可以看到 c++ 可用:
root@Wenge:/export/home/preethi# pkg list -a pkg://solarisstudio/* | grep pkg://solarisstudio/developer/developerstudio-126/c++
root@Wenge:/export/home/preethi# pkg list -a pkg://solarisstudio/* | grep c++
developer/developerstudio-125/c++ 12.5-1.0.0.0 ---
developer/developerstudio-125/library/c++-libs 12.5-1.0.0.0 ---
developer/developerstudio-126/c++ 12.6-1.0.0.1 ---
developer/developerstudio-126/library/c++-libs 12.6-1.0.0.1 ---
developer/solarisstudio-122/c++ 12.2-1.0.0.0 ---
developer/solarisstudio-122/library/c++-libs 12.2-1.0.0.0 ---
developer/solarisstudio-123/c++ 12.3-1.0.0.0 ---
developer/solarisstudio-123/library/c++-libs 12.3-1.0.0.0 ---
developer/solarisstudio-124/c++ 12.4-1.0.0.0 ---
developer/solarisstudio-124/library/c++-libs 12.4-1.0.0.0 ---
在安装这个 solaris studio 之前,我需要安装任何其他依赖包吗?