|
From: | Arturo Rinaldi |
Subject: | Re: [Discuss-gnuradio] GR 3.5.1 & OSX |
Date: | Thu, 22 Mar 2012 14:55:01 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:11.0) Gecko/20120313 Thunderbird/11.0 |
Il 04/03/12 00:18, Carles Fernandez ha scritto:
I think i've sorted out the dependencies for building gnuradio on Lion 10.7.3Hi guys, On OSX 10.6.8 I did the following: $ git clone git://code.ettus.com/ettus/uhd.git $ cd uhd $ mkdir build $ cd build $ cmake ../ $ make $ sudo make install $ cd.. $ git clone git://gnuradio.org/gnuradio $ cd gnuradio $ mkdir build $ cd build cmake ../ ... -- ###################################################### -- # Gnuradio enabled components -- ###################################################### -- * python-support -- * testing-support -- * volk -- * doxygen -- * gruel -- * gnuradio-core -- * gr-atsc -- * gr-audio -- * gr-digital -- * gr-noaa -- * gr-pager -- * gr-qtgui -- * gr-trellis -- * gr-uhd -- * gr-utils -- * gr-video-sdl -- * gr-vocoder -- -- ###################################################### -- # Gnuradio disabled components -- ###################################################### -- * gnuradio-companion -- * gr-comedi -- * gr-shd -- * gr-wxgui -- -- Using install prefix: /usr/local -- Building for version: v3.5.1-196-g4f0add17 / 3.5.2git -- Configuring done -- Generating done ... $ make $ sudo make install It seems that worked! :-) Best regards, Carles On Fri, Mar 2, 2012 at 3:45 PM, Michael Dickens <address@hidden> wrote:On Mar 2, 2012, at 9:39 AM, Arturo Rinaldi wrote:can i build the master git branch on macos X 10.7.3 with cmake ? have i to satisfy the build pre-requisites with macports as usual ?Hi Arturo - I believe that if you use MacPorts to install the background dependencies -- just do "sudo port install gnuradio", and then, hours later, you can remove the installed GNU Radio / usrp ports, if any actually got installed. You'll need to install CMake too, since the current GR ports still use GNU Autotools. You should then be able to use CMake to build GNU Radio from the GIT master on OSX 10.7.3. I'm still using 10.6.8, but I know others who've used 10.7 and had success. Getting the dependencies to install is the tricky part, as always :) Give it a whirl, good luck, and please do let me/the list know if you have issues. - MLD _______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio_______________________________________________ Discuss-gnuradio mailing list address@hidden https://lists.gnu.org/mailman/listinfo/discuss-gnuradio sudo port install boost 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 wxWidgets 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 However : First py27-wxpython doesn't install on macports. I'll post it on the macports mailing list then we aren't able to use the wxgui module Second by using autotools with ./configure LDFLAGS="-L/opt/local/lib" CPPFLAGS="-I/opt/local/include" CC=clang --disable-gr-qtgui --disable-docs builds the latest tarball (3.5.2.1) and i need some help for the DYLD_LIBRARY_PATH because gnuradio-companion start with an error message though PYTHONPATH is correctly set Third downloaded the git version and after the usual steps with cmake, the building crashes at the 3% with the error cc1: error: unrecognized command line option "-mpopcnt" make[2]: *** [volk/lib/CMakeFiles/volk.dir/volk_machine_sse4_a_64.c.o] Error 1 make[1]: *** [volk/lib/CMakeFiles/volk.dir/all] Error 2 make: *** [all] Error 2 any suggest for all the three scenarios ? Best Regards, Arturo Rinaldi |
[Prev in Thread] | Current Thread | [Next in Thread] |