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
Related
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?
I am trying to develop a Linux Kernel Module, hence I need linux headers.
I installed the appropriate headers (linux-headers-4.19.0-10-amd64) with the following lines, but I do not know how to install them in /usr/include/
apt-get install -y vim mlocate tree openssh-server gdb libjsoncpp-dev apache2 libmariadbclient-dev libmariadb-dev-compat libmariadb-dev libcunit1-dev libgtk2.0-dev screen python perl sudo dos2unix gperf bison flex pkg-config llvm git sudo build-essential wget fuse cmake makedev libgl1-mesa-dev freeglut3-dev libglu1-mesa-dev
apt-get install -y linux-headers-$(uname -r)
apt-get install -y linux-headers-generic
What is the correct form to update the /usr/include references ?
Headers are to be found in /usr/src and not /usr/include.
Hence, it is not surprising that you don't find any reference to your headers in /usr/include
If you compile modules from a classical kernel, your headers should already be installed. If you compile from a custom kernel, make headers_install should do the trick.
I am trying to install gnash on debian. I did (as root):
git clone git://git.sv.gnu.org/gnash.git
cd gnash/
./configure
And got:
bash: ./configure: No such file or directory
Gnash :
apt-get install g++ autoconf libtool libgconf2-dev libjemalloc-dev libgif-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libspeex-dev libspeexdsp-dev libagg-dev xulrunner-dev libming-dev libming-util mtasc haxe swfmill libcsound64-dev dejagnu
git clone git://git.sv.gnu.org/gnash.git
cd gnash/
./autogen.sh
./configure
make
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.
I was trying to build B2G for emulator, but I've got an error.
Environment:
Ubuntu 12.04.1 x64
gcc 4.6.3
Install: out/host/linux-x86/bin/traceview host SharedLib:
libGLES_CM_translator
(out/host/linux-x86/obj/lib/libGLES_CM_translator.so) /usr/bin/ld:
cannot find -lGL collect2: ld returned 1 exit status make: *
[out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1
real 1m33.903s user 0m46.539s sys 0m6.088s
Build failed! <
How do I fix it?
Firefox OS build prerequisites
When building on 64-bit Ubuntu, you may find that you need to add symlinks for the 32-bit >versions of libX11.so and libGL.so:
$ sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Here you should find the solution to your problem.
#> sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
and then:
#> sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
from the Firefox OS wiki (Firefox OS build prerequisites), about building on Ubuntu 12.04 x64:
$ sudo apt-get install autoconf2.13 bison bzip2 ccache curl flex gawk gcc g++ g++-multilib git ia32-libs lib32ncurses5-dev lib32z1-dev libgl1-mesa-dev libx11-dev make
and then,
$ sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so /usr/lib/i386-linux-gnu/libGL.so
I had the exact same error while compiling Android. The following fixed it:
sudo apt-get install libgl1-mesa-dev:i386
I did not have to create any symbolic links or anything, just this simple install