Questions tagged [automake]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

How to automate screen to run a command, extract some text and detach the screen?

I am trying to automate a simple task which contains four steps : A bash script which takes one argument as the port number Open a screen name "Notebook" run a command in the screen ...
user avatar
1 vote
2 answers
22 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 ...
user avatar
  • 593
3 votes
2 answers
265 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 -...
user avatar
  • 35
0 votes
1 answer
20 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 ...
user avatar
  • 165
0 votes
1 answer
127 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: ...
user avatar
  • 101
0 votes
0 answers
20 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/...
user avatar
0 votes
1 answer
52 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 ...
user avatar
  • 29.9k
0 votes
1 answer
79 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 ...
user avatar
  • 4,412
-1 votes
2 answers
836 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 ...
user avatar
1 vote
1 answer
672 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 ...
user avatar
0 votes
1 answer
36 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 ...
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/...
user avatar
  • 123
0 votes
1 answer
101 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 ...
user avatar
3 votes
1 answer
591 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 ...
user avatar
  • 775
3 votes
2 answers
440 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 ...
user avatar
  • 272k
0 votes
2 answers
202 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 ...
user avatar
  • 51
1 vote
0 answers
104 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-...
user avatar
3 votes
4 answers
679 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 ...
user avatar
-1 votes
1 answer
75 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.
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 ...
user avatar
  • 175
1 vote
1 answer
991 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'...
user avatar
  • 113
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 ...
user avatar
  • 113
4 votes
1 answer
107 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 ...
user avatar
  • 272k
2 votes
5 answers
757 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
385 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 ...
user avatar
1 vote
0 answers
328 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 ...
user avatar
2 votes
1 answer
415 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 ...
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/\${ <-- ...
user avatar
  • 179
1 vote
1 answer
596 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 ...
user avatar
  • 213
1 vote
1 answer
681 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/...
user avatar
  • 9,039
1 vote
0 answers
101 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, ...
user avatar
  • 525
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. ...
user avatar
  • 525
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="${...
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-...
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 ...
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
246 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 ...
user avatar
2 votes
1 answer
815 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, ...
user avatar
  • 333
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 (...
user avatar
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 ...
user avatar
1 vote
1 answer
696 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 ...
user avatar
  • 2,665
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 ...
user avatar
15 votes
2 answers
18k 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 `...
user avatar
  • 888
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 ...
user avatar
3 votes
1 answer
2k 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 ...
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 ...
user avatar
  • 61.3k