> >On 01/08/2017 11:22 AM, tkane1...@yahoo.co.jp wrote: >> Thank you for your reply. >> Build.log is attached this mail. >> Can you find the error? >> >> Tkane >> >> On 01/08/2017 12:01 AM, tkane1...@yahoo.co.jp >> <mailto:tkane1...@yahoo.co.jp> wrote: >> > Hello, >> > I want to use dev-lang/R on gentoo/prefix. >> > But failed to build libblas as follows. >> > How can I fix this failure? >> > >> > cd >> > >> >>/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build/BLAS/SRC >> > && /home/kaneko/gentoo/usr/bin/cmake -E cmake_symlink_library >> > ../../lib/libblas.so.3.6.0 ../../lib/libblas.so.3 ../../lib/libblas.so >> > make[2]: *** [BLAS/SRC/CMakeFiles/blas.dir/build.make:4002: >> > lib/libblas.so] Error 1 >> > make[2]: *** Deleting file 'lib/libblas.so' >> > make[2]: Leaving directory >> > >> >>'/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build' >> > make[1]: *** [CMakeFiles/Makefile2:1004: >> > BLAS/SRC/CMakeFiles/blas.dir/all] Error 2 >> > make[1]: Leaving directory >> > >> >>'/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build' >> > make: *** [Makefile:161: all] Error 2 >> > make: Leaving directory >> > >> >>'/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build/BLAS' >> > * ERROR: sci-libs/blas-reference-20151113-r1::gentoo failed (compile >> > phase): >> > * emake failed >> > >> > emerge --info text file is attached. >> > >> > Tkane >> >> It doesn't look like the error is contained in the snipped you've >> provided, it's probably further up in the build log. >> >> Dan >> >> >> > >Have you checked the output of `eselect blas` ? It looks like it's >failing in the linking stage, leading me to wonder if an implementation >is selected. > >Dan > > Thank you for confirming various things. The result of eselect is below.
$ eselect blas Usage: eselect blas <action> <options> Standard actions: help Display help text usage Display usage information version Display version information Extra actions: add <libdir> <file> <implementation> Add a new BLAS implementation libdir library directory where BLAS implementation is installed (lib, lib64, etc.) file path to file containing symlink map implementation name of the BLAS implementation list List all installed BLAS implementations set <implementation> Activate one of the installed BLAS implementations implementation implementation name or number (from 'list' action) show Print the currently active BLAS implementation $ eselect blas list $ eselect blas show Tkane >