No Fortran compiler found

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

No Fortran compiler found

3,273 次查看
sabinns
Contributor I

Hi,

I am trying to Compile Scipy for imx6ull eval board in Yocto.

But while compiling I am getting no Fortran compiler found.

Below is the error log:

copying scipy/_lib/_numpy_compat.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/_tmpdirs.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/decorator.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/__init__.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/six.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/setup.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/_testutils.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/_ccallback.py -> build/lib.linux-x86_64-2.7/scipy/_lib
copying scipy/_lib/_threadsafety.py -> build/lib.linux-x86_64-2.7/scipy/_lib
running build_clib
customize UnixCCompiler
customize UnixCCompiler using build_clib
building 'dfftpack' library
error: library dfftpack has Fortran sources but no Fortran compiler found
ERROR: python setup.py build execution failed.

0 项奖励
3 回复数

2,543 次查看
hugues_kamba
Contributor I

Hi Sabin,
Did you manage to get Bitbake to build the SciPy recipe?
If so, do you mind sharing it here?
I cannot resolve the issue with missing LAPACK and BLAS libraries. Did you have this problem during the do_compile() task?

0 项奖励

2,543 次查看
d_lechner_94
Contributor I

Hi Kamba,

are you able to build SciPy? I encounterd the same issue and found no resolution yet.

0 项奖励

2,543 次查看
b36401
NXP Employee
NXP Employee

Here is an article regarding to adding Fortran support to a Yocto build:

http://www.jumpnowtek.com/yocto/Add-Fortran-support-to-a-Yocto-build.html

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励