rjhogan / Adept-2

Combined array and automatic differentiation library in C++
http://www.met.reading.ac.uk/clouds/adept/
Apache License 2.0
163 stars 29 forks source link

Installation on mac #32

Open geyan3566 opened 6 months ago

geyan3566 commented 6 months ago

Hi,

I'm having issue installing adept2 on mac. Since there is no autoreconf on mac, so I tried to install from release package adept-2.1.1. I followed the installation guide, and configuration option used was ./configure --prefix=/Users/xxx/build "CXXFLAGS=-g -O3"

But the make command gave me this error

libtool: link: ranlib .libs/libadept.a
libtool: link: ( cd ".libs" && rm -f "libadept.la" && ln -s "../libadept.la" "libadept.la" )
Making all in include
make[2]: Nothing to be done for `all'.
Making all in benchmark
make[2]: Nothing to be done for `all'.
Making all in test
********************************************************
*** To compile test programs in test/ and benchmark/ ***
*** type "make check"                                ***
********************************************************
make[2]: *** No rule to make target `README.md', needed by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

May I get some support on this issue?

Thanks, Ge

rjhogan commented 6 months ago

Hi, autoreconf is part of the "autoconf" package - I have installed it on my Mac. I can't seem to reproduce your error on my Mac when I download the package from https://www.met.reading.ac.uk/clouds/adept/download.html. Does the problem occur only when you type "make install"? Does the README.md file exist? It is in the package so I don't understand why "make" is wanting to make it. Robin.