Opened 6 months ago

Closed 6 months ago

#65594 closed defect (invalid)

uhd: can not access version 3.15

Reported by: adamgao1996 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: uhd

Description (last modified by ryandesign (Ryan Schmidt))

installed uhd using port, it always show 4.2 version. not sure how to use 3.15 version. Thank you for helping out.

yixuan@Yixuans-MacBook-Pro uhd % port info
uhd @3.15.0.0_6 (science, comms)
Sub-ports:            uhd-39lts, uhd-devel
Variants:             debug, [+]docs, [+]examples, [+]libusb, [+]manpages, [+]manual, python27,
                      [+]python310, python35, python36, python37, python38, python39, [+]python_api,
                      [+]test, universal

Description:          USRP Hardware Driver for Ettus Research Products: Provides the release version,
                      which is typically updated every month or so.
Homepage:             https://kb.ettus.com/UHD

Build Dependencies:   cmake, pkgconfig
Library Dependencies: ncurses, python310, py310-mako, py310-requests, py310-six, libusb, doxygen,
                      py310-docutils, gzip, py310-numpy, py310-pybind11, boost171
Conflicts with:       uhd-devel, uhd-39lts
Platforms:            darwin
License:              GPL-3+
Maintainers:          Email: michaelld@macports.org, GitHub: michaelld


yixuan@Yixuans-MacBook-Pro uhd % uhd_find_devices 
[INFO] [UHD] Mac OS; Clang version 13.1.6 (clang-1316.0.21.2.5); Boost_107900; UHD_4.2.0.HEAD-0-g321295fb
No UHD Devices Found

Change History (4)

comment:1 Changed 6 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Owner: set to michaelld
Status: newassigned
Summary: can not access version 3.15uhd: can not access version 3.15

The uhd port installs version 3.15.0.0. The uhd-devel port installs version 20220728-4.2.0.1-321295fb. Which port did you install? Check with port installed name:^uhd. It sounds like maybe you installed uhd-devel but wanted to install uhd. If so, you can fix it with:

sudo port -f uninstall uhd-devel
sudo port install uhd

comment:2 Changed 6 months ago by michaelld (Michael Dickens)

Echoing what @ryandesign wrote: looks like uhd-devel was installed, not uhd. A minor tweak to his check ... try: port installed name:^uhd and active to get the currently active installed uhd port. I've actually tried this recently, and saw what you note, so I think @ryandesign is correct.

comment:3 Changed 6 months ago by adamgao1996

Hi Everyone. Thanks for the fast reply. Finally found the problem. seems like brew installed a version before.I havn't clean it all up.

comment:4 Changed 6 months ago by michaelld (Michael Dickens)

Resolution: invalid
Status: assignedclosed

Good catch! I was about to note that you have a non-MP UHD install somewhere, based on the [INFO] line -not- containing MacPorts. Closing this ticket.

Note: See TracTickets for help on using tickets.