Re: [USRP-users] UHD make stopped on 100% with error 1

2019-01-09 Thread Roman via USRP-users
Hi all,

Great thanks for support!

I re-installed my OS, it was definitely screwed up after two years of
experiments.

UHD installed with no issues at all at new shiny installation of old known
Ubuntu 16.04.5.

Thanks again!

On Wednesday, January 9, 2019, Marcus Müller 
wrote:

> That being said, I don't think UHD acutely requires anything not in
> Ubuntu16.04 (though I agree, that feels ancient).
> I'm running a test build, i.e.
>
> docker run -it ubuntu:16.04
> $ apt-get update
> $ # and of course, Canonical couldn't get their mess together, so they
> $ # forgot to supply proper verfication keys for their updates repo...
> $ # hence, the --allow-unauthenticated. Note: not a fan of Ubuntu.
> $ # the package list is from
> https://kb.ettus.com/Building_and_Installing_the_USRP_Open-
> Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
> $ apt-get --allow-unauthenticated -y install git swig cmake doxygen
> build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev
> libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc
> libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin
> cpufrequtils python-numpy python-numpy-doc python-numpy-dbg
> python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev
> libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc
> python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc
> ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg
> libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake
> autoconf libtool python-dev libfftw3-dev libcppunit-dev
> libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev
> python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl
> libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default
> qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev
> pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-
> engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev
> libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests
> python-sphinx libcomedi-dev python-zmq python-setuptools
> $ git clone https://github.com/EttusResearch/uhd
> $ mkdir uhd/host/build
> $ cd uhd/host/build
> $ cmake ..
> $ make -j8
>
> and it runs right through. Hm.
> But: my CMake says "cmake -version" is 3.5.1, not 3.4.1 like your error
> message. A quick lookup on packages.ubuntu.com says Ubuntu 16.04 ships
> my version, not your version of cmake.
> The likeliest explanation I can come up with for that is that you
> somehow manually installed an older version of CMake, and now you're
> mixing current and old CMake files.
>
> Best regards,
> Marcus
>
> On Tue, 2019-01-08 at 21:31 -0500, Marcus D. Leech via USRP-users
> wrote:
> > On 01/08/2019 01:21 PM, Roman via USRP-users wrote:
> > > Hi,
> > >
> > > I am trying to build UHD from current master branch on Ubuntu
> > > 16.04.
> > > Make is almost complete but breaks with error 1.
> > > I would appreciate support for this issue from community.
> > > Detailed log is below.
> > >
> > > Best regards,
> > > Roman
> > > make[2]: Leaving directory '/home/gnuradio/uhd-master/host/build'
> > > make -f python/CMakeFiles/pyuhd_library.dir/build.make
> > > python/CMakeFiles/pyuhd_library.dir/build
> > > make[2]: Entering directory '/home/gnuradio/uhd-master/host/build'
> > > [100%] Generating build/timestamp
> > > cd /home/gnuradio/uhd-master/host/build/python &&
> > > /usr/local/bin/cmake
> > > -E copy /home/gnuradio/uhd-master/host/python/__init__.py
> > > /home/gnuradio/uhd-master/host/ python/types.py
> > > /home/gnuradio/uhd-master/host/python/usrp.py
> > > /home/gnuradio/uhd-master/host/python/filters.py
> > > /home/gnuradio/uhd-master/host/build/python/uhd
> > > CMake Error: cmake version 3.4.1
> > > Usage: /usr/local/bin/cmake -E [command] [arguments ...]
> > > Available commands:
> > >   chdir dir cmd [args]...   - run command in a given directory
> > >   compare_files file1 file2 - check if file1 is same as file2
> > >   copy file destination - copy file to destination (either file
> > > or
> > > directory )
> > >   copy_directory source destination   - copy directory 'source'
> > > content to direc   tory 'destination'
> > >   copy_if_different in-file out-file  - copy file if input has
> > > changed
> > >   echo [string]...  - displays arguments as text
> > >   echo_append [string]...   - displays arguments as text but no new
> > > line
> > >   env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]... - run
> > > command
> > > in a modified environment
> > >   environment   - display the current environment
> > >   make_directory dir- create a directory
> > >   md5sum file1 [...]- compute md5sum of files
> > >   remove [-f] file1 file2 ... - remove the file(s), use -f to force
> > > it
> > >   remove_directory dir  - remove a directory and its contents
> > >   rename oldname newname- rename a file or directory (on 

Re: [USRP-users] UHD make stopped on 100% with error 1

2019-01-09 Thread Marcus Müller via USRP-users
That being said, I don't think UHD acutely requires anything not in
Ubuntu16.04 (though I agree, that feels ancient).
I'm running a test build, i.e. 

docker run -it ubuntu:16.04
$ apt-get update
$ # and of course, Canonical couldn't get their mess together, so they
$ # forgot to supply proper verfication keys for their updates repo...
$ # hence, the --allow-unauthenticated. Note: not a fan of Ubuntu.
$ # the package list is from 
https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
$ apt-get --allow-unauthenticated -y install git swig cmake doxygen
build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev
libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc
libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin
cpufrequtils python-numpy python-numpy-doc python-numpy-dbg 
python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev 
libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc
python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc
ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg
libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake
autoconf libtool python-dev libfftw3-dev libcppunit-dev
libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev
python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl
libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default
qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev
pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-
engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev
libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests
python-sphinx libcomedi-dev python-zmq python-setuptools
$ git clone https://github.com/EttusResearch/uhd
$ mkdir uhd/host/build
$ cd uhd/host/build
$ cmake ..
$ make -j8

and it runs right through. Hm.
But: my CMake says "cmake -version" is 3.5.1, not 3.4.1 like your error
message. A quick lookup on packages.ubuntu.com says Ubuntu 16.04 ships
my version, not your version of cmake.
The likeliest explanation I can come up with for that is that you
somehow manually installed an older version of CMake, and now you're
mixing current and old CMake files.

Best regards,
Marcus

On Tue, 2019-01-08 at 21:31 -0500, Marcus D. Leech via USRP-users
wrote:
> On 01/08/2019 01:21 PM, Roman via USRP-users wrote:
> > Hi,
> > 
> > I am trying to build UHD from current master branch on Ubuntu
> > 16.04.
> > Make is almost complete but breaks with error 1.
> > I would appreciate support for this issue from community.
> > Detailed log is below.
> > 
> > Best regards,
> > Roman
> > make[2]: Leaving directory '/home/gnuradio/uhd-master/host/build'
> > make -f python/CMakeFiles/pyuhd_library.dir/build.make 
> > python/CMakeFiles/pyuhd_library.dir/build
> > make[2]: Entering directory '/home/gnuradio/uhd-master/host/build'
> > [100%] Generating build/timestamp
> > cd /home/gnuradio/uhd-master/host/build/python &&
> > /usr/local/bin/cmake 
> > -E copy /home/gnuradio/uhd-master/host/python/__init__.py 
> > /home/gnuradio/uhd-master/host/ python/types.py 
> > /home/gnuradio/uhd-master/host/python/usrp.py 
> > /home/gnuradio/uhd-master/host/python/filters.py 
> > /home/gnuradio/uhd-master/host/build/python/uhd
> > CMake Error: cmake version 3.4.1
> > Usage: /usr/local/bin/cmake -E [command] [arguments ...]
> > Available commands:
> >   chdir dir cmd [args]...   - run command in a given directory
> >   compare_files file1 file2 - check if file1 is same as file2
> >   copy file destination - copy file to destination (either file
> > or 
> > directory )
> >   copy_directory source destination   - copy directory 'source' 
> > content to direc   tory 'destination'
> >   copy_if_different in-file out-file  - copy file if input has
> > changed
> >   echo [string]...  - displays arguments as text
> >   echo_append [string]...   - displays arguments as text but no new
> > line
> >   env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]... - run
> > command 
> > in a modified environment
> >   environment   - display the current environment
> >   make_directory dir- create a directory
> >   md5sum file1 [...]- compute md5sum of files
> >   remove [-f] file1 file2 ... - remove the file(s), use -f to force
> > it
> >   remove_directory dir  - remove a directory and its contents
> >   rename oldname newname- rename a file or directory (on one
> > volume)
> >   tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]  - create
> > or 
> > extract a tar or zip archive
> >   sleep ... - sleep for given number of seconds
> >   time command [args] ...   - run command and return elapsed time
> >   touch file- touch a file.
> >   touch_nocreate file   - touch a file but do not create it.
> > Available on UNIX only:
> >   create_symlink old new- create a symbolic link 

Re: [USRP-users] UHD make stopped on 100% with error 1

2019-01-08 Thread Marcus D. Leech via USRP-users

On 01/08/2019 01:21 PM, Roman via USRP-users wrote:

Hi,

I am trying to build UHD from current master branch on Ubuntu 16.04.
Make is almost complete but breaks with error 1.
I would appreciate support for this issue from community.
Detailed log is below.

Best regards,
Roman
make[2]: Leaving directory '/home/gnuradio/uhd-master/host/build'
make -f python/CMakeFiles/pyuhd_library.dir/build.make 
python/CMakeFiles/pyuhd_library.dir/build

make[2]: Entering directory '/home/gnuradio/uhd-master/host/build'
[100%] Generating build/timestamp
cd /home/gnuradio/uhd-master/host/build/python && /usr/local/bin/cmake 
-E copy /home/gnuradio/uhd-master/host/python/__init__.py 
/home/gnuradio/uhd-master/host/ python/types.py 
/home/gnuradio/uhd-master/host/python/usrp.py 
/home/gnuradio/uhd-master/host/python/filters.py 
/home/gnuradio/uhd-master/host/build/python/uhd

CMake Error: cmake version 3.4.1
Usage: /usr/local/bin/cmake -E [command] [arguments ...]
Available commands:
  chdir dir cmd [args]...   - run command in a given directory
  compare_files file1 file2 - check if file1 is same as file2
  copy file destination - copy file to destination (either file or 
directory )
  copy_directory source destination   - copy directory 'source' 
content to direc   tory 'destination'

  copy_if_different in-file out-file  - copy file if input has changed
  echo [string]...  - displays arguments as text
  echo_append [string]...   - displays arguments as text but no new line
  env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]... - run command 
in a modified environment

  environment   - display the current environment
  make_directory dir- create a directory
  md5sum file1 [...]- compute md5sum of files
  remove [-f] file1 file2 ... - remove the file(s), use -f to force it
  remove_directory dir  - remove a directory and its contents
  rename oldname newname- rename a file or directory (on one volume)
  tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]  - create or 
extract a tar or zip archive

  sleep ... - sleep for given number of seconds
  time command [args] ...   - run command and return elapsed time
  touch file- touch a file.
  touch_nocreate file   - touch a file but do not create it.
Available on UNIX only:
  create_symlink old new- create a symbolic link new -> old

python/CMakeFiles/pyuhd_library.dir/build.make:64: recipe for target 
'python/build/timestamp' failed

make[2]: *** [python/build/timestamp] Error 1
make[2]: Leaving directory '/home/gnuradio/uhd-master/host/build'
CMakeFiles/Makefile2:4128: recipe for target 
'python/CMakeFiles/pyuhd_library.dir/all' failed

make[1]: *** [python/CMakeFiles/pyuhd_library.dir/all] Error 2
make[1]: Leaving directory '/home/gnuradio/uhd-master/host/build'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


You may need to consider upgrading to a newer release of the OS, with 
newer CMake, etc.


I just did a built on a Fedora 20 machine (which is now 5 years old), 
and it went just fine.




___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[USRP-users] UHD make stopped on 100% with error 1

2019-01-08 Thread Roman via USRP-users
Hi,

I am trying to build UHD from current master branch on Ubuntu 16.04.
Make is almost complete but breaks with error 1.
I would appreciate support for this issue from community.
Detailed log is below.

Best regards,
Roman
make[2]: Leaving directory '/home/gnuradio/uhd-master/host/build'
make -f python/CMakeFiles/pyuhd_library.dir/build.make
python/CMakeFiles/pyuhd_library.dir/build
make[2]: Entering directory '/home/gnuradio/uhd-master/host/build'
[100%] Generating build/timestamp
cd /home/gnuradio/uhd-master/host/build/python && /usr/local/bin/cmake -E
copy /home/gnuradio/uhd-master/host/python/__init__.py
/home/gnuradio/uhd-master/host/ python/types.py
/home/gnuradio/uhd-master/host/python/usrp.py
/home/gnuradio/uhd-master/host/python/filters.py
/home/gnuradio/uhd-master/host/build/python/uhd
CMake Error: cmake version 3.4.1
Usage: /usr/local/bin/cmake -E [command] [arguments ...]
Available commands:
  chdir dir cmd [args]...   - run command in a given directory
  compare_files file1 file2 - check if file1 is same as file2
  copy file destination - copy file to destination (either file or
directory
  )
  copy_directory source destination   - copy directory 'source' content to
direc
  tory 'destination'
  copy_if_different in-file out-file  - copy file if input has changed
  echo [string]...  - displays arguments as text
  echo_append [string]...   - displays arguments as text but no new line
  env [--unset=NAME]... [NAME=VALUE]... COMMAND [ARG]... - run command in a
modified environment
  environment   - display the current environment
  make_directory dir- create a directory
  md5sum file1 [...]- compute md5sum of files
  remove [-f] file1 file2 ... - remove the file(s), use -f to force it
  remove_directory dir  - remove a directory and its contents
  rename oldname newname- rename a file or directory (on one volume)
  tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]  - create or
extract a tar or zip archive
  sleep ... - sleep for given number of seconds
  time command [args] ...   - run command and return elapsed time
  touch file- touch a file.
  touch_nocreate file   - touch a file but do not create it.
Available on UNIX only:
  create_symlink old new- create a symbolic link new -> old

python/CMakeFiles/pyuhd_library.dir/build.make:64: recipe for target
'python/build/timestamp' failed
make[2]: *** [python/build/timestamp] Error 1
make[2]: Leaving directory '/home/gnuradio/uhd-master/host/build'
CMakeFiles/Makefile2:4128: recipe for target
'python/CMakeFiles/pyuhd_library.dir/all' failed
make[1]: *** [python/CMakeFiles/pyuhd_library.dir/all] Error 2
make[1]: Leaving directory '/home/gnuradio/uhd-master/host/build'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
___
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com