|
From: | Vipin Sharma |
Subject: | Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts |
Date: | Tue, 30 Jan 2018 23:28:14 -0800 |
sudo rm -rf /opt/local /Applications/DarwinPorts /Applications/MacPorts /Library/LaunchDaemons/org.macports.* /Library/Receipts/DarwinPorts*.pkg /Library/Receipts/MacPorts*.pkg /Library/StartupItems/DarwinPortsStartup /Library/Tcl/darwinports1.0 /Library/Tcl/macports1.0 ~/.macports
sudo port selfupdate
sudo port install gnuradio
I got segmentation fault when I tried this:
uhd_fft -f 868M -s 10M
but then after trying
sudo port select --set python python27
Thanks for your support!
Vipin
Alright, I gave it a try after your fix just now. Still not successful. Here is what I do/get. At first it seemed uhd installation went successful but while building gnuradio something goes wrong. I also tried collecting the uhd_rev.txt file from your earlier comment. I will send that file directly to you in the next email.mac01:~ emwaves$ sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.4.2 installed,
MacPorts base version 2.4.2 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
mac01:~ emwaves$ sudo port uninstall gnuradio
---> Deactivating gnuradio @3.7.11_6+docs+grc+jack+
log4cpp+logging+portaudio+ qtgui+sdl+swig+uhd+wavelet+ zeromq ---> Cleaning gnuradio
---> Uninstalling gnuradio @3.7.11_6+docs+grc+jack+
log4cpp+logging+portaudio+ qtgui+sdl+swig+uhd+wavelet+ zeromq ---> Cleaning gnuradio
mac01:~ emwaves$ sudo port uninstall uhd
---> Deactivating uhd @3.10.2.0_1+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Cleaning uhd
---> Uninstalling uhd @3.10.2.0_1+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Cleaning uhd
mac01:~ emwaves$ sudo port install gnuradio
---> Computing dependencies for gtk2
---> Fetching archive for gtk2
---> Attempting to fetch gtk2-2.24.32_0+x11.darwin_16.
x86_64.tbz2 from https://packages.macports.org/ gtk2 ---> Attempting to fetch gtk2-2.24.32_0+x11.darwin_16.
x86_64.tbz2.rmd160 from https://packages.macports.org/ gtk2 ---> Installing gtk2 @2.24.32_0+x11
---> Cleaning gtk2
---> Computing dependencies for gtk2
---> Deactivating gtk2 @2.24.31_0+x11
---> Cleaning gtk2
---> Activating gtk2 @2.24.32_0+x11
---> Cleaning gtk2
---> Computing dependencies for py27-zmq
---> Fetching archive for py27-zmq
---> Attempting to fetch py27-zmq-16.0.4_0.darwin_16.
x86_64.tbz2 from https://packages.macports.org/ py27-zmq ---> Attempting to fetch py27-zmq-16.0.4_0.darwin_16.
x86_64.tbz2.rmd160 from https://packages.macports.org/ py27-zmq ---> Installing py27-zmq @16.0.4_0
---> Cleaning py27-zmq
---> Computing dependencies for py27-zmq
---> Deactivating py27-zmq @16.0.3_0
---> Cleaning py27-zmq
---> Activating py27-zmq @16.0.4_0
---> Cleaning py27-zmq
---> Computing dependencies for gnuradio
The following dependencies will be installed: uhd
Continue? [Y/n]: Y
---> Fetching archive for uhd
---> Attempting to fetch uhd-3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test.darwin_16.x86_ 64.tbz2 from https://packages.macports.org/ uhd ---> Attempting to fetch uhd-3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test.darwin_16.x86_ 64.tbz2 from http://sea.us.packages. macports.org/macports/ packages/uhd ---> Attempting to fetch uhd-3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test.darwin_16.x86_ 64.tbz2 from http://ywg.ca.packages. macports.org/mirror/macports/ packages/uhd ---> Fetching distfiles for uhd
---> Verifying checksums for uhd
---> Extracting uhd
---> Applying patches to uhd
---> Configuring uhd
---> Building uhd
---> Staging uhd into destroot
---> Installing uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Activating uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Cleaning uhd
---> Fetching archive for gnuradio
---> Attempting to fetch gnuradio-3.7.11_6+docs+grc+
jack+log4cpp+logging+ portaudio+qtgui+sdl+swig+uhd+ wavelet+zeromq.darwin_16.x86_ 64.tbz2 from https://packages.macports.org/ gnuradio ---> Attempting to fetch gnuradio-3.7.11_6+docs+grc+
jack+log4cpp+logging+ portaudio+qtgui+sdl+swig+uhd+ wavelet+zeromq.darwin_16.x86_ 64.tbz2 from http://sea.us.packages. macports.org/macports/ packages/gnuradio ---> Attempting to fetch gnuradio-3.7.11_6+docs+grc+
jack+log4cpp+logging+ portaudio+qtgui+sdl+swig+uhd+ wavelet+zeromq.darwin_16.x86_ 64.tbz2 from http://ywg.ca.packages. macports.org/mirror/macports/ packages/gnuradio ---> Fetching distfiles for gnuradio
---> Verifying checksums for gnuradio
---> Extracting gnuradio
---> Applying patches to gnuradio
---> Configuring gnuradio
---> Building gnuradio
---> Staging gnuradio into destroot
---> Installing gnuradio @3.7.11_6+docs+grc+jack+
log4cpp+logging+portaudio+ qtgui+sdl+swig+uhd+wavelet+ zeromq ---> Activating gnuradio @3.7.11_6+docs+grc+jack+
log4cpp+logging+portaudio+ qtgui+sdl+swig+uhd+wavelet+ zeromq ---> Cleaning gnuradio
---> Updating database of binaries
---> Scanning binaries for linking errors
---> Found 76 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: uhd @3.10.2.0+docs+examples+gpsd+
libusb+manpages+manual+ python27+test Continue? [Y/n]: Y
---> Computing dependencies for gpsd
---> Fetching archive for gpsd
---> Attempting to fetch gpsd-3.17_1.darwin_16.x86_64.
tbz2 from https://packages.macports.org/ gpsd ---> Attempting to fetch gpsd-3.17_1.darwin_16.x86_64.
tbz2.rmd160 from https://packages.macports.org/ gpsd ---> Installing gpsd @3.17_1
---> Cleaning gpsd
---> Computing dependencies for gpsd
---> Deactivating gpsd @3.17_0
---> Cleaning gpsd
---> Activating gpsd @3.17_1
---> Cleaning gpsd
---> Computing dependencies for uhd
---> Cleaning uhd
---> Updating database of binaries
---> Scanning binaries for linking errors
---> Found 76 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
---> Rebuilding in order
uhd @3.10.2.0 +docs+examples+gpsd+libusb+
manpages+manual+python27+test ---> Computing dependencies for uhd
---> Fetching distfiles for uhd
---> Verifying checksums for uhd
---> Extracting uhd
---> Applying patches to uhd
---> Configuring uhd
---> Building uhd
---> Staging uhd into destroot
---> Unable to uninstall uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test, the following ports depend on it: ---> gnuradio @3.7.11_6+docs+grc+jack+
log4cpp+logging+portaudio+ qtgui+sdl+swig+uhd+wavelet+ zeromq Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Cleaning uhd
---> Uninstalling uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Cleaning uhd
---> Computing dependencies for uhd
---> Installing uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Activating uhd @3.10.2.0_2+docs+examples+
gpsd+libusb+manpages+manual+ python27+test ---> Cleaning uhd
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
---> Some of the ports you installed have notes:
gpsd has the following notes:
The xgps variant is now needed to get the xgps and xgpsspeed programs.
mac01:~ emwaves$
On Tue, Jan 30, 2018 at 6:02 AM, Michael Dickens <address@hidden> wrote:I pushed fixes into MacPorts this morning. Will be live by around 9:30 AM US/Eastern (about 30 minutes from now). You will need to "selfupdate" or "sync" to get the changes. Please let me know (here or off list) success or failure. Cheers! - MLDOn Mon, Jan 29, 2018, at 8:54 PM, Vipin Sharma wrote:Great; thank you. I will just wait for your fix.
[Prev in Thread] | Current Thread | [Next in Thread] |