[gmx-users] Need help: error during installation
David van der Spoel
spoel at xray.bmc.uu.se
Sat Sep 8 09:51:50 CEST 2007
shyamala iyer wrote:
> Hi,
>
> I am new to GROMACS and I am having some trouble installing GROMACS in
> my home directory.
> The machine I am currently working on has fftw, gcc and binutils already
> installed
> fftw package installed: fftw3-3.0.1-4
>
> gcc:
> gcc-c++-3.4.6-3.1
> libgcc-3.4.6-3.1
> compat-libgcc-296-2.96-132.7.2
> gcc-3.4.6-3.1
> gcc-java-3.4.6-3.1
> libgcc-3.4.6-3.1
> gcc-g77-3.4.6-3.1
>
> Binutils package:
>
> binutils-2.15.92.0.2-21
>
> After extracting the gromacs-3.3.1 , I followed instructions, went to
> the gromacs dir and typed ./configure with prefix option so that I could
> install GROMACS in my home dir. This fails with the following message:
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking how to create a ustar tar archive... gnutar
> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
>
> The location in config.log where I think it is failing is
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
> configure:2721: $? = 0
> configure:2723: gcc -V </dev/null >&5
> gcc: `-V' option must have argument
> configure:2726: $? = 1
> configure:2749: checking for C compiler default output file name
> configure:2752: gcc -O3 -Wall -pedantic -static $(HDRS) $(DEFINES)
> conftest.c\
> -lm >&5
> gcc: $(HDRS): No such file or directory
> gcc: $(DEFINES): No such file or directory
> configure:2755: $? = 1
> configure: failed program was:
> | /* confdefs.h. */
>
> Does someone have any suggestions that I could follow to try and fix
> this error.
>
> Thanks a lot,
>
> Shyamala
>
are you sure gcc is in your path? try
gcc -v
can you post the few lines following the config.log snippet that you
included.
--
David van der Spoel, Ph.D.
Molec. Biophys. group, Dept. of Cell & Molec. Biol., Uppsala University.
Box 596, 75124 Uppsala, Sweden. Phone: +46184714205. Fax: +4618511755.
spoel at xray.bmc.uu.se spoel at gromacs.org http://folding.bmc.uu.se
More information about the gromacs.org_gmx-users
mailing list