Page 1 of 1

problem with MAKE on mac os x 10.6.8

Posted: Wed Jan 22, 2014 12:03 pm
by federicoqb
Hi,
i'm really new at ABINIT 7.6.1. i have a Mac Os X 10.6.8, i configured the program (../configure) but when i want to take the "make" it gives this error.

make all-recursive
Making all in fallbacks
make fox
The build of fox has been disabled
Checking build of fox fallback
test -e stamps/fox-install-stamp
make libxc
The build of libxc has been disabled
Checking build of libxc fallback
test -e stamps/libxc-install-stamp
make linalg
The build of linalg has been disabled
Checking build of linalg fallback
test -e stamps/linalg-install-stamp
make netcdf
The build of netcdf has been disabled
Checking build of netcdf fallback
test -e stamps/netcdf-install-stamp
make atompaw
The build of atompaw has been disabled
Checking build of atompaw fallback
test -e stamps/atompaw-install-stamp
make etsf_io
The build of etsf_io has been disabled
Checking build of etsf_io fallback
test -e stamps/etsf_io-install-stamp
make wannier90
The build of wannier90 has been disabled
Checking build of wannier90 fallback
test -e stamps/wannier90-install-stamp
make bigdft
The build of bigdft has been disabled
Checking build of bigdft fallback
test -e stamps/bigdft-install-stamp
Making all in src
Making all in incs
There is no buildable file here
Making all in mods
There is no buildable file here
Making all in 01_interfaces_ext
gfortran -DHAVE_CONFIG_H -I. -I../../../src/01_interfaces_ext -I../.. -I../../src/incs -I../../../src/incs -I/Users/fides/Downloads/abinit-7.6.1 2/tmp-builddir/fallbacks/exports/include -ffree-form -J/Users/fides/Downloads/abinit-7.6.1 2/tmp-builddir/src/mods -O2 -mtune=native -march=native -g -ffree-line-length-none -c -o m_iso_c_bindings.o ../../../src/01_interfaces_ext/m_iso_c_bindings.F90
gfortran: error: 2/tmp-builddir/fallbacks/exports/include: No such file or directory
gfortran: error: 2/tmp-builddir/src/mods: No such file or directory
make[3]: *** [m_iso_c_bindings.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

it's been 2 days and haven't found anything useful yet. would be great if someone could help.
thanks a lot

Re: problem with MAKE on mac os x 10.6.8

Posted: Thu Jan 23, 2014 6:22 pm
by pouillon
I'm not completely sure, but it looks like you have a buggy mkdir command, which sometimes happen on Mac. A possible workaround is to use the gmkdir command instead. Could you pass the following option to configure and tell us whether it solves your problem?

Code: Select all

../configure ... (your options) ... MKDIR_P=/path/to/gmkdir

Re: problem with MAKE on mac os x 10.6.8

Posted: Fri Jan 24, 2014 11:12 am
by federicoqb
HI, thank you so much for your reply. but i can't even find the gmkdir. i tried also /opt/local/bin/gmkdir but it's not working.

Re: problem with MAKE on mac os x 10.6.8

Posted: Mon Jan 27, 2014 3:16 pm
by pouillon
You can also try with the install program. That would read:

Code: Select all

MKDIR_P="/path/to/install -m 755 -d"