Opened 12 years ago
Closed 12 years ago
#38231 closed defect (worksforme)
gnuradio port not installing due to bad Boost version (1.52)
Reported by: | franzi.roesner@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | gnuradio |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I'm trying to install gnuradio (3.6.4) on my machine (OS X 10.6.8) using "sudo port install gnuradio +full". No matter what I try, I can't seem to get gnuradio files installed anywhere, similar to this previous issue, although the resolution there doesn't seem to apply to me: #37558.
Thanks!
Attachments (2)
Change History (16)
comment:1 Changed 12 years ago by franzi.roesner@…
Cc: | franzi.roesner@… added |
---|
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | franzi.roesner@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to michaelld@… |
Please attach the main.log of the build failure.
comment:3 Changed 12 years ago by franzi.roesner@…
Sorry, where should main.log be? To be clear, it doesn't report a build failure -- I just don't end up with any gnuradio related files in python site-packages directories, when I try to execute gnuradio-companion I get command not found, etc.
comment:4 follow-up: 5 Changed 12 years ago by michaelld (Michael Dickens)
What does "port installed gnuradio" return?
comment:5 Changed 12 years ago by franzi.roesner@…
Replying to michaelld@…:
What does "port installed gnuradio" return?
The following ports are currently installed: gnuradio @3.6.4_0+docs+full+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui (active)
comment:6 Changed 12 years ago by michaelld (Michael Dickens)
OK. Next up is to do:
port contents gnuradio > ~/Desktop/gnuradio_contents.txt 2>&1
and then attach the created file "~/Desktop/gnuradio_contents.txt" to this ticket. Also, what does "env" return?
Changed 12 years ago by franzi.roesner@…
Attachment: | gnuradio_contents.txt added |
---|
comment:7 Changed 12 years ago by franzi.roesner@…
Okay, file attached, and env returns:
TERM_PROGRAM=Apple_Terminal TERM=xterm-color SHELL=/bin/bash TMPDIR=/var/folders/Ui/UitL3QVxEV4FJNBEn+aAT++++TI/-Tmp-/ Apple_PubSub_Socket_Render=/tmp/launch-jQjNcL/Render TERM_PROGRAM_VERSION=273.1 USER=franzi COMMAND_MODE=unix2003 SSH_AUTH_SOCK=/tmp/launch-XpTjhc/Listeners __CF_USER_TEXT_ENCODING=0x1F5:0:0 PATH=/opt/local/bin:/opt/local/sbin:/Users/franzi/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/Users/franzi/Documents/Programming/Android/android-sdk-macosx/platform-tools:/Users/franzi/Documents/Programming/Chrome/depot_tools PWD=/Users/franzi LANG=en_US.UTF-8 SHLVL=1 HOME=/Users/franzi PYTHONPATH=/opt/local/lib/python2.7/site-packages:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ LOGNAME=franzi USE_CCACHE=1 DISPLAY=/tmp/launch-gzDhL7/org.x:0 _=/usr/bin/env
comment:8 Changed 12 years ago by michaelld (Michael Dickens)
The 'env' looks fine. You probably do not need to set PYTHONPATH to the "/opt/local" parts (which means all of it); MacPorts' python27 already knows to look in those places. But, it won't hurt either. PATH is good.
At to contents: It does indeed look like the gnuradio port is not installing a bunch of stuff; strange. Please do the following:
sudo port -d configure gnuradio +full > ~/Desktop/gnuradio_configure_full.txt 2>&1
and then attach the file "~/Desktop/gnuradio_configure_full.txt" here.
Changed 12 years ago by franzi.roesner@…
Attachment: | gnuradio_configure_full.txt added |
---|
comment:9 Changed 12 years ago by franzi.roesner@…
Okay, done. I noticed a warning about a bad version of Boost, but there may be other things going on. Thanks!
comment:10 Changed 12 years ago by michaelld (Michael Dickens)
Summary: | gnuradio port not installing → gnuradio port not installing due to bad Boost version (1.52) |
---|
Yes, that's the issue: Boost 1.52 is known to break threading (not just in GNU Radio, but in general) and hence was removed from the "known good boost" list inside GNU Radio's CMake build scripts. Because you have Boost 1.52 installed and active, CMake is pretty much refusing to compile anything; which is what it is supposed to do in this circumstance. For more info, see this thread from the GNU Radio discuss list. Follow the instructions from this email to deal with the problem and get the gnuradio port installed and working. You'll also want to do:
sudo port uninstall gnuradio
and then, once boost 1.51 is active, try installing "gnuradio +full" again; should work next time.
I do not know when the MacPorts folks will get Boost 1.53 up and running -- it has been out for quite a while now, but the "boost" port owner has not updated the port yet. I was really hoping that Boost would get updated to 1.53 before anyone had this issue; ah well :)
comment:11 Changed 12 years ago by franzi.roesner@…
Thanks for your quick responses! I'll try this :)
comment:12 Changed 12 years ago by michaelld (Michael Dickens)
You're welcome; I hope those do the trick for you.
comment:14 Changed 12 years ago by michaelld (Michael Dickens)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
You're welcome; thanks for being so responsive!
Cc Me!