Linuxシステム(Mint-Linuxディストリビューション)でrvmを使用してruby1.9.2をインストールしようとしていますが、デバッグできないエラーがあります。これは、私がinstallコマンドを実行したときに表示されるエラーです。ruby1.9.2のインストール中に問題が発生しました
$ rvm install 1.9.2
Installing Ruby from source to: /home/nnn/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)...
ruby-1.9.2-p290 - #fetching
ruby-1.9.2-p290 - #extracted to /home/nnn/.rvm/src/ruby-1.9.2-p290 (already extracted)
Fetching yaml-0.1.4.tar.gz to /home/nnn/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /home/nnn/.rvm/src
Configuring yaml in /home/nnn/.rvm/src/yaml-0.1.4.
Compiling yaml in /home/nnn/.rvm/src/yaml-0.1.4.
Installing yaml to /home/nnn/.rvm/usr
ruby-1.9.2-p290 - #configuring
ERROR: Error running ' ./configure --prefix=/home/nnn/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/home/nnn/.rvm/usr ',
please read /home/nnn/.rvm/log/ruby-1.9.2-p290/configure.log
ERROR: There has been an error while running configure. Halting the installation.
configure.logファイルには、次のエラーがあります。
./configure --prefix=/home/nnn/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/home/nnn/.rvm/usr
configure: WARNING: unrecognized options: --with-libyaml-dir
configure: error: could not determine MAJOR number from version.h
私を助けてもらえますか?
おかげで、あなたは 'は-libyaml-dirの' noオプションが実際に存在しないことがわかります
./configure --help
を実行する場合
"with-xxx-dir"の構文はどこから来ますか?それはルビーの一部ですか? –