pkg-config not found when install bluez-alsa - linux

I am trying to install bluez-alsa with:
../configure --enable-aac --enable-ofono --enable-debug
and I am getting the following error:
configure: error: pkg-config is required. See pkg-config.freedesktop.org
I tried installing pkg-config with:
sudo apt-get install pkg-config
as well as with a manual installation:
curl https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.tar.gz -o pkgconfig.tgz
tar -zxf pkgconfig.tgz && cd pkg-config-0.29
./configure && sudo make install
but nothing seems to work. Do I need to set some paths for the configure script?

Related

Trying to install TA-lib

I'm using gcp debian VM, and trying to install the module TA-lib doing this (with the tar already downloaded):
$ tar -xzf ta-lib-0.4.0-src.tar.gz
$ cd ta-lib/
$ ./configure --prefix=/usr DOING THIS I GET AN ERROR
$ make
$ sudo make install
configure: error: no acceptable C compiler found in $PATH
How can I solve?

Error while loading shared llibraries for CVC4

I keep running into an error in my terminal as I try to test my cvc4 installation. Here are the steps that I took to do my installation:
Install Prerequisites
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install emacs opam libboost-all-dev libreadline-dev
Install CVC4
wget http://cvc4.cs.stanford.edu/downloads/builds/src/cvc4-1.5.tar.gz
tar xfz cvc4-1.5.tar.gz
cd cvc4-1.5
contrib/get-antlr-3.4
./configure --with-antlr-dir=/home/user/cvc4-1.5/antlr-3.4 ANTLR=/home/user/cvc4-1.5/antlr-3.4/bin/antlr3 --enable-gpl
make
make check
sudo make install
Environment
I added this line to the end of my ~/.profile:
export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
Test
cvc4
And then I get this error:
cvc4: error while loading shared libraries: libcvc4parser.so.4: cannot open shared object file: No such file or directory
I'm not sure what is wrong. I'm new to Linux so my apologies if this has an obvious solution.

how to solve the libgnutls.so.28 issue?

yum install autoconf automake gcc
libtasn1-devel zlib zlib-devel trousers
trousers-devel gmp-devel gmp xz texinfo
libnl-devel libnl tcp_wrappers-libs
tcp_wrappers-devel tcp_wrappers dbus
dbus-devel ncurses-devel pam-devel
readline-devel bison bison-devel flex
gcc automake autoconf wget
Install Nettle:
wget http://www.lysator.liu.se/~nisse/archive/nettle-2.7.tar.gz
tar xvf nettle-2.7.tar.gz
cd nettle-2.7
./configure --prefix=/opt/
make && make install
cd ..
Install the latest GnuTLS, this version comes with a fix of security flaw:
wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/gnutls-3.2.12.tar.xz
tar xvf gnutls-3.2.12.tar.xz
cd gnutls-3.2.12
export LD_LIBRARY_PATH=/opt/lib/:/opt/lib64/
NETTLE_CFLAGS="-I/opt/include/" NETTLE_LIBS="-L/opt/lib64/ -lnettle" HOGWEED_CFLAGS="-I/opt/include" HOGWEED_LIBS="-L/opt/lib64/ -lhogweed"
./configure --prefix=/opt/
make && make install
cd ..
Install the Latest LibNL:
wget http://www.carisma.slowglass.com/~tgr/libnl/files/libnl-3.2.24.tar.gz
tar xvf libnl-3.2.24.tar.gz
cd libnl-3.2.24
./configure --prefix=/opt/
make && make install
cd ..
Install Ocserv
The latest version of ocserv is 0.8.0[1], if you want a git version, you might need to compile a recent version of automake and autoconf.
wget ftp://ftp.infradead.org/pub/ocserv/ocserv-0.8.0.tar.xz
tar xvf ocserv-0.8.0.tar.xz
cd ocserv-0.8.0
export LIBGNUTLS_CFLAGS="-I/opt/include/" LIBGNUTLS_LIBS="-L/opt/lib/ -lgnutls" LIBNL3_CFLAGS="-I/opt/include" LIBNL3_LIBS="-L/opt/lib/ -lnl-3 -lnl-route-3"
./configure --prefix=/opt/
make && make install
When I run certtool --generate-privkey --outfile ca-key.pem , I encounter the following error:
[root#arx ~]# certtool --generate-privkey --outfile ca-key.pem
certtool: relocation error: certtool: symbol gnutls_srp_3072_group_prime, version GNUTLS_3_0_0 not defined in file libgnutls.so.28 with link time reference
[root#arx ~]#
How to fix the error?
Thanks.
PS: the os in my linux vps is centos 7. In centos 6, I didn't encounter the error above.

configure: error: Can't find libvorbis while installing recordmydesktop-0.3.8.1

I'm trying to install recordmydesktop-0.3.8.1 under rhel6.4 x86_64.
while running ./configure I get the following error message:
configure: error: Can't find libvorbis
But I have libvorbisfile.so.X files under my /usr/lib directory. The headers
codec.h, vorbisenc.h and vorbisfile.h also exists in my /usr/include/vorbis directory.
Could you help to resolve this issue please?
I had the same problem while installing recordMyDesktop. I found a simple solution. I installed libvorbis:
sudo apt-get install libvorbis-dev
If it also asks for other packages simply add the package name as following pattern:
sudo apt-get install lib[library-name]-dev
Uninstall existing libvorbis and try below steps to re-install.
cd /opt
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.4.tar.gz
tar xzvf libvorbis-1.3.4.tar.gz
cd libvorbis-1.3.4
./configure --prefix="$HOME/ffmpeg_build" --with-ogg="$HOME/ffmpeg_build" --disable-shared
make
make install

needed packages to run autoreconf and configure on debian wheezy

What are the .deb packages needed to run these commands on a debian wheezy Linux?
cd software_that_builds_with_autotools
autoreconf --install &&\
./configure --prefix=/opt/foo/bar &&\
make && make install
I tried installing the following, but it still says it is lacking aclocal:
apt-get install binutils make csh g++ sed gawk autoconf autotools-dev
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
Just use
sudo apt-get install binutils make csh g++ sed gawk autoconf automake autotools-dev

Resources