INCF / MUSIC

MUSIC, the MUltiSimulation Coordinator
GNU General Public License v3.0
37 stars 37 forks source link

When I am trying to install MUSIC, with the command './configure', I encountered "-bash: ./configure: No such file or directory" #68

Open ConBke opened 3 years ago

ConBke commented 3 years ago

When I am trying to install MUSIC, with the command './configure', I encountered "-bash: ./configure: No such file or directory".

mdjurfeldt commented 3 years ago

Hi,

As described in the README file, you need to use the autogen.sh script. For this to work, you need to have GNU autotools and libtool installed, as described in PORTING.

Did this help?

Best regards, Mikael

ConBke commented 3 years ago

Hi,

As described in the README file, you need to use the autogen.sh script. For this to work, you need to have GNU autotools and libtool installed, as described in PORTING.

Did this help?

Best regards, Mikael

Oh, please forgive me for my not carefully reading the documents. But I then tried installing the autoconf, automake and lib tool and followed the instruction, yet still failed to install, like this figure. Am I still missing something? Looking forward to your reply, thank you very much!

截屏2020-11-23 21 52 02
mdjurfeldt commented 3 years ago

Sorry, but that looks like libtool isn't working correctly on your machine. Perhaps some installation problem?

If you don't get that to work, try using the release tarball here: https://github.com/INCF/MUSIC/releases

ConBke commented 3 years ago

Sorry, but that looks like libtool isn't working correctly on your machine. Perhaps some installation problem?

If you don't get that to work, try using the release tarball here: https://github.com/INCF/MUSIC/releases

Very sorry to bother again... I reinstalled the libtool. Though successfully ran the command './ autopen.sh', I encountered another problem in the figure, when running './configure',

截屏2020-11-24 00 28 01

But I surely have installed g++ compiler and open-mpi, the version of c++ is 4.2.1. I tried using the command 'sudo ./configure' and many other ways and still cannot find the problem. I dragged the config.log file here. config.log Thank you very much for your valuable time!

mdjurfeldt commented 3 years ago

The relevant lines of config.log are:

configure:3335: mpiCC conftest.cpp >&5 /Users/conbke/opt/anaconda3/bin/mpiCC: line 285: x86_64-apple-darwin13.4.0-clang: command not found

So, mpiCC doesn't seem to work in your environment. First make sure that mpiCC can compile programs. Then run configure again.