discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Discuss-gnuradio] OS X Configure script error


From: Chukhman, Ilya A.
Subject: RE: [Discuss-gnuradio] OS X Configure script error
Date: Fri, 7 Aug 2009 22:05:14 -0400

You were right, I did not have a Fortran compiler installed.  I installed g77 
but still get the same error.  I also checked 
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/ 
and there is Python.h in that directory.

Here is a part of config.log 

Thanks,
Ilya

configure:20010: checking Python.h usability
configure:20010: g77 -c -g -O2 conftest.f >&5
In file included from conftest.f:0:
conftest.f:16: error: undefined or invalid # directive
conftest.f:17: error: undefined or invalid # directive
conftest.f:18: error: undefined or invalid # directive
conftest.f:19: error: undefined or invalid # directive
conftest.f:20: error: undefined or invalid # directive
conftest.f:21: error: undefined or invalid # directive
conftest.f:22: error: undefined or invalid # directive
conftest.f:23: error: undefined or invalid # directive
conftest.f:24: error: undefined or invalid # directive
conftest.f:25: error: undefined or invalid # directive
conftest.f:26: error: undefined or invalid # directive
conftest.f:27: error: undefined or invalid # directive
conftest.f:28: error: undefined or invalid # directive
conftest.f:29: error: undefined or invalid # directive
conftest.f:30: error: undefined or invalid # directive
conftest.f:31: error: undefined or invalid # directive
conftest.f:32: error: undefined or invalid # directive
conftest.f:33: error: undefined or invalid # directive
conftest.f:34: error: undefined or invalid # directive
conftest.f:35: error: undefined or invalid # directive
conftest.f:36: error: undefined or invalid # directive
conftest.f:37: error: undefined or invalid # directive
conftest.f:38: error: undefined or invalid # directive
conftest.f:39: error: undefined or invalid # directive
conftest.f:40: error: undefined or invalid # directive
conftest.f:41: error: undefined or invalid # directive
conftest.f:42: error: undefined or invalid # directive
conftest.f:43: error: undefined or invalid # directive
conftest.f:44: error: undefined or invalid # directive
conftest.f:45: error: undefined or invalid # directive
conftest.f:46: error: undefined or invalid # directive
conftest.f:47: error: undefined or invalid # directive
conftest.f:48: error: undefined or invalid # directive
conftest.f:49: error: undefined or invalid # directive
configure:20010: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gnuradio"
| #define VERSION "3.3svn"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define CXX_HAS_STD_ISNAN /**/
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <Python.h>
configure:20010: result: no
configure:20010: checking Python.h presence
configure:20010: gcc -E  
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 
conftest.f
i686-apple-darwin9-gcc-4.0.1: conftest.f: Fortran compiler not installed on 
this system
configure:20010: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "gnuradio"
| #define VERSION "3.3svn"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define CXX_HAS_STD_ISNAN /**/
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <Python.h>
configure:20010: result: no
configure:20010: checking for Python.h
configure:20010: result: no
configure:20017: error: cannot find usable Python headers

________________________________________
From: Jason Uher address@hidden
Sent: Friday, August 07, 2009 12:57 PM
To: Chukhman, Ilya A.; address@hidden
Subject: Re: [Discuss-gnuradio] OS X Configure script error

>> checking whether we are using the GNU Fortran 77 compiler... (cached) no

I'm about 90% sure that the check for python.h uses a fortran script,
and configure fails when the fortran fails.  If you don't have fortran
that my be why that step is failing.

Check your config.log for errors pertaining to python.h, if that is
your problem then there should be something like:

> checking Python.h usability
> g77 -c -g -O2 conftest.f >&5
> (failure messages)


Jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]