No Fortran compiler found

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No Fortran compiler found

3,896 Views
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 Kudos
Reply
3 Replies

3,166 Views
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 Kudos
Reply

3,166 Views
d_lechner_94
Contributor I

Hi Kamba,

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

0 Kudos
Reply

3,166 Views
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 Kudos
Reply