[gmx-users] Trouble Installing GROMACS
Mark Abraham
mark.abraham at anu.edu.au
Sun Sep 9 04:08:56 CEST 2007
>
> configure:2710: checking for C compiler version
>
> configure:2713: gcc --version </dev/null >&5
>
> gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
>
> Copyright (C) 2006 Free Software Foundation, Inc.
>
> This is free software; see the source for copying conditions. There is NO
>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
>
> configure:2716: $? = 0
So it's finding GCC alright.
> configure:2718: gcc -v </dev/null >&5
>
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
>
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
>
> Thread model: posix
>
> 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
This is the real symptom... configure will not normally attempt to use
these HDRS and DEFINES environment variables. The only guess I'm prepared
to make is that something is broken with your environment. Try downloading
a source distribution of something else (e.g. fftw3) and see if it
configures correctly, or has a similar problem.
> configure:2755: $? = 1
>
> configure: failed program was:
>
> | /* confdefs.h. */
>
> |
>
> | #define PACKAGE_NAME "GROMACS"
>
> | #define PACKAGE_TARNAME "gromacs"
>
> | #define PACKAGE_VERSION "3.3.1"
>
> | #define PACKAGE_STRING "GROMACS 3.3.1"
>
> | #define PACKAGE_BUGREPORT "gmx-users at gromacs.org"
>
> | #define PACKAGE "gromacs"
>
> | #define VERSION "3.3.1"
>
> | #define GMX_SOFTWARE_SQRT
>
> | #define GMX_QMMM_GAUSSIAN
>
> | #define BUILD_TIME "Sat Sep 8 10:43:40 PDT 2007"
>
> | #define BUILD_USER "shyamala at nirvana.compbio.washington.edu"
>
> | #define BUILD_MACHINE "Linux 2.6.9-42.0.10.ELsmp x86_64"
>
> | /* end confdefs.h. */
>
> |
>
> | int
>
> | main ()
>
> | {
>
> |
>
> | ;
>
> | return 0;
>
> | }
>
> configure:2794: error: C compiler cannot create executables
Mark
More information about the gromacs.org_gmx-users
mailing list