
Je trouve que c'est une erreur d'avoir autant de paquets dans notre arbre. C'est une contrainte, quelque chose qui nuit à la productivité. Si un jour il faut rendre un paquet autonome, ce serait facile de l'arnacher, mais entre temps, je propose la suppression de tous les configure.ac intermédiaires. Seul le bundle compte.

"Akim" == Akim Demaille <akim@lrde.epita.fr> writes:
Je trouve que c'est une erreur d'avoir autant de paquets dans notre arbre. C'est une contrainte, quelque chose qui nuit à la productivité. Si un jour il faut rendre un paquet autonome, ce serait facile de l'arnacher, mais entre temps, je propose la suppression de tous les configure.ac intermédiaires. Seul le bundle compte.
Sans compter que ça évitera d'avoir une compilation de c-condition qui dépende de la dernière install de c-grammar au lieu de dépendre de celle qui est dans le bundle et qu'on vient de modifier. Grr. Bon, vlà aut'chose... C'est quoi cette )(#*$)(#*$ !? ========================================= Bootstrapping sdf-attribute autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I config /usr/local/share/aclocal-1.9a/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/local/share/aclocal-1.9a/xdelta.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal-1.9a/xdelta.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'. libtoolize: copying file `config/libtool.m4' libtoolize: copying file `config/argz.m4' libtoolize: copying file `config/ltoptions.m4' libtoolize: copying file `config/ltsugar.m4' libtoolize: copying file `config/ltversion.m4' /usr/local/share/aclocal-1.9a/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/local/share/aclocal-1.9a/xdelta.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal-1.9a/xdelta.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: running: /usr/local/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing /usr/local/share/automake-1.9a/am/depend2.am: am__fastdepCXX does not appear inAM_CONDITIONAL src/check/Makefile.am: C++ source seen but `CXX' is undefined src/check/Makefile.am: src/check/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX' src/check/Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1

Je voudrais aussi comprendre ce qui suit. Que suis-je supposé faire pour avoir une compilation pas prise de tête de str-lazy ? J'attache mon config.site. configure: configuring in sdf-attribute configure: running /bin/sh '../../sdf-attribute/configure' --prefix=/usr/local--with-str-lazy=\${prefix} --with-esdf=\${prefix} --with-boxedsdf=\${prefix} --with-sdf-detgen=\${prefix} --with-bundled-packages='str-lazy esdf boxedsdf sdf-detgen sdf-attribute sdf-option sdf-astgen cxx-grammar cxx-basic c-grammar c-condition specs-grammar' --with-bundle-inst-dir='/home/akim/src/transformers/_build/tmpdist' SHELL=/home/akim/src/transformers/_build/envshell --with-build-repository='/home/akim/src/transformers/_build/XTC' --with-repository='${datarootdir}/transformers/XTC' --cache-file=../config.cache --srcdir=../../sdf-attribute configure: loading site script /home/akim/src/config.site Loading config.site for sdf-attribute (srcdir: ../../sdf-attribute) config.site: upper: transformers __ _ _ _ ___ ___ _ __ / _(_) __ _ ___(_) |_ ___ _ / __/ _ \| '_ \| |_| |/ _` | / __| | __/ _ (_) | (_| (_) | | | | _| | (_| |_\__ \ | || __/_ \___\___/|_| |_|_| |_|\__, (_)___/_|\__\___(_) |___/ _ __ | |_ _ __ __ _ _ __ ___ / _| ___ _ __ _ __ ___ ___ _ __ ___ | __| '__/ _` | '_ \/ __| |_ / _ \| '__| '_ ` _ \ / _ \ '__/ __| | |_| | | (_| | | | \__ \ _| (_) | | | | | | | | __/ | \__ \ \__|_| \__,_|_| |_|___/_| \___/|_| |_| |_| |_|\___|_| |___/ ++ with_strategoxt=/home/lrde/admin/lrde/usr/stratego ++ with_aterm=/home/lrde/admin/lrde/usr/stratego ++ with_sdf=/home/lrde/admin/lrde/usr/stratego ++ test -f ../../sdf-attribute/config.site ++ set +vx configure: loading cache config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for the SVN revision of the source tree... not available, defaulting to 0 checking build system type... (cached) i686-pc-linux-gnu checking host system type... (cached) i686-pc-linux-gnu checking whether host operating system is Darwin... no checking for style of include used by make... GNU checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether location of ATerm library is explicitly set... yes checking for baffle at /home/lrde/admin/lrde/usr/stratego/bin/baffle... yes checking whether location of SDF Packages is explicitly set... yes checking for sdf2table at /home/lrde/admin/lrde/usr/stratego/bin/sdf2table... yes checking for sglr at /home/lrde/admin/lrde/usr/stratego/bin/sglr... yes checking for implodePT at /home/lrde/admin/lrde/usr/stratego/bin/implodePT... yes checking for asf-library at /home/lrde/admin/lrde/usr/stratego/share/asf-library... yes checking whether location of XTC package is explicitly set... no checking whether location of XTC package is set explicity by the location of Stratego/XT... yes checking whether location of Stratego/XT is explicitly set... yes checking for strc at /home/lrde/admin/lrde/usr/stratego/bin/strc... yes checking for pack-sdf at /home/lrde/admin/lrde/usr/stratego/bin/pack-sdf... yes checking for sdf2rtg at /home/lrde/admin/lrde/usr/stratego/bin/sdf2rtg... yes checking for baffle at /home/lrde/admin/lrde/usr/stratego/bin/baffle... yes checking for sdf2table at /home/lrde/admin/lrde/usr/stratego/bin/sdf2table... yes checking for sglr at /home/lrde/admin/lrde/usr/stratego/bin/sglr... yes checking for implodePT at /home/lrde/admin/lrde/usr/stratego/bin/implodePT... yes checking for asf-library at /home/lrde/admin/lrde/usr/stratego/share/asf-library... yes checking for strc at /home/lrde/admin/lrde/usr/stratego/bin/strc... yes checking for pack-sdf at /home/lrde/admin/lrde/usr/stratego/bin/pack-sdf... yes checking for sdf2rtg at /home/lrde/admin/lrde/usr/stratego/bin/sdf2rtg... yes checking for STRLAZY... configure: error: Package requirements (str-lazy) were not met. Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively you may set the STRLAZY_CFLAGS and STRLAZY_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for more details. configure: error: /bin/sh '../../sdf-attribute/configure' failed for sdf-attribute src/transformers/_build % nostromo Err 1

Akim Demaille wrote:
"Akim" == Akim Demaille <akim@lrde.epita.fr> writes:
Je trouve que c'est une erreur d'avoir autant de paquets dans notre arbre. C'est une contrainte, quelque chose qui nuit à la productivité. Si un jour il faut rendre un paquet autonome, ce serait facile de l'arnacher, mais entre temps, je propose la suppression de tous les configure.ac intermédiaires. Seul le bundle compte.
Sans compter que ça évitera d'avoir une compilation de c-condition qui dépende de la dernière install de c-grammar au lieu de dépendre de celle qui est dans le bundle et qu'on vient de modifier. Grr.
Bon, vlà aut'chose...
C'est quoi cette )(#*$)(#*$ !?
========================================= Bootstrapping sdf-attribute
autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I config /usr/local/share/aclocal-1.9a/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/local/share/aclocal-1.9a/xdelta.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal-1.9a/xdelta.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'. libtoolize: copying file `config/libtool.m4' libtoolize: copying file `config/argz.m4' libtoolize: copying file `config/ltoptions.m4' libtoolize: copying file `config/ltsugar.m4' libtoolize: copying file `config/ltversion.m4' /usr/local/share/aclocal-1.9a/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/local/share/aclocal-1.9a/xdelta.m4:7: run info '(automake)Extending aclocal' /usr/local/share/aclocal-1.9a/xdelta.m4:7: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal autoreconf: running: /usr/local/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing /usr/local/share/automake-1.9a/am/depend2.am: am__fastdepCXX does not appear inAM_CONDITIONAL src/check/Makefile.am: C++ source seen but `CXX' is undefined src/check/Makefile.am: src/check/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX' src/check/Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1
Pour éviter tous les --with-* tu peux utiliser package-config. pour cela:§ export PKG_CONFIG_PATH=~lrde/usr/stratego/lib/pkgconfig -- Pouillard Nicolas aka Ertai LRDE CSI 2006 http://www.feydakins.org ertai@lrde.epita.fr

Nicolas Pouillard <ertai@lrde.epita.fr> disait le 09/21/05 :
Akim Demaille wrote:
/usr/local/share/automake-1.9a/am/depend2.am: am__fastdepCXX does not appear inAM_CONDITIONAL src/check/Makefile.am: C++ source seen but `CXX' is undefined src/check/Makefile.am: src/check/Makefile.am: The usual way to define `CXX' is to add `AC_PROG_CXX' src/check/Makefile.am: to `configure.ac' and run `autoconf' again. autoreconf: automake failed with exit status: 1
Sorry, I forgot to add AC_PROG_CXX to the configure.ac. I did not check with the lastest autotools.
Pour éviter tous les --with-* tu peux utiliser package-config. pour cela:§
export PKG_CONFIG_PATH=~lrde/usr/stratego/lib/pkgconfig
Actually, it is mandatory. --with-* options do not work anymore.

"Olivier" == Olivier Gournet <olivier.gournet@lrde.epita.fr> writes:
Pour éviter tous les --with-* tu peux utiliser package-config. pour cela:§
export PKG_CONFIG_PATH=~lrde/usr/stratego/lib/pkgconfig
Actually, it is mandatory. --with-* options do not work anymore.
So, are you telling me that I should get rid of all the following (for both tfers and tiger-in-str), except the PKG_CONFIG_PATH snippet? case $package in tiger-in-stratego) # Use the cache. cache_file=config.cache # with_sdf=$lrde/usr/Sdf with_strategoxt=$lrde/usr/stratego with_aterm=$with_strategoxt with_pgen=$with_strategoxt with_sglr=$with_strategoxt ;; transformers) # Use the cache. cache_file=config.cache set -x with_strategoxt=$lrde/usr/stratego with_aterm=$with_strategoxt with_sdf=$with_strategoxt export PKG_CONFIG_PATH=~lrde/admin/lrde/usr/stratego/lib/pkgconfig ;; esac Is that right?

Akim Demaille <akim@lrde.epita.fr> disait le 09/26/05 :
"Olivier" == Olivier Gournet <olivier.gournet@lrde.epita.fr> writes:
Pour éviter tous les --with-* tu peux utiliser package-config. pour cela:§
export PKG_CONFIG_PATH=~lrde/usr/stratego/lib/pkgconfig
Actually, it is mandatory. --with-* options do not work anymore.
So, are you telling me that I should get rid of all the following (for both tfers and tiger-in-str), except the PKG_CONFIG_PATH snippet?
case $package in tiger-in-stratego) # Use the cache. cache_file=config.cache
# with_sdf=$lrde/usr/Sdf with_strategoxt=$lrde/usr/stratego with_aterm=$with_strategoxt with_pgen=$with_strategoxt with_sglr=$with_strategoxt ;;
transformers) # Use the cache. cache_file=config.cache
set -x with_strategoxt=$lrde/usr/stratego with_aterm=$with_strategoxt with_sdf=$with_strategoxt export PKG_CONFIG_PATH=~lrde/admin/lrde/usr/stratego/lib/pkgconfig ;; esac
Is that right?
Yes. You can also keep $cache_file.

On 9/20/05, Akim Demaille <akim@lrde.epita.fr> wrote:
Je trouve que c'est une erreur d'avoir autant de paquets dans notre arbre. C'est une contrainte, quelque chose qui nuit à la productivité. Si un jour il faut rendre un paquet autonome, ce serait facile de l'arnacher, mais entre temps, je propose la suppression de tous les configure.ac intermédiaires. Seul le bundle compte.
Why changing something that works? It was long to set, but now it does not need so much maintaining. It is good to have a build farm that check each packages, reading the logs is easier. -- Valentin David valentin.david@gmail.com
participants (4)
-
Akim Demaille
-
Nicolas Pouillard
-
olivier
-
Valentin David