前提
さくらVPS上のcentOS7
sshで接続
centOSでGoogleDriveをマウントしたくopamを使った環境構築を行なっています。
こちらの記事を元にインストール作業を行なっていたんですが、opam install google-drive-ocamlfusefでどうしても引っかかってしまい困っています。
ocurlの部分でfaildになっている様子なんですが、いくら調べても解消方法が発見できません。
エラー詳細を記載しますので、お力添えいただけないでしょうか?
よろしくお願いいたします。
opam install google-drive-ocamlfusefを実行中に以下のエラーメッセージが発生しました。
[myname@xx1-xxx-xxxxx root]$ opam install google-drive-ocamlfuse The following actions will be performed: ∗ install ocurl 0.9.2 [required by gapi-ocaml] ∗ install gapi-ocaml 0.4.3 [required by google-drive-ocamlfuse] ∗ install google-drive-ocamlfuse 0.7.30 ===== ∗ 3 ===== Do you want to continue? [Y/n] Y <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved google-drive-ocamlfuse.0.7.30 (cached) ⬇ retrieved ocurl.0.9.2 (cached) ⬇ retrieved gapi-ocaml.0.4.3 (cached) [ERROR] The compilation of ocurl.0.9.2 failed at "make". #=== ERROR while compiling ocurl.0.9.2 ========================================# # context 2.1.2 | linux/x86_64 | ocaml.4.05.0 | https://opam.ocaml.org#7a3f9165 # path ~/.opam/default/.opam-switch/build/ocurl.0.9.2 # command ~/.opam/opam-init/hooks/sandbox.sh build make # exit-code 2 # env-file ~/.opam/log/ocurl-30301-742cbe.env # output-file ~/.opam/log/ocurl-30301-742cbe.out ### output ### # curl-helper.c:4256:9: 備考: #pragma message: libcurl does not provide CURLINFO_ACTIVESOCKET # [...] # ^ # curl-helper.c:4270:9: 備考: #pragma message: libcurl does not provide CURLINFO_HTTP_VERSION # #pragma message("libcurl does not provide CURLINFO_HTTP_VERSION") # ^ # curl-helper.c: トップレベル: # curl-helper.c:2511:13: 警告: ‘ocaml_HTTP_VERSION’ が定義されましたが使用されません [-Wunused-function] # static long ocaml_HTTP_VERSION(long curl_version) # ^ # make[1]: *** [curl-helper.o] エラー 2 # make[1]: ディレクトリ `/home/myname/.opam/default/.opam-switch/build/ocurl.0.9.2' から出ます # make: *** [all] エラー 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build ocurl 0.9.2 └─ ╶─ No changes have been performed # Run eval $(opam env) to update the current shell environment
実現したいこと
LinuxでGoogleDriveをマウントするために、opam install google-drive-ocamlfuseを成功させたい。
(他にマウントする方法があれば教えていただきたいです。)
あなたの回答
tips
プレビュー