Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

automake et aclocal

1 réponse
Avatar
David Remacle
salut,

J'ai un projet en C très simple. Dans le répertoire /src j'ai trois
fichiers :

- afficher.c
- afficher.h
- main.c

Je suis le tutoriel pour obtenir un ./configure a partir de l'url
http://ymettier.free.fr/articles_lmag/lmag75/lmag75.html.

Je fais les étapes 1 à 4... sans problème.

Mais arrivé à l'étape 6, je fais les commandes qu'il indique à savoir :

- aclocal
- autoconf
- automake -a -c

Et là j'ai un beau :

configure.ac:3: installing `./missing'
configure.ac:3: installing `./install-sh'
automake: no `Makefile.am' found for any configure output

J'avoue ne pas comprendre... Voici mon configure.ac

AC_PREREQ(2.61)
AC_INIT(bonjour, 0.1, ymettier@libertysurf.fr)
AM_INIT_AUTOMAKE

AC_PROG_CC
AC_PROG_MAKE_SET

AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT


Comment régler le problème ?

1 réponse

Avatar
JM Marino
David Remacle wrote:
salut,

J'ai un projet en C très simple. Dans le répertoire /src j'ai trois
fichiers :

- afficher.c
- afficher.h
- main.c

Je suis le tutoriel pour obtenir un ./configure a partir de l'url
http://ymettier.free.fr/articles_lmag/lmag75/lmag75.html.

Je fais les étapes 1 à 4... sans problème.

Mais arrivé à l'étape 6, je fais les commandes qu'il indique à savoir
:

- aclocal
- autoconf
- automake -a -c

Et là j'ai un beau :

configure.ac:3: installing `./missing'
configure.ac:3: installing `./install-sh'
automake: no `Makefile.am' found for any configure output

J'avoue ne pas comprendre... Voici mon configure.ac

AC_PREREQ(2.61)
AC_INIT(bonjour, 0.1, )
AM_INIT_AUTOMAKE

AC_PROG_CC
AC_PROG_MAKE_SET

AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT


Comment régler le problème ?



Tu as du sauter une étape. Il n'y a aucune raison que ça ne fonctionne
pas !

Voir http://www-igm.univ-mlv.fr/~dr/XPOSE/Breugnot/