5
私はそのバージョンでrstudio
を実行できるように、--enable-R-shlib
とR
をインストールしようとしていてR-3.0.1設定、--enable-R-shlibの
cd /mnt/data2tb/disk/soft/R-3.0.1
./configure --with-x=yes --enable-R-shlib
が、私はこのエラーを得た方法:
/usr/bin/ld: ../appl/dchdc.o: relocation R_X86_64_32 against `.rodata'
can not be used when making a shared object; recompile with -fPIC
../appl/dchdc.o: could not read symbols: Bad value collect2: ld
returned 1 exit status make[3]: *** [libR.so] Error 1 make[3]: Leaving
directory `/mnt/data2tb/disk/soft/R-3.0.1/src/main' make[2]: *** [R]
Error 2 make[2]: Leaving directory
/mnt/data2tb/disk/soft/R-3.0.1/src/main make[1]: *** [R] Error 1
make[1]: Leaving directory `/mnt/data2tb/disk/soft/R-3.0.1/src' make:
*** [R] Error 1
いずれかの提案がありますか?事前に感謝:)
コメントにマーティン・モーガンによって示唆されているように、ディレクトリを変更する以外は
'--enable-R-shlib'フラグなしでコンパイルしたディレクトリでコンパイルしていないことを確認してください。 Rは正しいコンパイラフラグを処理する必要があります。 –
親愛なる@MartinMorgan。あなたの提案は私のために働く!私は別のディレクトリを作成しました。ありがとうございます:) – JMJ
[--enable-R-shlibでR-3.1.2を設定する方法](http://stackoverflow.com/questions/28096239/how-to-configure-r-3- 1-2-with-enable-r-shlib) – justhalf