Opened 11 years ago
Closed 11 years ago
#41733 closed defect (worksforme)
gnuradio @3.7.2.1 installation fails to complete
Reported by: | guycole@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | melnakeeb@… | |
Port: | gnuradio |
Description
Hello, I am attempting to install gnuradio on OS X 10.8.5 and XCode 5.0.2
Installation runs and then stops without complaint or completion. I notice there are many dot/doxygen processes started but not doing any work.
The last few lines are below and I will attach the installation log.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build' /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles [100%] Built target _trellis_swig
Please advise how I might get gnuradio to complete installation. Thank you.
Attachments (3)
Change History (23)
Changed 11 years ago by guycole@…
comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)
Cc: | michaelld removed |
---|---|
Owner: | changed from macports-tickets@… to michaelld@… |
Trac requires complete email addresses.
comment:2 Changed 11 years ago by michaelld (Michael Dickens)
Can you try the following and see if you get the same results:
sudo port selfupdate sudo port -f deactivate gnuradio sudo port install gnuradio-devel
I saw this for a while with the devel branch, but it seems to have gone away in my testing, maybe in the last week. I had thought it was just an oddity of my system, but maybe it's more than that.
comment:3 Changed 11 years ago by guycole@…
I get the same behavior w/gnuradio-devel - the build just completed _trellis_swig, many dot/doxygen processes and no work. I will try to attach the log.
Changed 11 years ago by guycole@…
Attachment: | main.2.log added |
---|
installation log from gnuradio-devel
comment:4 follow-up: 5 Changed 11 years ago by michaelld (Michael Dickens)
Can you try the following:
sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio-devel | sed -e "s@(active)@@g"` sudo port selfupdate sudo port install gnuradio-devel
and see if that works. The current gnuradio ports have a few issues I'm working on right now, and the above is one way around them.
comment:5 Changed 11 years ago by guycole@…
Replying to michaelld@…:
Thank you for trying to solve my problem. I have made another attempt w/a fresh install of gnuradio-devel but there was no improvement (i.e. complete building trellis and then hang w/many dot/doxygen processes).
Please let me know if there is anything else I could try.
Can you try the following:
sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio-devel | sed -e "s@(active)@@g"` sudo port selfupdate sudo port install gnuradio-develand see if that works. The current gnuradio ports have a few issues I'm working on right now, and the above is one way around them.
comment:6 follow-up: 7 Changed 11 years ago by michaelld (Michael Dickens)
What I'm wondering is why the dot/doxygen issues have disappeared for me, but not for you. I'm running the same basic setup as you (10.8.5, Xcode 5.0.2); I ams using MacPorts from SVN trunk, which might be different than you. Otherwise, I'd guess we're about the same. Strange. I will think more and see what else comes to mind.
comment:7 Changed 11 years ago by guycole@…
Replying to michaelld@…: Unsure if this is relevant, I uninstalled macports and reinstalled over the weekend (so everything I have should be latest version).
What I'm wondering is why the dot/doxygen issues have disappeared for me, but not for you. I'm running the same basic setup as you (10.8.5, Xcode 5.0.2); I ams using MacPorts from SVN trunk, which might be different than you. Otherwise, I'd guess we're about the same. Strange. I will think more and see what else comes to mind.
comment:8 follow-up: 9 Changed 11 years ago by michaelld (Michael Dickens)
Did you install MacPorts from source or use a pre-built pkg binary? If from source, was is the tarball or SVN trunk? I'm not sure how relevant these are; I'm mostly being thorough / clear.
comment:9 Changed 11 years ago by guycole@…
Replying to michaelld@…:
Everything (so far) from packages.
Did you install MacPorts from source or use a pre-built pkg binary? If from source, was is the tarball or SVN trunk? I'm not sure how relevant these are; I'm mostly being thorough / clear.
comment:10 Changed 11 years ago by michaelld (Michael Dickens)
I think it will go away shortly of its own accord -- I'm guessing this has to do with the version of MacPorts being used, but I can't say for sure; so, maybe at the next MacPorts release?
Anyway, here's what I did to get around this issue, when I had it.
sudo port clean gnuradio gnruadio-devel sudo port install gnuradio
and, then after a while, ^C (control-C; kill) the process. The dot/doxygen processes will slowly die off on their own. Next (at any time) do:
sudo port install gnuradio
again and this time it should complete. If so, try out GNU Radio to make sure things work. I usually try the following:
/opt/local/share/gnuradio/examples/audio/dial_tone.py
and if that produces a "dial tone", then do:
cp /opt/local/share/gnuradio/examples/audio/dial_tone.grc ~/Desktop gnuradio-companion ~/Desktop/dial_tone.grc
and then click the gears ("Execute The Flow Graph") to verify that that works too.
comment:12 Changed 11 years ago by melnakeeb@…
I am using the same configuration OS X 10.8.5 , Xcode 5.0.2 , Macports 2.2.1 , gnuradio 3.7.2.1
it installs normally using macports but when I try /opt/local/share/gnuradio/examples/audio/dial_tone.py I get:
Traceback (most recent call last):
File "/opt/local/share/gnuradio/examples/audio/dial_tone.py", line 25, in <module>
from gnuradio import audio
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/audio/init.py", line 36, in <module>
from audio_swig import *
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/audio/audio_swig.py", line 28, in <module>
_audio_swig = swig_import_helper()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/audio/audio_swig.py", line 24, in swig_import_helper
_mod = imp.load_module('_audio_swig', fp, pathname, description)
ImportError: dynamic module does not define init function (init_audio_swig)
comment:13 Changed 11 years ago by michaelld (Michael Dickens)
@melnakeeb: You have a different problem than this ticket's; you should have opened a new ticket. That said ... can you try the following:
sudo port -f deactivate `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port install gnuradio
and then try running the dial_tone.py example again. Hopefully it will work this time.
comment:14 Changed 11 years ago by michaelld (Michael Dickens)
Any word on whether this is still an issue? I had this issue for a while; doing a "selfupdate" fixed it without me having to do anything else.
comment:15 Changed 11 years ago by guycole@…
Yes, I still have the same problem for gnuradio and gnuradio devel.
comment:16 follow-up: 17 Changed 11 years ago by michaelld (Michael Dickens)
OK; can you try the following again:
sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio
and see if that works. If so, try running the dial tone example again:
/opt/local/share/gnuradio/examples/audio/dial_tone.py
If either the install or the dial_tone fails, can you do the following:
cp `port logfile gnuradio` ~/Desktop/gr_log.txt bzip2 ~/Desktop/gr_log.txt
and then attach the compressed logfile to this ticket.
Changed 11 years ago by guycole@…
Attachment: | main.log.gz added |
---|
comment:17 Changed 11 years ago by guycole@…
Replying to michaelld@…:
I tried the commands you suggest but the build still hangs after building trellis_swig leaving many dot/doxygen processes. I have attached main.log.gz, thanks for looking.
OK; can you try the following again:
sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradioand see if that works. If so, try running the dial tone example again:
/opt/local/share/gnuradio/examples/audio/dial_tone.py }}} If either the install or the dial_tone fails, can you do the following:
cp `port logfile gnuradio` ~/Desktop/gr_log.txt bzip2 ~/Desktop/gr_log.txtand then attach the compressed logfile to this ticket.
comment:18 follow-up: 19 Changed 11 years ago by michaelld (Michael Dickens)
I recently pushed the 3.7.3 release and I'm wondering if this helps you. Can you try the following (slight variation on the usual):
sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio use_parallel_build=no
and see if it works? Depending on your CPU / memory, this can take quite a while -- on my 2012 MacBook Pro it takes ~10 minutes (with a fast SSD) but on my 2010 MacBook Pro it takes more like 45 minutes (with a 7200 rpm hard drive) ... so, be patient. Maybe let it go overnight.
comment:19 Changed 11 years ago by guycole@…
Replying to michaelld@…:
Hello. I have good news and bad news. The bad news is that (just this week) I had time to update to OSX 10.9.2 so I no longer have a 10.8.5 environment. The good news is that I was able to compile and use gnuradio. Sorry I wasn't able to verify your fix on 10.8.5 but at least now I am able to enjoy your hard work on the port. Thank you for helping.
I recently pushed the 3.7.3 release and I'm wondering if this helps you. Can you try the following (slight variation on the usual):
sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio use_parallel_build=noand see if it works? Depending on your CPU / memory, this can take quite a while -- on my 2012 MacBook Pro it takes ~10 minutes (with a fast SSD) but on my 2010 MacBook Pro it takes more like 45 minutes (with a 7200 rpm hard drive) ... so, be patient. Maybe let it go overnight.
comment:20 Changed 11 years ago by michaelld (Michael Dickens)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
OK; well, that's good news all around for me if GNU Radio now works for you! Thanks for reporting back, and have fun with GNU Radio.
installation log