ksaitoの日記

日々試したことの覚え書き

Rを使いたい

Rを使いたいのですがMacportsの依存関係のあるパッケージが、まだ、Snow Lepoardに対応していないみたいです。

$ sudo port install R
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc43/work/build" && /usr/bin/make -j2 all " returned error 2
Command output:       _mpfr_sqrt$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_dim", referenced from:
      _mpfr_dim$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_cos", referenced from:
      _mpfr_cos$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_fma", referenced from:
      _fold_builtin_n in libbackend.a(builtins.o)
  "_mpfr_erf", referenced from:
      _mpfr_erf$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_exp", referenced from:
      _mpfr_exp$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_max", referenced from:
      _mpfr_max$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_log", referenced from:
      _mpfr_log$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_min", referenced from:
      _mpfr_min$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_pow", referenced from:
      _mpfr_pow$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_tan", referenced from:
      _mpfr_tan$non_lazy_ptr in libbackend.a(builtins.o)
  "_mpfr_sin", referenced from:
      _mpfr_sin$non_lazy_ptr in libbackend.a(builtins.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
rm gfortran.pod
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: gcc43
Error: Status 1 encountered during processing.
$