I am re-installing Siesta, as my Ubuntu has crashed in between after some updates. I am getting the following error while installing Siesta:
checking for linker flag to name executables... configure: error: Could not determine flag to name executables See `config.log' for more details. make: *** [FoX/.config] Error 1 Also attached here the config.log file for reference. I am very new to Linux and also to Siesta. Please help me to come out of this and to complete the installation/ compilation. Many thanks. Regards, JVN Sarma, CSIR, India. On Sun, Apr 13, 2014 at 10:46 AM, jv sharma <[email protected]> wrote: > It's done !! Thanks a lot !!! > > > On Sun, Apr 13, 2014 at 6:35 AM, Nick Papior Andersen < > [email protected]> wrote: > >> It seems like your Makefile in the Src directory has been destroyed. >> Please restart from a fresh, i.e. delete the siesta directory and >> uncompress the tar-file. Then proceed as I suggested. >> >> >> 2014-04-12 16:04 GMT+00:00 jv sharma <[email protected]>: >> >> Many thanks. I have just prepared in a doc all the output of terminal by >>> copy-paste. Attached here.. >>> >>> >>> On Sat, Apr 12, 2014 at 9:23 PM, Nick Papior Andersen < >>> [email protected]> wrote: >>> >>>> Search around for "pipe command to file" in bash/csh (dependent on your >>>> shell). >>>> >>>> Shortly it is: >>>> >>>> command > command.output 2>&1 >>>> >>>> which will create the file command.output with the content of the >>>> output of the command. >>>> >>>> >>>> 2014-04-12 15:26 GMT+00:00 jv sharma <[email protected]>: >>>> >>>> sure, but how to export the output of terminal? please.. >>>>> >>>>> >>>>> On Sat, Apr 12, 2014 at 8:44 PM, Nick Papior Andersen < >>>>> [email protected]> wrote: >>>>> >>>>>> Could you please do the previous steps, and between each run the >>>>>> command "ls -l" >>>>>> Then show us the output of those. >>>>>> >>>>>> >>>>>> 2014-04-12 15:08 GMT+00:00 jv sharma <[email protected]>: >>>>>> >>>>>> Attached arch.make generated in Obj after following the given steps. >>>>>>> Getting the same message again: >>>>>>> make: ***No targets. Stop. >>>>>>> >>>>>>> Please help. >>>>>>> >>>>>>> >>>>>>> On Sat, Apr 12, 2014 at 7:56 PM, Nick Papior Andersen < >>>>>>> [email protected]> wrote: >>>>>>> >>>>>>>> Have you runned: >>>>>>>> ../Src/obj_setup.sh? >>>>>>>> It is not clear from your mail. >>>>>>>> >>>>>>>> The order of things: >>>>>>>> >>>>>>>> $> cd <root of siesta> >>>>>>>> $> mkdir -p Obj >>>>>>>> $> cd Obj >>>>>>>> $> ../Src/configure <options> >>>>>>>> $> ../Src/obj_setup.sh >>>>>>>> $> make >>>>>>>> >>>>>>>> That configure is called somewhere else shouldn't matter much. >>>>>>>> However, it doesn't clutter your source directory. >>>>>>>> >>>>>>>> >>>>>>>> 2014-04-11 16:12 GMT+00:00 jv sharma <[email protected]>: >>>>>>>> >>>>>>>> Dear Siesta experts/ users, >>>>>>>>> >>>>>>>>> I am very new to Siesta. I am trying to compile Siesta-3.2-pl-4 on >>>>>>>>> Ubuntu 12.04 LTS. >>>>>>>>> My system configuration is: i7 processor, x86_64. >>>>>>>>> Everything is going well with the installation. >>>>>>>>> Just when it comes to give "make" at the end, I am getting this >>>>>>>>> error: >>>>>>>>> >>>>>>>>> make: ***No targets. Stop. >>>>>>>>> >>>>>>>>> Attached here the *arch.make* file generated in >>>>>>>>> siesta-3.2-pl-4/Src after ./configure >>>>>>>>> I have copied this arch.make to siesta-3.2-pl-4/Obj >>>>>>>>> >>>>>>>>> Please provide some working solution, as I am very eager to work >>>>>>>>> with Siesta for some good problems I've in hand. >>>>>>>>> Many thanks. >>>>>>>>> >>>>>>>>> With best regards, >>>>>>>>> JVN Sarma, India. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Kind regards Nick >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Kind regards Nick >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Kind regards Nick >>>> >>> >>> >> >> >> -- >> Kind regards Nick >> > >
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by FoX configure 4.0.4, which was generated by GNU Autoconf 2.61. Invocation command line was $ /home/jv/siesta-3.2-pl-5/Src/FoX/configure VPATH=/home/jv/siesta-3.2-pl-5/Src/FoX FC=f77 FCFLAGS= --enable-wcml ## --------- ## ## Platform. ## ## --------- ## hostname = jv-desktop uname -m = x86_64 uname -r = 3.13.0-40-generic uname -s = Linux uname -v = #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /complete_path_to_espresso-5.1.1/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:1749: checking build system type configure:1767: result: x86_64-unknown-linux-gnu configure:1789: checking host system type configure:1804: result: x86_64-unknown-linux-gnu configure:1941: checking for Fortran compiler version configure:1944: f77 --version </dev/null >&5 /home/jv/siesta-3.2-pl-5/Src/FoX/configure: line 1945: f77: command not found configure:1947: $? = 127 configure:1949: f77 -v </dev/null >&5 /home/jv/siesta-3.2-pl-5/Src/FoX/configure: line 1950: f77: command not found configure:1952: $? = 127 configure:1954: f77 -V </dev/null >&5 /home/jv/siesta-3.2-pl-5/Src/FoX/configure: line 1955: f77: command not found configure:1957: $? = 127 configure:1970: checking for linker flag to name executables configure:1978: $FC $ac_link_obj_flag""conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5 /home/jv/siesta-3.2-pl-5/Src/FoX/configure: line 1979: f77: command not found configure:1981: $? = 127 configure:1978: $FC $ac_link_obj_flag""conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5 /home/jv/siesta-3.2-pl-5/Src/FoX/configure: line 1979: f77: command not found configure:1981: $? = 127 configure:1978: $FC $ac_link_obj_flag""conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5 /home/jv/siesta-3.2-pl-5/Src/FoX/configure: line 1979: f77: command not found configure:1981: $? = 127 configure:1991: error: Could not determine flag to name executables See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_FCFLAGS_set=set ac_cv_env_FCFLAGS_value= ac_cv_env_FC_set=set ac_cv_env_FC_value=f77 ac_cv_env_FPPFLAGS_set= ac_cv_env_FPPFLAGS_value= ac_cv_env_FPP_set= ac_cv_env_FPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-unknown-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## BUILD_TARGETS='' CC='' CFLAGS='' CPP='' CPPFLAGS='' CYGPATH_W='' DEFS='' DP_KIND='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' F90_RULE='' FC='f77' FCFLAGS='' FCFLAGS_free_f90='' FC_MODEXT='' FC_MODUPPERCASE='' FC_MOD_FLAG='' FFLAGS='' FFLAGS_MPI='' FPP='' FPPDIRECT_FALSE='' FPPDIRECT_TRUE='' FPPFLAGS='' FPPFLAGS_DEF='' FPPFLAGS_fixed_F='' FPPFLAGS_free_F90='' FPP_COMPILE_EXT='' FPP_MAKE_FLAGS='' FPP_OUTPUT='' FPP_PREPROCESS_EXT='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDFLAGS='' LIBEXT='' LIBOBJS='' LIBS='' LINK_O_FLAG='' LTLIBOBJS='' OBJEXT='' OBJSDIR='' PACKAGE_BUGREPORT='[email protected]' PACKAGE_NAME='FoX' PACKAGE_STRING='FoX 4.0.4' PACKAGE_TARNAME='fox' PACKAGE_VERSION='4.0.4' PATH_SEPARATOR=':' RANLIB='' SHELL='/bin/bash' SP_KIND='' VPATH='/home/jv/siesta-3.2-pl-5/Src/FoX' ac_ct_CC='' ac_ct_FC='' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "FoX" #define PACKAGE_TARNAME "fox" #define PACKAGE_VERSION "4.0.4" #define PACKAGE_STRING "FoX 4.0.4" #define PACKAGE_BUGREPORT "[email protected]" configure: exit 1
