discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] GNU Radio on OS X 10.8.1: 'make test' does fail o


From: Michael Dickens
Subject: Re: [Discuss-gnuradio] GNU Radio on OS X 10.8.1: 'make test' does fail on many tests
Date: Tue, 18 Sep 2012 07:45:01 -0400

Hi Gian - You are probable encountering the PYTHON issue many of us OSX users 
have had as well.  If you do "grep PYTHON CMakeCache.txt" in the top-level 
build directory, you should see included the following variables, set to 
something:

PYTHON_EXECUTABLE:FILEPATH=
PYTHON_INCLUDE_DIR:PATH=
PYTHON_LIBRARY:FILEPATH=

These 3 variables need to refer to the same Python install.  For example, I'm 
using Python 2.7 from MacPorts set specifically, and so I get back:

PYTHON_EXECUTABLE:FILEPATH=/opt/local/bin/python
PYTHON_INCLUDE_DIR:PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
PYTHON_LIBRARY:FILEPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib

If yours do not match up, then you can change that behavior by setting them on 
the cmake command line; for example, what I use is (watching wrap):

cmake .. -DPYTHON_EXECUTABLE=/opt/local/bin/python 
-DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 
-DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib

If this doesn't help, then email me off-list and I'll help you debug the issue. 
- MLD

On Sep 18, 2012, at 5:12 AM, Gian Luca Decurtins <address@hidden> wrote:

> Hi all
> 
> I'm trying to use GNU Radio (3.6.2) on OS X 10.8.1. It does build with some 
> warnings and 'make test' does create many errors.
> 
> It seems that python crashes while performing 'make test' as I do receive Mac 
> OS X crash reports
> 
> I'm not sure if python is setup correctly as 'cmake ../' does find the 
> PyhtonLibs at /usr/lib/libpython2.7.dylib (macports does install everything 
> below /opt).
> Running python from console does work ok. Also I'm able to execute 
> help('modules') in the python console to verify all the dependencies.
> 
> I've red all the OSX Installation Guides available, but in my case they are 
> not suitable for the new cmake type.
> I did install all the dependencies through macports and then I followed the 
> installation instructions "Installing manually from source".
> 
> What do you suggest? Shall I try an installation via homebrew-gnuradio or is 
> there a chance to fix this issue?
> I hope it is not to specific to OS X 10.8.1... But all the software like 
> clang was installed through macports, which seems to be compiled from source.
> 
> I did receive my first radio (Elecraft KX3) some days ago and am looking 
> forward to operate this SDR using GNU Radio.
> 
> Below are some details about my setup. Let me know if I shall provide other 
> information.




reply via email to

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