[Top][All Lists]

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

Re: [Discuss-gnuradio] Building on Mac OS X 10.7.4 the latest tarball (3

From: Michael Dickens
Subject: Re: [Discuss-gnuradio] Building on Mac OS X 10.7.4 the latest tarball (3.6.2) - I finally did it but just a pair of issues left.....
Date: Mon, 10 Sep 2012 13:00:16 -0400

Hi Arturo - If you check the CMakeCache.txt file in the top level build 
directory, I think you'll find that the PYTHON variables do not match up -- 
some are for 2.6 while others are for 2.7.  Supply the desired values on the 
cmake command line ("cmake -DPYTHON_FOO=BAR ..."), recheck the CMakeCache.txt, 
rebuild everything, then try again and see if that corrects the issue.  I 
-highly- recommend against setting DYLD_LIBRARY_PATH except for when doing 
local "tests" before installing (so as to get the just compiled libraries 
rather than the already installed ones).  Do let me know how this goes. - MLD

On Sep 10, 2012, at 12:01 PM, Arturo Rinaldi <address@hidden> wrote:

> I have finally succedeed in building from source the latest gnuradio stable 
> tarball, the 3.6.2. My sistem is the following :
> Mac OS X 10.7.4 
> Macports 2.1.2
> Xcode 4.4.1
> i satisfied the dependencies with :
> sudo port install boost cmake icu cppunit fftw-3-single gawk \readline gsl 
> texinfo guile python27 py27-numpy py27-nose \
> py27-distribute libsndfile portaudio py27-opengl py27-opengl-accelerate 
> py27-pil lcms py27-tkinter \
> py27-wxpython-devel mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu \
> py27-cheetah py27-gtk libglade2 py27-cairo py27-py py27-gobject py27-lxml 
> doxygen \
> libusb-legacy sdcc29 gputils py27-pyqt4 py27-sip py27-pyqwt qt4-mac dbus 
> libmng qt4-mac qwtplot3d qwt52 libsdl
> and then i build from source with :
> cmake LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include" ../
> the configuration steps validates all the gnuradio modules except for uhd, 
> comedi and shd but at the moment i am not interested in working with them so 
> it's fine for me. After     building and installing i set this two paths in 
> my .profile settings file :
> export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH
> export 
> DYLD_LIBRARY_PATH=/usr/local/lib/python2.7/site-packages/:$DYLD_LIBRARY_PATH
> when i try to start gnuradio-companion or even import the gnuradio package in 
> my IDE i get this error (Python crashes :P):
> Fatal Python error: Interpreter not initialized (version mismatch?)
> Abort trap: 6
> i'm obviusly working with the python27 installed by macports (i.e. the 2.7.3 
> version) and set with the shell command :
> sudo port select python python27
> any suggestion to solve the problem and finally working with gnuradio on a 
> native OS system ?

reply via email to

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