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: Josef Vukovic
Subject: Re: [Discuss-gnuradio] OS X Configure script error
Date: Sun, 9 Aug 2009 01:15:45 +0200

I have the same problem. g77 is not the source of failure I wrote a small fortran programm
and g77 test.f produces a.out which runs fine. It must be something wrong with conftest.f
I guess.

If you have a osx 10.5 (leopard) you can try to install gnuradio from macports
sudo port install gnuradio

Can I have your config.log? Also I would like to have config.log from a working gnuradio installation.

My System:

uname -m = Power Macintosh
uname -r = 8.11.0
uname -s = Darwin
uname -v = Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
         Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc7450 (PowerPC 7450)
Processor active: 0
Primary memory available: 1.50 gigabytes
Default processor set: 67 tasks, 214 threads, 1 processors
Load average: 2.11, Mach factor: 0.44
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

Is it a issue when reportet unkown ?

2009/8/8 Chukhman, Ilya A. <address@hidden>
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


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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