Questions tagged [automake]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Mirco's user avatar
  • 1
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 ...
Saeed Neamati's user avatar
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 "...
Uma's user avatar
  • 1
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 ...
scrrr's user avatar
  • 653
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 -...
Sap BH's user avatar
  • 45
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 ...
MappaM's user avatar
  • 175
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: ...
Donald's user avatar
  • 101
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/...
Rose Kunkel's user avatar
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 ...
Ole Tange's user avatar
  • 33.7k
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 ...
Dani_l's user avatar
  • 4,740
-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 ...
Raiyan Ahmad Saadi's user avatar
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 ...
avisitoritseems's user avatar
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 ...
user8908459's user avatar
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/...
Kayson's user avatar
  • 123
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 ...
Ali Tavakol's user avatar
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 ...
EnzoR's user avatar
  • 913
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 ...
Kusalananda's user avatar
  • 323k
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 ...
njszym's user avatar
  • 51
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-...
Jim Klimov's user avatar
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 ...
user avatar
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 ...
user1610950's user avatar
-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.
abhishek yadav's user avatar
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 ...
Mouin's user avatar
  • 185
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'...
Neah-Ko's user avatar
  • 123
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 ...
Neah-Ko's user avatar
  • 123
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 ...
Kusalananda's user avatar
  • 323k
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 ...
user avatar
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 ...
HiTechHiTouch's user avatar
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 ...
Alexej Magura's user avatar
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 ...
fossfreedom's user avatar
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/\${ <-- ...
ISlimani's user avatar
  • 179
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 ...
Alex's user avatar
  • 213
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/...
igal's user avatar
  • 9,676
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, ...
Emil Laine's user avatar
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. ...
Emil Laine's user avatar
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="${...
Peter Kačur's user avatar
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-...
Codingale's user avatar
  • 133
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 ...
historystamp's user avatar
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 ...
user avatar
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 ...
user54129's user avatar
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, ...
Johannes's user avatar
  • 353
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 (...
nsx's user avatar
  • 133
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 ...
Nickolay Kondratyev's user avatar
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 ...
Vorac's user avatar
  • 2,957
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 ...
Aquarius_Girl's user avatar
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 `...
lanoxx's user avatar
  • 968
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 ...
Wolfgang Rostek's user avatar
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 ...
Max's user avatar
  • 33
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 ...
tshepang's user avatar
  • 64.7k