Questions tagged [automake]
The automake tag has no usage guidance.
49
questions
0
votes
0
answers
28
views
Add "automake" package in buildroot
I should use aclocal command, from automake package, in a qemu environment using a rootfs generated with buildroot.
I noticed that there is no options to add automake package when I use menuconfig ...
1
vote
1
answer
151
views
How to choose items automatically in an interactive shell command?
I know I can use printf to automate parameter entry for some programs.
For example:
printf 'user_name\npassword' | sudo openconnect URL
But this does not work for npm create qwik@latest. Because it ...
0
votes
1
answer
266
views
how to join the domain the using winbind and samba with password in automation
I have installed samba and winbind in rhel8.
I was trying to automate the domain join process as well. But when try it manually it is working as expected when we enter the password manually for "...
1
vote
2
answers
104
views
What are "distributions" in automake?
In a Makefile.am file I saw the following entry:
EXTRA_DIST = bootstrap \
ChangeLog \
config/config.rpath \
m4/ax_pthread.m4 \
m4/iconv.m4 \
MacOSX/someheader.h
[...]
and I ...
4
votes
2
answers
846
views
How to put multiple -I, -L and -l flags in ./configure?
I am trying to build using ./configure.
I have
Three include directories
-I/path1/include
-I/path2/include
-I/path3/include
Two link directories
-L/path1/lib
-L/path2/lib
Two -l flag options
-...
0
votes
1
answer
37
views
AX_CHECK_X86_FEATURES for CXXFLAGS
The autoconf AX_CHECK_X86_FEATURES will test for -mavx, -mavx2, etc and add it to CFLAGS. What is the right way to propagate it to CXXFLAGS too? Is it "clean" to always add CFLAGS to ...
0
votes
1
answer
271
views
Override makefile precious variable
configure.ac has precious variables[1], which are supposed to be subbed-in when calling configure, e.g. configuring the location of the system Lua interpreter as a precious variable[2]:
configure.ac:
...
0
votes
0
answers
28
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/...
0
votes
1
answer
151
views
Building rsync from git source
I am trying to build rsync 1.7.0 from git source.
$ autoreconf
$ ./configure
:
config.status: error: cannot find input file: `config.h.in'
If I copy config.h.in from rsync-1.7.0.tar.gz, ./configure ...
0
votes
1
answer
115
views
How do I modify a debian/ubuntu based gnu autotooling build to fedora 32?
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 ...
-1
votes
2
answers
1k
views
How can I fix this automake and autoconf missing issue?
I am trying to install avro-keyboard on Kali Linux but I am getting this error message on folowing this step from the tutorials:
root@al-ajal:~# apt-get install git ibus libibus-1.0-dev automake ...
2
votes
1
answer
1k
views
Is it possible to make -jN dynamic based on CPU load?
For example, would it not be beneficial to have -jN > nrcpus during the configure phase, where CPU load is low? Then have -jN = nrcpus during compilation, where load should be evenly distributed to ...
0
votes
1
answer
133
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 ...
1
vote
0
answers
729
views
Compiling python with custom library path [duplicate]
I'm trying to install the latest Python version on my workstation at work. Unfortunately I don't have root access, and they won't do it for me, so I have to compile from source and put it in ~/local/...
0
votes
1
answer
168
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 ...
3
votes
1
answer
691
views
How to make autoconf use "install" instead of "mkdir -p"?
When I run sudo make install on a compiled package from the GNU archive, it uses mkdir -p to create the destination directories.
I'd prefer it to use mkdir -p -m 0755 or install -d -m 0755 instead in ...
3
votes
3
answers
556
views
Issue with "make distcheck" in GNU autotools project relating to generating a manual
I'm using autoconf and automake to build a tiny project.
For the project's manual, I've used OpenBSD's native mdoc format, and the installable man-formatted manual is generated from this using the ...
0
votes
2
answers
280
views
Error in bin/sh when installing automake-1.13
I'm attempting to install automake-1.13.4 on my system.
First, I do ./configure which creates a Makefile compatible with my system.
However, when I execute make, it runs for a bit, but then returns ...
1
vote
0
answers
131
views
Automake distcheck of symlinked sources
I maintain a "master" makefile for a project with many submodules, each of which has its own autotools structure. This project is tested in a number of configurations (e.g. built against different-...
3
votes
4
answers
854
views
Automating OpenSSL certificates creation, Let'sEncrypt signing, and site dir associating, in an Nginx environment
I have an Ubuntu-server 16.04 VPS and Nginx. Now I'm implementing HTTP1 (without TLS, utilizing port 80) but I desire to go "one step forward" and work with HTTP2 (with TLS, utilizing port 443), for ...
2
votes
2
answers
1k
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 ...
-1
votes
1
answer
105
views
How Mount a datastore on linux in python [closed]
I need to mount xyz/pqr/ datastore on my linux mychine for in my python script.
1
vote
1
answer
3k
views
bad interpreter: No such file or directory
I'm building autoconf-2.68.
I'm not very familiar with this tool. However, after analysing the Makefiles,
I find that the build fails when running the script autoconf-2.68/bin/autom4te.
I'm having ...
1
vote
1
answer
1k
views
Makefile installing python module out of of pythonpath?
I'm currently building a project that imply sources from different languages such as C, C++ and some homemade python module.
I'm using Automake/Autotools to install the sources. Problem here is when i'...
2
votes
1
answer
1k
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 ...
4
votes
1
answer
121
views
GNU autotooling, where to install shell functions?
I have a tiny project that configures and installs some shell scripts using GNU autotools.
Now, the scripts will have to source a common file containing some shell functions.
Where should this file ...
2
votes
5
answers
825
views
Create a temporary script with sed (or any other utility) for immediate script creation to run in-place
I use sed to change text in existing files and Nano to create new files.
I change text with sed this way, for example:
sudo sed -i 's/TESTING === "1"/TESTING === "0"/g' /etc/csf/csf.conf
Is there a ...
3
votes
1
answer
421
views
Using *Autotools*, how do I save the compiler listing on a file by file basis?
Please understand I'm using Autotools / Automake / Autoconf, and I can not use redirection because it needs to be applied command by command in the make file generated by autotools.
I need a way for ...
2
votes
0
answers
447
views
Locally built zsh can't find its own function files
Okay, so the Linux server I use at work doesn't have Zsh installed on it and I don't have root access, so I manually built and installed zsh to "$HOME/usr" (I've done this with other programs such as ...
2
votes
1
answer
485
views
How to remove a license file when debian packaging using autotools automake?
My Debian package produces a lintian error:
rhythmbox-plugin-alternative-toolbar: extra-license-file usr/lib/rhythmbox/plugins/alternative-toolbar/LICENSE
This is because the source contains the ...
5
votes
3
answers
25k
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/\${ <-- ...
1
vote
1
answer
675
views
How to add a precompiled library in autotools?
I have a precompiled shared object that I need to distribute with the package I'm building, how do I get automake to copy the shared object to the lib/ folder where it places all of the rest of the ...
1
vote
1
answer
749
views
'pkglibexecdir' is not a legitimate directory
I'm following some outdated instructions in an attempt to compile some proprietary, closed-source, unsupported, legacy code. Here is what a typical shell session looks like:
$ autoreconf -fi
src/...
1
vote
0
answers
141
views
Moving to FHS 3: How to overwrite GNU Autotools directory variables?
In GNU Autotools, the directory variables $sharedstatedir and $localstatedir expand to $(prefix)/com and $(prefix)/var respectively.
However the com and var directories don't exist anymore in FHS 3, ...
6
votes
2
answers
2k
views
How to prevent automake from overwriting INSTALL?
I'm working on a project that has a custom INSTALL file. Running automake --add-missing (or more precisely, autoreconf -i) will generate the GNU default INSTALL file, and overwrite our file with it.
...
1
vote
3
answers
5k
views
Automake - problem with installing version automake-1.14.1
I have problem with installing automake 1.14.1 on Rapbian (2014-09-09-wheezy-raspbian) distro. I wrote sh ./configure and then I wrote make then terminal wrote me that:
$ make
CDPATH="${...
3
votes
1
answer
2k
views
Why is this autogen.sh script failing?
I've downloaded this window manager from github and it has a autogen.sh script but it failed each time.
I don't know what could happen or how to fix it:
Output from ./autogen.sh:
/usr/bin/gnome-...
2
votes
1
answer
1k
views
Trying to automake gnome-terminal
I am on Fedora 20. I am trying to make gnome-terminal. The automake does not find certain packages. I do not understand why.
Here is the part I do not understand.
checking which gtk+ version to ...
5
votes
3
answers
1k
views
What is the preferred way to build software in the BSDs?
I was wondering what the preferred way of building software in the BSDs is and if they are actively using and encouraging the use of GNU autotools.
I found the following section about GNU autoconf in ...
3
votes
1
answer
265
views
When did Automake switch to using Perl
I tried to get remove Perl from my Ubuntu machine, but found that automake not only depends on Perl but itself is a Perl program. I read somewhere this was not always the case.
Today I looked in the ...
2
votes
1
answer
897
views
Nested packages for different subdirectories in autoconf?
I have different subdirectories that need to be compiled in different ways. For example, some files needs to include some others using CFLAGS. However, CFLAGS can only be set in configuration files, ...
3
votes
1
answer
1k
views
Dependencies problem with automake
I am using automake on Debian Squeeze for compiling a very simple C project with 6 source files.
The issue comes when I try to compile the sources using the generated Makefile. One of the sources (...
2
votes
3
answers
6k
views
Will g++ build 64bit on 64bit system?
If I am using automake to build a library if there are no specific flags specifying target system will the result be according to the system that the build is happening on? Meaning compiler on 64bit ...
1
vote
1
answer
797
views
Autotools does not detect my architecture correctly. How to handle?
I am trying to build the latest ffmpeg from the git repo. However, as you can see below, autotools does not detect correctly that my box has 64-bit architecture (Ubuntu 12.04). Consequently, during ...
4
votes
2
answers
2k
views
Do GNUmakefile, GNUmakefile.am, and GNUmakefile.in indicate that Automake has been used?
The source folder of rtnet contains only the above mentioned files for compilation purposes. Remaining files are the source code of the examples.
Question is that do these files indicate that they ...
16
votes
2
answers
20k
views
configure.ac: not using gettext
I am trying to compile a gnome application and I am curious what the output means when I run the autogen.sh script:
~/Documents/Code/window-picker-applet $./autogen.sh
autoreconf: Entering directory `...
3
votes
1
answer
2k
views
Add additional processing in an automake build for one object
I'm trying to make a small change to an automake build.
The system to modify uses configure.ac and Makefile.am inputs.
For a single object file within one subdirectory I have to invoke
a script ...
3
votes
1
answer
3k
views
How to change the compiler settings with AutoMake?
I want to build a library with a specific tool instead of GCC.
The regular build sequence is:
./configure
make
make install
Where should I replace the GCC settings (I think that the configure was ...
2
votes
2
answers
2k
views
How to disallow different automake versions from overwriting each other's binary files
I was using automake 1.11 without trouble, until some package required automake 1.10. When installing it, I found that it actually wants to overwrite /usr/bin/{aclocal,automake} (which were installed ...