How do I run the ./configure script on git package? - linux

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

Related

pkg-config not found when install bluez-alsa

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?

How to fix (MAKEPKG) installation problem?

I want to install yay for downloading package from AUR ArchLinux,
I don't know what to do?!
Thanks for your helping.
When I use git clone and then use the makepkg -si command , it gives me this error:
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Error text:
==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping.
You're missing the libraries to compile the package. To install them:
sudo pacman -S binutils make gcc pkg-config fakeroot
or, to install basic tools for compiling code:
sudo pacman -S base-devel
Also instead of installing and compiling yay (which also requires you to install all the GO libraries) why not installing the precompiled yay-bin? It's the same package.
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
try with that:
sudo pacman -S binutils make gcc pkg-config fakeroot
then again try to makepkg.

Build yocto for x86 Linux desktop

I want to build yocto sumo 2.5 for x86 Linux desktop. Does anyone have an idea or any documentation to do that ?.
Please familiar with this doc - Quick introduction to Yocto Project, which consist information how to start and where to go next.
meta-intel has "intel-core2-32" machine. you should use this or use qemux86.
edit your poky/build/local.conf file and set MACHINE to "intel-core2-32"
$ cd poky/
$ git clone -b sumo git://git.yoctoproject.org/meta-intel
$ source oe-init-build-env
$ bitbake core-image-minimal
1-) Install required packages
sudo apt-get install libsdl1.2-dev xterm sed cvs subversion coreutils texi2html docbook-utils python-pysqlite2 help2man make gcc g++ desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc u-boot-tools gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping
2-) Clone poky
git clone -b version git://git.yoctoproject.org/poky.git poky-version
cd poky-version
3-) Clone open embedded
git clone -b version git://git.openembedded.org/meta-openembedded
4-) Clone meta raspberrypi
git clone -b version git://git.yoctoproject.org/meta-raspberrypi
5-) Clone meta freescale
git clone -b version https://git.yoctoproject.org/git/meta-freescale
6-) Clone meta ti
git clone -b version git://git.yoctoproject.org/meta-ti
7-) Clone meta-qt4
git clone -b version git://git.yoctoproject.org/meta-qt4
8-) Clone meta-qt5
git clone -b version git://github.com/meta-qt5/meta-qt5.git
version : morty, rocko, sumo and so on...
PS: It works on the ubuntu 16.04. You can use these short guide and the packages can change according to linux OS.

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.

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