Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
2 answers
2165 views
GNU autotools configure autoreconf
I have a question when working with autotools, specifically when working with generating configure scripts by running autoreconf -fi I'll get these warnings: libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to...
I have a question when working with autotools, specifically when working with generating configure scripts by running autoreconf -fi I'll get these warnings: libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:12: installing './compile' configure.ac:15: installing './config.guess' configure.ac:15: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' Makefile.am: installing './INSTALL' src/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' src/filteropt/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/memory/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/pagemanager/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/raster/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/raster/blendSource/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') After this I can manually go through and change INCLUDES to AM_CPPFLAGS as well as adding -I m4 but shouldn't I be able to update the configure files so that I do not get these warnings? Where would I make those edits so that I can avoid these warnings?
user1610950 (829 rep)
Jul 8, 2017, 10:27 AM • Last activity: Jun 15, 2025, 04:01 AM
-5 votes
1 answers
131 views
Error: Unable to locate package aclocal in Kali Linux
I have an issue installing aclocal command in Kali Linux. First i tried to enter the follwoing > sudo apt install aclocal and it gave me the following error > Error: Unable to locate package aclocal and then i installed autotools-dev that i found on this link https://askubuntu.com/questions/45480/ho...
I have an issue installing aclocal command in Kali Linux. First i tried to enter the follwoing > sudo apt install aclocal and it gave me the following error > Error: Unable to locate package aclocal and then i installed autotools-dev that i found on this link https://askubuntu.com/questions/45480/how-do-i-install-aclocal there said that first install autotools-dev for this and then install the aclocal command but then it was giving me error in Kali.
KaliAK (1 rep)
Feb 14, 2025, 12:44 PM • Last activity: Feb 14, 2025, 04:11 PM
1 votes
1 answers
523 views
How to install autoconf as alternative in the system?
I am using a fairly dated Ubuntu 18/RHEL6 system with old build tools, I'm trying to update it but don't want to crush the existing tools installation. I created the following script which installed `autoconf` as an alternative, but I am unsure how to bring over the `autoconf` macros in the installe...
I am using a fairly dated Ubuntu 18/RHEL6 system with old build tools, I'm trying to update it but don't want to crush the existing tools installation. I created the following script which installed autoconf as an alternative, but I am unsure how to bring over the autoconf macros in the installed share. > autoreconf --version
autoreconf (GNU Autoconf) 2.71
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
,
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille. Then when I try to run autoreconf --install --force, it would tell me it couldn't find the macro...
autoreconf --verbose --install --force
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /opt/autoconf/bin/autoconf --force
configure.ac:1040: error: possibly undefined macro: m4_ifdef
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: error: /opt/autoconf/bin/autoconf failed with exit status: 1
Is there a way to accomplish what I'm trying to do? Having automake, autoconf, libtool, etc as alternatives? The script (I have a similar script for automake, pkgconf, etc):
#!/bin/bash
set -e

WHAT=autoconf
VERSION=2.71

function install() {
    [ $# -eq 0 ] && { run_error "Usage: install "; exit; }
    local VERSION=${1}
    local TARBALL=${WHAT}-${VERSION}.tar.xz
    local URL=ftp://ftp.gnu.org/gnu/${WHAT}/${TARBALL}
    local WHERE=/tmp/update-${WHAT}
    echo "Downloading ${URL}"
    mkdir -p ${WHERE}
    cd ${WHERE}
    curl -L --create-dirs -o ${TARBALL} ${URL}

    if [ -f "${TARBALL}" ]; then
        tar -xf ${TARBALL}
        cd ${WHAT}-${VERSION}/
        ./configure --prefix="/opt/${WHAT}"
        make
        echo "Installing..."
        sudo make install
        echo -e "${TARBALL} installed \e[1;32mOK\e[39m"
    else
        echo -e "Cannot download ${URL}"
        exit 1
    fi
}

function install_alternatives() {
    for fullpath in /opt/${WHAT}/bin/* ; do
        local NAME="$(basename ${fullpath})"
        #echo "sudo update-alternatives --install /usr/local/bin/${NAME} ${NAME} ${fullpath} 50"
        sudo update-alternatives --install /usr/local/bin/${NAME} ${NAME} ${fullpath} 50
        . ~/.profile
    done
}

function remove_alternatives() {
    for fullpath in /opt/${WHAT}/bin/* ; do
        local NAME="$(basename ${fullpath})"
        #echo "sudo update-alternatives --remove ${NAME} ${fullpath}"
        sudo update-alternatives --remove ${NAME} ${fullpath}
        . ~/.profile
    done
}

if declare -f "$1" > /dev/null
then
    "$@"
else
    install ${VERSION}
    install_alternatives
fi
codenamezero (111 rep)
Jun 28, 2024, 07:18 PM • Last activity: Jul 3, 2024, 01:28 AM
1 votes
0 answers
656 views
Permission denied error when using make all-recursive?
I am using autotools and GNU make to build a C library, there is a line all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive In the Makefile, and I get an error compiling make all-recursive make: make: Permission denied make: *** [Makefile:427: all] Error 127 What's wrong?
I am using autotools and GNU make to build a C library, there is a line all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive In the Makefile, and I get an error compiling make all-recursive make: make: Permission denied make: *** [Makefile:427: all] Error 127 What's wrong?
Super User (23 rep)
Apr 26, 2022, 03:34 AM
56 votes
2 answers
277139 views
Can not run configure command: "No such file or directory"
I'm trying to install a Debian package from source (via git). I downloaded the package, changed to the package’s directory and ran `./configure` command but it returned `bash: ./configure: No such file or directory`. What can be the problem? A `configure.ac` file is located in the program folder. ./...
I'm trying to install a Debian package from source (via git). I downloaded the package, changed to the package’s directory and ran ./configure command but it returned bash: ./configure: No such file or directory. What can be the problem? A configure.ac file is located in the program folder. ./configure make sudo make install
Lexx Luxx (1463 rep)
Oct 2, 2014, 11:15 PM • Last activity: Apr 7, 2021, 08:42 AM
0 votes
0 answers
56 views
Install multiple versions of an info manual
I have GNU Guile 2.2.6 installed on my system as `guile`, and GNU Guile 3.0.5 installed as `guile3`. I would like to install the info manuals for both versions. Both want to install the info files as `/usr/share/info/guile.info{,-1,-2,..}`, so whichever I install last overwrites the manual for the o...
I have GNU Guile 2.2.6 installed on my system as guile, and GNU Guile 3.0.5 installed as guile3. I would like to install the info manuals for both versions. Both want to install the info files as /usr/share/info/guile.info{,-1,-2,..}, so whichever I install last overwrites the manual for the other version. How can I keep both versions? Version 2.2.6 is provided by my package manager, and I'm currently building version 3.0.5 like this:
./configure --prefix=/usr --program-suffix=3
make
sudo make install
Ideally info guile would bring up the documentation for version 2.2.6, while info guile3 would show the docs for version 3.0.5.
Rose Kunkel (121 rep)
Jan 12, 2021, 03:16 AM
0 votes
1 answers
137 views
How do I modify a debian/ubuntu based gnu autotooling build to fedora 32?
[Slurm][1] is an open source project using gnu autotools to build. The problem is as follows: when applying autoreconf to the project, the Makefile.in files created are missing the runstatedir macro. I'm using Fedora 32, and after filing a bug with the project owners (Schedmd) I've received a WONTFI...
Slurm is an open source project using gnu autotools to build. The problem is as follows: when applying autoreconf to the project, the Makefile.in files created are missing the runstatedir macro. I'm using Fedora 32, and after filing a bug with the project owners (Schedmd) I've received a WONTFIX resolution with the following answer : > This is due to differences between the Debian/Ubuntu vs. Fedora > autotools packaging. > > The build tooling is managed on Debian/Ubuntu - which does not produce > such a diff today. Thus I won't be applying this. My question is - can I modify anything in the project to make it "universally" correct - that is - ensure autoreconf does the right thing on both Fedora and Ubuntu? The Fedora autotools package used is current as of this writing: rpm autoconf-2.69-33.fc32.noarch I have no idea which autoconf version is used in Debian/Ubuntu.
Dani_l (5157 rep)
Jun 5, 2020, 01:26 PM • Last activity: Oct 12, 2020, 08:57 AM
5 votes
3 answers
25868 views
automake error: Unescaped left brace in regex is deprecated
After compiling and installing GNU automake 1.15, I get this error whenever I run automake: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line 3936 I am running perl v5.22.0.
After compiling and installing GNU automake 1.15, I get this error whenever I run automake: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/local/bin/automake line 3936 I am running perl v5.22.0.
ISlimani (179 rep)
Oct 25, 2015, 06:35 PM • Last activity: Jul 28, 2020, 09:58 AM
1 votes
1 answers
603 views
How friendly is checkinstall with CMake rather than autotools?
It's been recommended to me to use the [`checkinstall` mechanism][1] to install artifacts I build from source. But - the example involves GNU autotools (`./configure`) while I use CMake. How "friendly" is checkinstall towards CMake builds? Note: I'm using Devuan 3 Beowulf, in case it matters. [1]: h...
It's been recommended to me to use the checkinstall mechanism to install artifacts I build from source. But - the example involves GNU autotools (./configure) while I use CMake. How "friendly" is checkinstall towards CMake builds? Note: I'm using Devuan 3 Beowulf, in case it matters.
einpoklum (10753 rep)
Apr 23, 2020, 10:50 AM • Last activity: Apr 23, 2020, 12:22 PM
8 votes
2 answers
7141 views
What is the Linux equivalent of Inno Setup on Windows?
Looking to create a Linux installer that will work similar to Inno Setup on Windows (which is a great little tool to create installers on Windows). My project is really simple (just a couple of folders) so I think that using *autotools* or *cmake* is too much effort. Is there something that is strai...
Looking to create a Linux installer that will work similar to Inno Setup on Windows (which is a great little tool to create installers on Windows). My project is really simple (just a couple of folders) so I think that using *autotools* or *cmake* is too much effort. Is there something that is straightforward like Inno Setup but for Linux?
Wolfyaskingstuff (101 rep)
Oct 16, 2017, 07:12 AM • Last activity: Jan 10, 2020, 08:09 AM
0 votes
1 answers
246 views
autoconf: continue after package check failure
In my configure.ac script, I have a basic check for X11: PKG_CHECK_MODULES(X11, x11 > 1.6.4, [AC_DEFINE(HAVE_X11)], []) If this fails, I still want to continue. I thought since I added a blank field in the failure condition, it would continue. However, I still get errors: configure: error: Package r...
In my configure.ac script, I have a basic check for X11: PKG_CHECK_MODULES(X11, x11 > 1.6.4, [AC_DEFINE(HAVE_X11)], []) If this fails, I still want to continue. I thought since I added a blank field in the failure condition, it would continue. However, I still get errors: configure: error: Package requirements (x11 > 1.6.4) were not met: No package "x11" found How can I write this line so that it continue if the package is not found?
user8908459 (111 rep)
Sep 16, 2019, 09:40 PM • Last activity: Sep 16, 2019, 10:09 PM
1 votes
3 answers
22492 views
bash: ./configure: no such file or directory
I am experimenting with Linux, and my work uses CentOS 6.5, so I am using that at home. I am following a tutorial, followed it closely I believe, yet I am hitting an error like the one mentioned in the topic. The tutorial is on how to setup a webserver. Things are going as shown in the tutorial unti...
I am experimenting with Linux, and my work uses CentOS 6.5, so I am using that at home. I am following a tutorial, followed it closely I believe, yet I am hitting an error like the one mentioned in the topic. The tutorial is on how to setup a webserver. Things are going as shown in the tutorial until this error: bash: ./configure: no such file or directory This is the command section I am currently stuck at. I did install the current suphp 0.7.2 vs the prescribed 0.7.1 assuming that would not cause troubles. If it is the cause, please let me know. cd /tmp wget http://suphp.org/download/suphp-0.7.2.tar.gz tar xvfz suphp-0.7.2.tar.gz cd suphp-0.7.2/ ./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=owner --with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log --enable-SUPHP_USE_USERGROUP=yes ***never got past this point, as I errored at the last command** make make install [Tutorial link](https://www.howtoforge.com/perfect-server-centos-6.5-apache2-mysql-php-pureftpd-postfix-dovecot-and-ispconfig3)
Eric (11 rep)
Sep 15, 2015, 06:18 PM • Last activity: May 28, 2019, 05:24 PM
0 votes
1 answers
98 views
./configure checking whether vs checking if
`./configure` [script](https://en.wikipedia.org/wiki/Configure_script) outputs `checking if` and `checking whether` on execution how the two results are different for checking conditions?
./configure [script](https://en.wikipedia.org/wiki/Configure_script) outputs checking if and checking whether on execution how the two results are different for checking conditions?
guest (7 rep)
Apr 27, 2019, 05:40 AM • Last activity: Apr 27, 2019, 01:54 PM
0 votes
1 answers
210 views
How to prevent automake from overwrting _DATA file
In Makefile.am we have: bin_PROGRAMS = sample sample_SOURCES = main.cpp sampleconfdir = $(sysconfdir)/sample sampleconf_DATA = sample.cfg whenever I install the application using `make install`, the file sample.cfg gets overwritten. How to tell automake to skip copy if file is already present?
In Makefile.am we have: bin_PROGRAMS = sample sample_SOURCES = main.cpp sampleconfdir = $(sysconfdir)/sample sampleconf_DATA = sample.cfg whenever I install the application using make install, the file sample.cfg gets overwritten. How to tell automake to skip copy if file is already present?
Ali Tavakol (103 rep)
Feb 3, 2019, 05:10 AM • Last activity: Feb 3, 2019, 09:02 AM
5 votes
2 answers
3573 views
`openocd` configure script cannot find `libusb`
I'm installing OpenOCD on my Debian stretch system. When I run `./configure` it reports it cannot find libusb. ``` ... checking for LIBUSB1... no configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing libusb-1.x instead checking for LIBUSB0... no ... ``...
I'm installing OpenOCD on my Debian stretch system. When I run ./configure it reports it cannot find libusb.
...
checking for LIBUSB1... no
configure: WARNING: libusb-1.x not found, trying legacy libusb-0.1 as a fallback; consider installing libusb-1.x instead
checking for LIBUSB0... no
...
I have the correct dependencies installed, but I still get the error.
libhidapi-libusb0/stable,now 0.8.0~rc1+git20140818.d17db57+dfsg-1 amd64 [installed,automatic]
libusb-1.0-0/stable,now 2:1.0.21-1 amd64 [installed,automatic]
libusb-1.0-0-dev/stable,now 2:1.0.21-1 amd64 [installed]
What gives?
Zak (1091 rep)
Jan 10, 2019, 06:47 PM • Last activity: Jan 29, 2019, 11:22 AM
1 votes
0 answers
451 views
Configure cannot find intltool installed in custom path
I'm trying to build [transmission-2.94](https://github.com/transmission/transmission-releases/raw/master/transmission-2.94.tar.xz) on a remote server where I have no privileged access. I, therefore, wanna install all custom software under `~/.local`. I have successfully installed `gettext` and `intl...
I'm trying to build [transmission-2.94](https://github.com/transmission/transmission-releases/raw/master/transmission-2.94.tar.xz) on a remote server where I have no privileged access. I, therefore, wanna install all custom software under ~/.local. I have successfully installed gettext and intltool with PATH and PKG_CONFIG_PATH set-up.
[user@remote transmission-2.94]$ intltool-update --version
intltool-update (intltool) 0.50.2
Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler.

Copyright (C) 2000-2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[user@remote transmission-2.94]$ gettext --version
gettext (GNU gettext-runtime) 0.19
Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
[user@remote transmission-2.94]$
However, when I run ./configure --prefix=${HOME}/.local --enable-utp --enable-cli --enable-daemon --disable-gtk, I still get the following error:
checking system miniupnpc library... none
configure: error: "--enable-nls requires intltool to be installed."
I'm pretty sure my current bash can find intltool and gettext currectly.
[user@remote transmission-2.94]$ which intltool-extract
~/.local/bin/intltool-extract
[user@remote transmission-2.94]$ which intltool-merge  
~/.local/bin/intltool-merge
[user@remote transmission-2.94]$ which intltool-prepare
~/.local/bin/intltool-prepare
[user@remote transmission-2.94]$ which intltool-update 
~/.local/bin/intltool-update
[user@remote transmission-2.94]$ which intltoolize    
~/.local/bin/intltoolize
[user@remote transmission-2.94]$ which gettext
~/.local/bin/gettext
[user@remote transmission-2.94]$ which gettextize
~/.local/bin/gettextize
[user@remote transmission-2.94]$
Any ideas?
TJM (574 rep)
Jan 20, 2019, 05:41 AM
2 votes
1 answers
1932 views
Building packages from source on Arch linux
I've recently set up Arch linux on my desktop PC as a project over the summer, and I'm trying to figure out how to install programs from source. From what I've gathered I have to get the tarball file, extract it, run ./configure, then make, and make-install. I can get past the ./configure, but when...
I've recently set up Arch linux on my desktop PC as a project over the summer, and I'm trying to figure out how to install programs from source. From what I've gathered I have to get the tarball file, extract it, run ./configure, then make, and make-install. I can get past the ./configure, but when I try to run the make command for a codeblocks install I get what looks like a whole bunch of compiler errors. According to the guide on the codeblocks wiki I have to install wxGTK2-2.8.12 before I can install codeblocks itself, and it tells me to run ../configure --prefix=/opt/wx/2.8 --enable-xrc --enable-monolithic --enable-unicode Which to me seems to work alright, here is the terminal output. I then try to run make from the same folder, and the output is really extensive, so sorry if it a pain to read, but the errors are at the end, just not sure whether you will need to see the previous outputs, so here is the entire make output.
spood
Jul 1, 2017, 11:03 AM • Last activity: Oct 23, 2018, 01:31 AM
1 votes
2 answers
326 views
Autotools: Code snippet (AM_MAINTAINER_MODE)
As for this code snippet: AM_MAINTAINER_MODE if test "x$enable_maintainer_mode" = xyes; then AC_PATH_PROG(PERL,perl) if test -z "$PERL"; then AC_MSG_ERROR([perl not found]) fi fi # This should be checked before AC_PROG_CC if test "x$CFLAGS" = x; then default_CFLAGS=yes fi if test "x$host_cpu" = xx86...
As for this code snippet: AM_MAINTAINER_MODE if test "x$enable_maintainer_mode" = xyes; then AC_PATH_PROG(PERL,perl) if test -z "$PERL"; then AC_MSG_ERROR([perl not found]) fi fi # This should be checked before AC_PROG_CC if test "x$CFLAGS" = x; then default_CFLAGS=yes fi if test "x$host_cpu" = xx86_64; then CFLAGS="-m32 $CFLAGS" fi I can't find any information on the three variable that is being tested (x$enable_maintainer_mode, x$CFLAGS, x$host_cpu). Are these variable generated after executing the macro AM_MAINTAINER_MODE? If so, where can I find more information about them? Also, what's the purpose of the AM_MAINTAINER_MODE mode? From my understanding, it's disabled by default: - If a user runs 'configure' and all dependencies are NOT met (Automake version, tools, libraries, etc.), it with terminate and will not proceed further. - If a user runs 'configure' and all dependencies are met, it creates and runs the config.status script which generates the 'make' files - A user can override this setting with the –enable-maintainer-mode option. This will allows them to modify different Autotool files (such as configure.ac, Makefile.am) and the build system will try to regenerate the files that need to be updated to reflect these changes (Autotools will look for any outdated files and update them accordingly). I can see why disabling this mode may be preferable. Any reasons why'd you'd want to enable this feature?
supmethods (561 rep)
Oct 12, 2018, 11:12 AM • Last activity: Oct 13, 2018, 12:40 PM
2 votes
1 answers
1602 views
Specify script to run with install command automake
I'm currently building a large package which is handled with automake. Package is composed by C,C++ and Python. So far i have good results with C/C++ but i'm blocked when it comes to python dependencies. I personnaly run a script when i'm installing, and i'd like to run it whenever `make install` is...
I'm currently building a large package which is handled with automake. Package is composed by C,C++ and Python. So far i have good results with C/C++ but i'm blocked when it comes to python dependencies. I personnaly run a script when i'm installing, and i'd like to run it whenever make install is called. For now it's called by configure.ac but it's run at unecessary times. The script is doing 3 things : - Placing some python files in /usr/local/lib/python2.7/(dist|site)-packages - Installing a homemade python module - Checking for python & program dependencies such as geckodriver and install those if necessary I know that makefiles generated by automake are "creating commands" that are triggered when install or uninstall by example, and i'd like to know how to tell makefile.am to call somescript.sh when install is called and to call someOtherscript.sh when uninstall is called to remove what my program installed. A bit like preinst script in debian packages.
Neah-Ko (123 rep)
Mar 1, 2017, 02:25 PM • Last activity: Aug 21, 2018, 12:42 PM
7 votes
2 answers
2158 views
./configure : Show all missing packages at once
I have compiled a package that uses autotools as build system (`autoreconf`, `./configure`, `make`, `make install`). `./configure` stops when a package is missing. For each missing package, I look up its name, then either I do `apt install package` or I compile it from source if not available. Then...
I have compiled a package that uses autotools as build system (autoreconf, ./configure, make, make install). ./configure stops when a package is missing. For each missing package, I look up its name, then either I do apt install package or I compile it from source if not available. Then I run ./configure again and it tells me the name of another unsatisfied dependency. If there are only one or two missing packages, this is ok. But there were 19! libmspack-dev libglib2.0-dev libpam0g-dev libssl-dev libxml2-dev libxmlsec1-dev libx11-dev libcunit1-dev libxext-dev libxinerama-dev libxi-dev libxrender-dev libxrandr-dev libxtst-dev libgdk-pixbuf2.0-dev libgtk-3-dev libgtkmm-3.0-dev libtool dnet I would like ./configure to continue on error, and show me all missing packages at once, so I can install them all at once. Otherwise it is long and painful to run ./configure and apt install 19 times.
Bilow (654 rep)
Jul 27, 2018, 08:24 AM • Last activity: Jul 27, 2018, 06:21 PM
Showing page 1 of 20 total questions