I am unable to install the USRP1 driver to use gnuradio and openbts on an Ubuntu 18.04 system.
http://openbts.org/w/index.php?title=USRP1
Building gnuradio with the following command
./configure --disable-all-components --with-fusb-tech=libusb1 --enable-usrp --enable-gruel --enable-gnuradio-core --enable-gr-usrp --enable-config --with-boost-libdir=/usr/lib/x86_64-linux-gnu
gives
component usrp has errors
the usrp directory does not have a 'configure' script either.
How would I build and install gnuradio properly to work with my USRP1 device?
Related
After building a ROS package which requires gazebo9 dependency, my gazebo stoped working. I already had gazebo9 working in my system prior to this.
In my terminal I use the 'gazebo --verbose` command line:
gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ignition10fuel_tools12ClientConfig12SetUserAgentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
I don't want to have to reinstall gazebo9 if I don't have to. Is there a way to fix this problem without doing so?
According to other forum you should upgrade one library via
$ sudo apt upgrade libignition-math2
or some other workaround by running the gazebo command as
$ LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libignition-fuel_tools2.so.2 gazebo
I am trying to install Elixir from the elixir website on Ubuntu 14.04. I get the following error when I execute $ sudo apt-get install esl-erlang. Can anyone help me out here ?
$ sudo apt-get install esl-erlang
Reading package lists... Done
Building dependency tree
Reading state information... Done
esl-erlang is already the newest version.
The following packages were automatically installed and are no longer required:
libgconf2-4 python-requests-whl python-setuptools-whl python-six-whl
python-urllib3-whl python-wheel
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 406 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up erlang-mode (1:21.0.5-1) ...
ERROR: erlang-mode is broken - called emacs-package-install as a new-style add-on, but has no compat file.
Install emacsen-common for emacs23
emacsen-common: Handling install of emacsen flavor emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
Install emacsen-common for emacs24
emacsen-common: Handling install of emacsen flavor emacs24
Wrote /etc/emacs24/site-start.d/00debian-vars.elc
Wrote /usr/share/emacs24/site-lisp/debian-startup.elc
Install erlang-mode for emacs
Install erlang-mode for emacs23
install/erlang: Handling install for emacsen flavor emacs23
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-edoc.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-eunit.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-flymake.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-skels-old.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-skels.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang-start.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang.elc
Wrote /usr/share/emacs23/site-lisp/erlang/erlang_appwiz.elc
In toplevel form:
erldoc.el:64:1:Error: Cannot open load file: cl-lib
Wrote /usr/share/emacs23/site-lisp/erlang/path.elc
ERROR: install script from erlang-mode package failed
dpkg: error processing package erlang-mode (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
erlang-mode
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks
I don't know what is causing your errors, but you could try ASDF with the Elixir plugin. This allows you to install multiple versions of Elixir and its dependencies, and uses your user environment with shims instead of installing to system directories. This avoids many of the dependency and permission problems that comes with performing a single system-level installation.
It looks like you have both emacs23 and emacs24 installed. The failure is happening when trying to build for emacs23. Unless you really want emacs23 for some reason, remove it and then it should install fine:
sudo apt-get remove emacs23
It is possible you might have to delete some of the other emacs23-* packages by hand.
This problem only affects the erlang-mode package, which adds support for editing Erlang code in Emacs. If you're not using Emacs (or not developing Erlang in it), you can just uninstall that package:
sudo apt remove erlang-mode
As noted in Penguin Brian's answer, this happens when installing erlang-mode on a system using Emacs 23, as erlang-mode only supports Emacs 24 or newer. (Looks like this is a bug in the package: it shouldn't try to compile itself for unsupported Emacs versions.) If you do want to use erlang-mode in Emacs, I'd suggest running Emacs 24 and installing the Erlang mode from MELPA.
I am following this link to enable automatic boot from SD card. After trying to install Linaro, I check for the GCC version:
${CC}gcc --version
It gives me this error:
bash: /home/debian/Desktop/gcc-linaro-6.4.1-2017.11-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc: No such file or directory
I search around, and this link suggests using:
sudo apt-get install gcc-arm-linux-gnueabihf
That then gives me this error:
unable to locate package gcc-arm-linux-gnueabihf
This link suggests using this instead:
sudo apt-get install gcc-arm-none-eabi
I have not finished that process yet. However, there are so many things I do not understand so far. Beaglebone Black is a 32-bit system, why does the official u-boot guide point to a 64-bit version of Linaro? The image I got is Debian Jessie 8.9 off the official site. Is there a guide for u-boot at such starting point? Thanks.
OK, I figured this out. The first part of the guide (before HDMI) is done on a computer with which you will flash your SD card. After that, you boot into the BBB and do the rest. This ambiguity kills me.
I've seen a many problems about this, but I didn't get a solution.
My OS is Yosemite and current OpenCV is 2.4.9
I'm trying to install OpenCV with TBB, but when I do it by sudo port install opencv +debug +python27 +qt4 +tbb (through this SO question):
Rafaels-iMac:y3PQFyQhUG rafaelruizmunoz$ sudo port install opencv
+debug +python27 +qt4 +tbb
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running 'xcode-select --install'.
Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
Warning: Install them by running xcode-select --install'.
---> Computing dependencies for ffmpeg
---> Configuring ffmpeg Error: Failed to configure ffmpeg, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/work/ffmpeg-2.6/config.log
Error: org.macports.configure for port ffmpeg returned: configure failure: command execution failed Please see the log file for port ffmpeg for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_ffmpeg/ffmpeg/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade ffmpeg failed
And there are not any logs on those paths.
I've tried (support from SO and MacPorts).
port selfupdate
port upgrade ffmpeg
port clean x264
port upgrade outdated
port -f selfupdate
but nothing happened.
Does anyone have a clue?
Thank you in advance.
EDIT: Doing xcode-select --install doesn't resolve anything.
The code that produces this warning is at http://trac.macports.org/browser/trunk/base/src/port1.0/portutil.tcl?marks=3279-3289#L3266. On 10.10, it checks whether /Library/Developer/CommandLineTools/usr/include exists and /Library/Developer/CommandLineTools/usr/bin/make is executable. Since that's not the case on your system, the Command Line Tools have not been successfully installed.
After running xcode-select --install, a dialog box should pop up that allows you to click "Install" to install the Command Line Tools. See http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/ for screenshots.
Once you installed those, your build should work. If it doesn't, you'll have to upload the contents of the main.log for further diagnosis.
I'm trying to install OpenCV 2.2.0 on Ubuntu 12.04, but I'm getting this error:
torul#torul-HP-Compaq-8200-Elite-CMT-PC:~/OpenCV-2.2.0/opencv.build$ make
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/rand.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2
make: *** [all] Error 2
Could anyone tell me, what am I doing wrong (why am I getting the above error) ?
Ubuntu Installation :->
Install virtualenv :->
sudo apt-get install virtualenv
Then install python which you want to use in your virtual environment from this link.
Make virtual environment :->
virtualenv --python = $(which python) environment name
Replace "environment name" with the name you want keep in your PC.
“which python” command will return the path of python which you want to use in your new environment.
To enter in new virtual environment :-> Run below commands in terminal -
source envname/bin/activate
Run below command to ensure pip in installed in your system :->
sudo apt-get install python-dev python-pip
To install opencv :->
pip install opencv-python
Enjoy computer-vision………
“A lot of the future of search is going to be about pictures. Computer vision technology is going to be a big deal”.
Ben Silbermann
.
I can't tell you what you're doing wrong, but have you tried following the OpenCV installation instructions for ubuntu? They can be found here
It doesn't seem to include a make step.