Thanks for all the replies. Following Martin's suggestion, I added the appropriate line to config.yml. After this my install command attempted the source install, but died with the same problem that my gnuradio install died yesterday -- problem finding boost components. I followed Derek's suggestion to install boost 1.54. Unfortunately, that didn't fix the problem I'm having with the uhd install. (See attached txt file for details.)
Next, I edited the boost.lwr recipe and changed all "1.53" to "1.54" and all "1_53" to "1_54". Now, the uhd install works. I'm not sure if this was the right way to fix the problem but it worked for me. However, I see that it installed the latest master (UHD_003.010.git-0-42a3eeb6) even though I had modified the uhd recipe file with the line "gitrev: tags/release_003_009_002" which is what has worked for me in the past in order to get a specific version. Perhaps the install is not using the recipe file I think... Martin, I do have one question about the lines you suggested that I add to config.yml. Without those lines, shouldn't the command "pybombs install uhd" have done a binary install? Yesterday, I found no evidence of a binary install, but today I found an old version 3.5.5. I'm not sure if this installed during the uhd install or when I later tried to install gnuradio. In any event, I am wondering if there is a way to configure pybombs to do a binary install but to use a specific version such as 3.9.2? Rob On Thu, Jan 28, 2016 at 5:18 AM, Martin Braun <martin.br...@ettus.com> wrote: > Hey Rob, > > thanks for trying PyBOMBS and sorry for the lack of an announcement on > usrp-users. I will announce it there once we release the next version > (which will be very soon) because I've fixed some issues and also made > UHD installation easier. > > In your case, to install UHD, do the following: > > 1) Create a prefix. Run one of these commands: > a) $ pybombs prefix init -a default ~/path/to/prefix > b) $ sudo pybombs prefix init -a default /usr/local > > The latter will put all source installs in the system, the former will > put them somewhere in your home dir. For the record: Most people will > want a). > > 2) Define this as the default prefix: > $ pybombs config default_prefix default > > This step is not required, but if lets you skip the -p option for all > following PyBOMBS commands. > > 3) Now comes the complicated part, which will be changed in the next > version. PyBOMBS provides no defaults on which packages to install from > source rather than from apt-get or whatever. You need to configure your > prefix to override system defaults to source. To do this, edit the > <prefix>/.pybombs/config.yml file and add the lines from here: > > https://github.com/gnuradio/pybombs/blob/master/pybombs/skel/.pybombs/config.yml > > (or just copy that file there). > > 4) Now you can just do 'pybombs install uhd' and it will install UHD > from source to your prefix. At any time, you can then 'pybombs update > uhd' to re-pull master and re-build. > > Hope this helps! > > M > > On 01/28/2016 12:11 AM, Rob Kossler wrote: > > Hi, > > I just setup a new system and as I attempted to install UHD via PyBOMBS, > > I stumbled on the PyBOMBS 2.0 changeover. Since I typically only follow > > the usrp-users list and not the gnuradio list, I didn't see the > > announcement of this changeover. > > > > I am having trouble with the install. I really am only interested in > > installing UHD (source code install), so I tried the following line, but > > nothing really happened. Afterwards, I do not see any UHD installation > > in my prefix location. Also, it is not clear to me how I would choose > > whether this install should be a source install or binary install. > > > > $ pybombs install uhd > > PyBombs.install - INFO - No packages to install. > > > > Any idea why the above does not seem to do anything? > > > > > > When this didn't seem to work, I decided to go ahead and install > > gnuradio since previous PyBOMBS installs of this type would also install > > UHD as a source code install. This install failed - the results are in > > the attached TXT file. Basically, it looks like it can't find some > > boost component, but it is not clear to me why it couldn't fix the > > problem and install what it needed. There are plenty of boost warnings, > > but I'm not sure if they are benign or not. > > > > Let me know any suggestions. Thanks. > > > > Rob > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > Discuss-gnuradio@gnu.org > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
irisheyes1: ~$ irisheyes1: ~$ sudo apt-get install libboost1.53-dev Reading package lists... Done Building dependency tree Reading state information... Done Package libboost1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libboost1.54-tools-dev:i386 libboost1.54-tools-dev libboost1.55-tools-dev:i386 libboost1.55-tools-dev E: Package 'libboost1.53-dev' has no installation candidate irisheyes1: ~$ irisheyes1: ~$ sudo apt-get install libboost1.54-dev Reading package lists... Done Building dependency tree Reading state information... Done libboost1.54-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded. irisheyes1: ~$ irisheyes1: ~$ pybombs install uhd | +- uhd | \- boost PyBombs.install - INFO - Installing package: boost Reading package lists... Done Building dependency tree Reading state information... Done Package libboost1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: libboost1.54-tools-dev:i386 libboost1.54-tools-dev libboost1.55-tools-dev:i386 libboost1.55-tools-dev E: Package 'libboost1.53-dev' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-date-time1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-date-time1.53-dev' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-filesystem1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-filesystem1.53-dev' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-program-options1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-program-options1.53-dev' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-regex1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-regex1.53-dev' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-thread1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-thread1.53-dev' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done Package libboost-test1.53-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libboost-test1.53-dev' has no installation candidate PyBombs.install - INFO - Installation successful. PyBombs.install - INFO - Installing package: uhd PyBombs.Packager.source - WARNING - Build dir already exists: /home/irisheyes1/target/src/uhd/host/build Configuring: (100%) [=========================================================] PyBombs.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity. -- -- Configuring the python interpreter... -- Python interpreter: /usr/bin/python -- Override with: -DPYTHON_EXECUTABLE=<path-to-python> Traceback (most recent call last): File "<string>", line 1, in <module> IndexError: list index out of range -- Using UHD Images Directory: OFF -- -- Configuring Boost C++ Libraries... -- Could NOT find Boost -- Boost include directories: /usr/include -- Boost library directories: -- Boost libraries: -- -- Python checking for Python version 2.6 or greater -- Python checking for Python version 2.6 or greater - found -- -- Python checking for Mako templates 0.4 or greater -- Python checking for Mako templates 0.4 or greater - found -- -- Configuring LibUHD support... -- Dependency Boost_FOUND = 0 -- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE -- Dependency HAVE_PYTHON_MODULE_MAKO = TRUE CMake Error at cmake/Modules/UHDComponent.cmake:51 (MESSAGE): Dependencies for required component LibUHD not met. Call Stack (most recent call first): CMakeLists.txt:279 (LIBUHD_REGISTER_COMPONENT) -- Configuring incomplete, errors occurred! See also "/home/irisheyes1/target/src/uhd/host/build/CMakeFiles/CMakeOutput.log". PyBombs.Packager.source - ERROR - Configuration failed after running at least twice. PyBombs.Packager.source - ERROR - Problem occured while building package uhd: Configuration failed PyBombs.install - ERROR - Error installing package uhd. Aborting. irisheyes1: ~$
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio