On 1/31/12 6:28 AM, OYEDAPO OLUFEMI wrote:
>
>
>
> Thanks for the assistance, see below, the portion you requested me to copy. I hope this one helps:
>
> Thanks
>
>
>
>
>
>
>
> configure:4127: $? = 0
> configure:4116: gcc -v >&5
> Using built-in specs.
> Target: i686-apple-darwin11
> Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.1~22/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
> Thread model: posix
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
> configure:4127: $? = 0
> configure:4116: gcc -V >&5
> llvm-gcc-4.2: argument to `-V' is missing
> configure:4127: $? = 1
> configure:4116: gcc -qversion >&5
> i686-apple-darwin11-llvm-gcc-4.2: no input files
> configure:4127: $? = 1
> configure:4147: checking whether the C compiler works
> configure:4169: gcc conftest.c >&5
> configure:4173: $? = 0
> configure:4221: result: yes
> configure:4224: checking for C compiler default output file name
> configure:4226: result: a.out
> configure:4232: checking for suffix of executables
> configure:4239: gcc -o conftest conftest.c >&5
> configure:4243: $? = 0
> configure:4265: result:
> configure:4287: checking whether we are cross compiling
> configure:4295: gcc -o conftest conftest.c >&5
> configure:4299: $? = 0
> configure:4306: ./conftest
> configure:4310: $? = 0
> configure:4325: result: no
> configure:4330: checking for suffix of object files
> : : :
> : : :
> configure:14568: checking whether C compiler accepts -mpreferred-stack-boundary=4
> configure:14583: gcc -std=gnu99 -c -mpreferred-stack-boundary=4 conftest.c >&5
> configure:14583: $? = 0
> configure:14591: result: yes
> configure:14595: checking whether the stack is at least 8-byte aligned by gcc
> configure:14599: checking whether C compiler accepts -malign-double
> configure:14628: result: no
> configure:14690: gcc -std=gnu99 -o conftest -O conftest.c -lm >&5
> configure:14690: $? = 0
> configure:14690: ./conftest
> configure:14690: $? = 0
> configure:14700: result: yes
> configure:14790: checking for g77
> configure:14820: result: no
> configure:14790: checking for xlf
> configure:14820: result: no
> configure:14790: checking for f77
> configure:14820: result: no
> configure:14790: checking for frt
> configure:14820: result: no
> configure:14790: checking for pgf77
> configure:14820: result: no
> configure:14790: checking for cf77
> configure:14820: result: no
> configure:14790: checking for fort77
> configure:14820: result: no
> configure:14790: checking for fl32
> configure:14820: result: no
> configure:14790: checking for af77
> configure:14820: result: no
> configure:14790: checking for xlf90
> configure:14820: result: no
> configure:14790: checking for f90
> configure:14820: result: no
> configure:14790: checking for pgf90
> configure:14820: result: no
> configure:14790: checking for pghpf
> configure:14820: result: no
> configure:14790: checking for epcf90
> configure:14820: result: no
> configure:14790: checking for gfortran
> configure:14806: found /usr/local/bin/gfortran
> configure:14817: result: gfortran
> configure:14843: checking for Fortran 77 compiler version
> configure:14852: gfortran --version >&5
> GNU Fortran (GCC) 4.6.1
> Copyright (C) 2011 Free Software Foundation, Inc.
>
> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute copies of GNU Fortran
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING
>
> configure:14863: $? = 0
> configure:14852: gfortran -v >&5
> Using built-in specs.
> COLLECT_GCC=gfortran
> COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin11.0.0/4.6.1/lto-wrapper
> Target: x86_64-apple-darwin11.0.0
> Configured with: ../gcc-4.6.1/configure --enable-languages=fortran
> Thread model: posix
> gcc version 4.6.1 (GCC)
> configure:14863: $? = 0
> configure:14852: gfortran -V >&5
> gfortran: error: unrecognized option '-V'
> gfortran: fatal error: no input files
> compilation terminated.
> configure:14863: $? = 1
> configure:14852: gfortran -qversion >&5
> gfortran: error: unrecognized option '-qversion'
> gfortran: fatal error: no input files
> compilation terminated.
> configure:14863: $? = 1
> configure:14872: checking whether we are using the GNU Fortran 77 compiler
> configure:14885: gfortran -c conftest.F >&5
> configure:14885: $? = 0
> configure:14894: result: yes
>
>
>
>
>
>
>
>
>
>
>
> On Mon, 30 Jan 2012 08:16:55 -0500, Alexander Hansen wrote:
>

On 1/30/12 4:36 AM, OYEDAPO OLUFEMI wrote:Repeating myself:
>>> You need to post some more lines after this point. There should be text saying "Checking whether the C compiler works." That's where your error comes from, and so that's what we need to see. Post a few lines around that point.
Look for "Checking whether the C compiler works".  Then look for
"error:  C compiler cannot create executables".   We need the
config.log text between (and including) those two lines.
I don't see "error: C compiler cannot create executables", and that's the important part.  Without that, there's no way to help you. 

Just send me the log.