Page 1 of 1

libtecla

Posted: Thu Aug 29, 2013 8:09 am
by BladeRunnerF
Just got my BladeRF and I've been working on installing using the directions on the forum (http://nuand.com/forums/viewtopic.php?f=9&t=2992).

However when I attempt to do a cmake, I get the following error. I do not have libtecla installed so it makes sense that I would get this error:

robert@robert-S400CA:~/bladeRF/host/cmake$ cmake -DCMAKE_BUILD_TYPE=debug -DINSTALL_UDEV_RULES=ON -DCMAKE_INSTALL_PREFIX=/opt/bladeRF/ ../
-- In libraries /home/robert/bladeRF/host/common/src
-- libbladeRF version: 0.3.0-git-4d8312b-dirty
-- nuand bladeRF udev rules will be installed upon running 'make install'
-- checking for module 'libtecla'
-- package 'libtecla' not found
-- libtecla not found.
CMake Error at utilities/bladeRF-cli/CMakeLists.txt:94 (message):
ENABLE_INTERACTIVE_TECLA set, but libtecla could not be found


CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBTECLA_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/robert/bladeRF/host/utilities/bladeRF-cli

-- Configuring incomplete, errors occurred!


However, I have made every attempt that I can to download and install libtecla with no success. I wonder if there is someone who may be able to assist.

I have downloaded libtecla, I have done a "./config" with success, a "make" with success, but "make install" does not work. I get an error stating that there is no "install" file.

Eventually I was able to do an "apt-get install libtecla1" (not libtecla), but libtecla1 != libtecla. I am very new to linux and so I don't have any ability to deviate from what I see on forums etc. Please help.

Re: libtecla

Posted: Fri Aug 30, 2013 10:24 am
by BladeRunnerF
I was able to install the libtecla1-dev package, but still had the same results.

I used the switch to disable libtecla, but this just lead to other issues later on.

I verified that both libtecla1 and libtecla1-dev are installed, but I still get the error.

Is it becasue their name is libtecla1 not libtecla?

Not sure why this is so hard to do..

Re: libtecla

Posted: Mon Sep 02, 2013 1:36 am
by schrambo
Do as Jyink suggested. Whenever experiencing dependency compiling errors. Best to always do a "make clean / scrub" before reattempting to compile again.

I too ran into this issue libtecla, but a quick apt-get install libtecla1-dev solved it so something else should be causing the issue.

Failing that, do a purge of the libtecla1 packages, reinstall, and try again.

If your still having problems. Try compling again but with the verbose flags "#make -wd" But yes, if you could please tell us your Distro, kernel number "#uname -a". Also what does your dmesg output look like when you plug in the bladeRF?