-
Notifications
You must be signed in to change notification settings - Fork 51
Description
I would like to report this issue faced when running ./build, the installation process works normally until it gets to the step of spglib-1.5.2/, the script seems to be complaining about the C compiler and will throw an error as you can see in the following:
cd spglib-1.5.2;
./configure FC=gfortran CC=gcc CFLAGS=-fopenmp FCFLAGS=-fopenmp;
cd /Users/Downloads/Crystallography/bandup/src/external
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in /Users/Downloads/Crystallography/bandup/src/external/spglib-1.5.2': configure: error: C compiler cannot create executables See config.log' for more details
cd spglib-1.5.2;
/Library/Developer/CommandLineTools/usr/bin/make -j --max-load 2.5;
cd /Users/Downloads/Crystallography/bandup/src/external
make[1]: *** No targets specified and no makefile found. Stop.
gfortran -std=gnu -pedantic -fopenmp -O2 -w -I/Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/Modules -I/Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/iotk/src main_get_SCKPTS_pre_BandUP.o cla.o kinds.o constants_and_types_mod.o cla_wrappers_mod.o spglib_f08.o lists_and_seqs_mod.o time_mod.o units_mod.o crystals_mod.o math_mod.o symmetry_mod.o band_unfolding_routines_mod.o general_io_mod.o read_wavecar_mod.o read_vasp_files_mod.o read_abinit_wavefunctions_mod.o read_qe_wavefunctions_mod.o write_vasp_files_mod.o strings_mod.o io_routines_mod.o /Users/Downloads/Crystallography/bandup/src/external/spglib-1.5.2/src/.libs/libsymspg.a /Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/Modules/libqemod.a /Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/flib/ptools.a /Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/flib/flib.a /Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/clib/clib.a /Users/Downloads/Crystallography/bandup/src/external/espresso-5.1_modules_for_BandUP/iotk/src/libiotk.a -o get_SCKPTS_pre_BandUP.x
ld: file not found: /Users/Downloads/Crystallography/bandup/src/external/spglib-1.5.2/src/.libs/libsymspg.a
collect2: error: ld returned 1 exit status
make: *** [get_SCKPTS_pre_BandUP.x] Error 1