admb-project / admb

AD Model Builder
http://admb-project.org
Other
64 stars 19 forks source link

Error chmod: ../build/admb/contrib/include/*.*: No such file or directory in make install #120

Closed yukio-takeuchi closed 4 years ago

yukio-takeuchi commented 4 years ago

On MacOS (10.15.3 with Apple clang++) and Ubuntu 18.04 with g++ 7, when installing from source (both git repository and ADMB-12.1-src.zip were tested),

make all 

command finished without error. However

make install

failed with following error

chmod: ../build/admb/contrib/include/*.*: No such file or directory

at line 724 of src/GNUMakefile from GitHub repo and at line 679 of that from admb-12.1-src.zip. In fact, "../build/admb/contrib/include/" is not created but "../build/admb/contrib/include/" is created when

make all

finished. I suspect,

chmod a+r ../build/admb/contrib/include/*.*

in src/GNUMakefile should be

chmod a+r ../build/admb/include/contrib/*.*
johnoel commented 4 years ago

Bummer...Thanks for reporting issue.

Please git update and try the fix.