Hi Haroldo,
Yup - I'm running Xcode 4.1 as well. Any idea what or where conftest.c is? I see there's a post on Bug-gsl with a similar problem.
Best wishes,
Christian

On 17/08/2011 21:30, Haroldo V. Ribeiro wrote:
Dear Christian,

Have you installed the Xcode? I'm currently using Lion with Xcode 4.1
and gsl 1.15 compiles perfectly.

Best regards,
Haroldo


2011/8/17 Christian Hill <christian.h...@ucl.ac.uk <mailto:christian.h...@ucl.ac.uk>>

    Hello,
    I too am having problems compiling gsl-1.15 on Mac OS X 10.7
    (Lion). I had no problems compiling the same version on 10.6 (Snow
    Leopard). I can't provide a patch, but looking at the config.log
    file, there are problems that begin around here:
    configure:4030: checking how to run the C preprocessor
    configure:4061: gcc -E  conftest.c
    configure:4061: $? = 0
    configure:4075: gcc -E  conftest.c
    conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
    configure:4075: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "gsl"
    | #define PACKAGE_TARNAME "gsl"
    | #define PACKAGE_VERSION "1.15"
    | #define PACKAGE_STRING "gsl 1.15"
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "gsl"
    | #define VERSION "1.15"
    | #define RELEASED /**/
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:4100: result: gcc -E
    configure:4120: gcc -E  conftest.c

    ... more stuff, and then this doesn't look good, either:

    configure:11480: gcc -c -g -O2  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:60: error: expected expression before ')' token
    configure:11480: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "gsl"
    | #define PACKAGE_TARNAME "gsl"

    ... and a bit later:

    configure:11831: gcc -E  conftest.c
    conftest.c:25:20: error: ieeefp.h: No such file or directory

    Anyone got any ideas about what could be going on here?
    Best wishes,
    Christian




    _______________________________________________
    Help-gsl mailing list
    Help-gsl@gnu.org <mailto:Help-gsl@gnu.org>
    https://lists.gnu.org/mailman/listinfo/help-gsl



_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to