mesh icon indicating copy to clipboard operation
mesh copied to clipboard

make: *** [all] error 1

Open hbwanghang opened this issue 3 years ago • 14 comments

微信图片_20211115204129 How to solve this error reported by make all

hbwanghang avatar Nov 15 '21 12:11 hbwanghang

Hi @hbwanghang Could you fix it?

NedaZand avatar Nov 28 '21 01:11 NedaZand

Hi @NedaZand I also got this error while installing by 'make all' image

mahdi943 avatar Dec 03 '21 12:12 mahdi943

@TimoBolkart

Could you please help me to fix this error? I am using: 1-Ubunto wsl on windows 2-python 3.8.6 3-virtualenvs

mahdi943 avatar Dec 03 '21 12:12 mahdi943

Hi @mahdi943 Yes, I fixed it Please send me an email to discuss about it. [email protected]

NedaZand avatar Dec 09 '21 21:12 NedaZand

any luck?

Daksitha avatar Dec 16 '21 11:12 Daksitha

any luck?

downgrading to python 3.6 worked.

mahdi943 avatar Dec 16 '21 16:12 mahdi943

I have fixed this: I am using: 1-Ubunto wsl on windows 2-python 3.6.13 3-anaconda virtualenvs I got the error 1 with :
unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1 (see photo below) I follow https://linuxtect.com/the-error-command-gcc-failed-with-exit-status-1-error-and-solution/ , sudo apt install build-essential sudo apt install python3-dev sudo apt install libxslt-dev libffi-dev libssl-dev then, make success. image

shanzhajuan avatar Feb 03 '22 12:02 shanzhajuan

hi @mahdi943 @NedaZand I'm using wsl ubuntu 20.04 python 3.6.15 virtualenv

this command $ BOOST_INCLUDE_DIRS=/path/to/boost/include make all gives the error make: *** No rule to make target 'all'. Stop.

could you help me please !

karan00713 avatar Feb 16 '22 13:02 karan00713

You have to replace the path with the actual path in your system. If you install the boostlibs you could simply run "make all" command

On Wed, Feb 16, 2022 at 2:18 PM Karan K S @.***> wrote:

hi @mahdi943 https://github.com/mahdi943 @NedaZand https://github.com/NedaZand I'm using wsl ubuntu 20.04 python 3.6.15 virtualenv

this command $ BOOST_INCLUDE_DIRS=/path/to/boost/include make all gives the error make: *** No rule to make target 'all'. Stop.

could you help me please !

— Reply to this email directly, view it on GitHub https://github.com/MPI-IS/mesh/issues/65#issuecomment-1041482383, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABX5QGDV2DUV5MWA46ZLWKDU3OPYZANCNFSM5IBTA7NQ . You are receiving this because you commented.Message ID: @.***>

Daksitha avatar Feb 16 '22 21:02 Daksitha

Hi, did you solve it?

XIANGLINYUN avatar Jul 27 '22 13:07 XIANGLINYUN

这是来自QQ邮箱的假期自动回复邮件。你好,我已经收到了您的邮件,会尽快处理。

shanzhajuan avatar Jul 27 '22 13:07 shanzhajuan

I had the same issue and fixed it by using

export CC=/usr/bin/clang
export CXX=/usr/bin/clang++

Note: Use at your own risk because I am not sure what this does. I found the potential solution here: https://github.com/astropy/halotools/issues/813

becausejustyn avatar Aug 21 '22 07:08 becausejustyn

这是来自QQ邮箱的假期自动回复邮件。你好,我已经收到了您的邮件,会尽快处理。

shanzhajuan avatar Aug 21 '22 07:08 shanzhajuan

This worked for me: $ whereis boost gives: /usr/include/boost $ git clone https://github.com/MPI-IS/mesh $ cd mesh $ BOOST_INCLUDE_DIRS=/usr/include/boost/ make all

EnnaSachdeva avatar May 13 '24 21:05 EnnaSachdeva