discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] MacPorts and GNU Radio 32-bit


From: Marcel Maatkamp
Subject: Re: [Discuss-gnuradio] MacPorts and GNU Radio 32-bit
Date: Wed, 10 Feb 2010 00:12:53 +0100

I had the same error, but by upgrading port and cleaning gnuradio this error went away:
 
  % sudo port selfupdate
 % sudo port upgrade outdated
 % sudo port clean gnuradio
 % sudo port install gnuradio

After that it somehow still tries to install wxPython and will halt with this error:

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-wxpython/work/wxPython-src-2.8.9.1/wxPython" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py build " returned error 1
Command output:                  from include/wx/wxPython/wxPython.h:22,
                 from src/mac/_gdi_wrap.cpp:2736:
/opt/local/lib/wx/include/mac-unicode-release-2.8/wx/setup.h:962:1: warning: "SIZEOF_SIZE_T" redefined

If you get that error, omit the package py26-wxpython and install the other missing packages with:

 % sudo port install py26-cheetah py26-gtk atk gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes p5-xml-parser py26-libxml2 rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils gtk2 cairo libpixman jasper pango shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto libglade2 py26-cairo py26-gobject libffi py26-lxml gnuradio-gsm-fr-vocoder gnuradio-pager gnuradio-radar-mono gnuradio-radio-astronomy gnuradio-sounder gnuradio-trellis gnuradio-usrp gnuradio-video-sdl

After that everything is installed except gnuradio-utils which seems to depend on gnuradio-wxgui and py26-wxpython

gr,
 marcel maatkamp

2010/2/9 Kunal Kandekar <address@hidden>
Hi,
As another OS X + GNU Radio user, I really appreciate your efforts! I tried running "sudo port install gnuradio" on my MacBook Pro running 10.6.2. It fails with the following error:

----

libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../../.. -DOMNITHREAD_POSIX=1 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/runtime -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/general -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/general -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/gengen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/gengen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/filter -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/filter -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/missing -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/reed-solomon -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/viterbi -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/io -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/g72x -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/swig -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/hier -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gnuradio-core/work/gnuradio-3.2/gnuradio-core/src/lib/swig -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gnuradio -I/opt/local/include -I/opt/local/include -O2 -arch x86_64 -MT float_dotprod_sse.lo -MD -MP -MF .deps/float_dotprod_sse.Tpo -c float_dotprod_sse.S  -fno-common -DPIC -o .libs/float_dotprod_sse.o
float_dotprod_sse.S:63:suffix or operands invalid for `push'
float_dotprod_sse.S:163:suffix or operands invalid for `pop'
make[6]: *** [float_dotprod_sse.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
mv -f .deps/ccomplex_dotprod_generic.Tpo .deps/ccomplex_dotprod_generic.Plo
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: gnuradio-audio-jack gnuradio-core jack libsndfile flac libxslt gnuradio-audio-osx gnuradio-audio-portaudio portaudio gnuradio-cvsd-vocoder gnuradio-gpio usrp gnuradio-grc gnuradio-wxgui py26-numpy py26-nose py26-setuptools py26-opengl py26-pil py26-wxpython wxWidgets py26-cheetah py26-gtk atk gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes p5-xml-parser py26-libxml2 rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils gtk2 jasper shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-fixesproto xorg-libXfixes xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto libglade2 py26-cairo py26-gobject libffi py26-lxml gnuradio-gsm-fr-vocoder gnuradio-pager gnuradio-radar-mono gnuradio-radio-astronomy gnuradio-sounder gnuradio-trellis gnuradio-usrp gnuradio-utils gnuradio-video-sdl
Error: Status 1 encountered during processing.

----

This is the same error as ticket #21292. I've seen "suffix or operands invalid" types of errors while trying to compile other projects on 10.6 too (most recently, for ffmpeg and libavcodec). As you have guessed, it has something to do with disparities between 32-bit and 64-bit architecture asm instructions. Hence, I am not sure if these files can be compiled for 64-bit only by twiddling configure parameters...  In some cases, I have managed to get past such problems by using "gcc -m32", but this has often cause problems later on in the build process, for instance, linking with 64-bit frameworks.

Thanks,
Kunal


On Tue, Feb 9, 2010 at 12:14 PM, Michael Dickens <address@hidden> wrote:
I've checked in MacPorts modifications that should allow for installing GNU Radio 3.2.2 via MacPorts on 10.5 (Intel or PPC; 32 or 64 bit; "universal" too) or 10.6 (32 or 64 bit, except for gr-wxgui since it relies on wxPython which doesn't have a 64-bit compatible version yet; wxWidgets 2.9.0 claims to be 64-bit on OSX, finally).  If there are any OSX users of GNU Radio who have some spare time / cycles, can you please give MacPorts a try to see if "sudo port install gnuradio" (or, some subset such as just "sudo port install gnuradio-audio-osx") works for you -- and get back to me if not. - MLD



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


_______________________________________________
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]