discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] Building on Mac OS X 10.7.4 the latest tarball (3.6.2


From: Arturo Rinaldi
Subject: [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 18:01:10 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120824 Thunderbird/15.0

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 ?

Kind Regards,

             Arturo 


reply via email to

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