简体   繁体   中英

error installing xen-api-sdk using opam : No package named xen-api-sdk found

I have been following the steps given at this git repo for getting up and running with XenAPI java program. I have successfully completed first step using brew .

however when I try to install xen-api-sdk dependency as given in second step

opam depext -y xen-api-sdk

I get this error

 Detecting depexts using flags: x86_64 osx homebrew
 [ERROR] No package named xen-api-sdk found.
 [ERROR] No package named xen-api-sdk found.
 No extra OS packages requirements found.

Also, I have this command

 opam install -y --deps-only xen-api-sdk

I get the following error

[ERROR] No package named xen-api-sdk found

Also this package is not available at opam repository store

I was missing the intermediate step which was to install xs-opam using command below

opam repo add xs-opam https://github.com/xapi-project/xs-opam.git

now running opam depext -y xen-api-sdk will give you success

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM