[parted-devel] bootstrap problems building parted

Frodo Baggins frodo.drogo at gmail.com
Tue Sep 11 17:57:43 UTC 2007


Hi all,
I get the following errors/notes when I run ./bootstrap
Any ideas?

START
neo at ZION:~/src/parted-work/parted> ./bootstrap
./bootstrap: Bootstrapping CVS parted...
./bootstrap: getting translations into po for parted...
23:00:59 URL:http://translationproject.org/domain/parted.html
[71223/71223] -> "po/parted.html" [1]

...

./bootstrap: gnulib/gnulib-tool  --import --no-changelog --aux-dir
._bootmp/build-aux --doc-base ._bootmp/doc --lib libparted --m4-base
._bootmp/m4/ --source-base ._bootmp/lib/ --tests-base ._bootmp/tests
--local-dir gl --import ...
Module list with included dependencies:
  absolute-header
...
  xstrndup
File list:
  build-aux/announce-gen
...
Creating ./._bootmp/m4/.gitignore
Finished.

You may need to add #include directives for the following .h files.
  #include <alloca.h>
  #include <assert.h>
  #include <inttypes.h>
  #include <stdbool.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
  #include "closeout.h"
  #include "configmake.h"
  #include "gettext.h"
  #include "long-options.h"
  #include "safe-read.h"
  #if HAVE_UTIME_H
  # include <utime.h>
  #else
  # include <sys/utime.h>
  #endif

You may need to use the following Makefile variables when linking.
Use them in <program>_LDADD when linking a program, or
in <library>_a_LDFLAGS or <library>_la_LDFLAGS when linking a library.
  $(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

Don't forget to
  - add "._bootmp/lib/Makefile" to AC_CONFIG_FILES in ./configure.ac,
  - mention "lib" in SUBDIRS in ._bootmp/Makefile.am,
  - mention "-I ._bootmp/m4" in ACLOCAL_AMFLAGS in Makefile.am,
  - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC,
  - invoke gl_INIT in ./configure.ac.
./bootstrap: doc/fdl.texi overrides ._bootmp/doc/fdl.texi
./bootstrap: patching m4/gettext.m4 to remove need for intl/* ...
./bootstrap: (cd ._bootmp2; autopoint) ...
Copying file ABOUT-NLS
Creating directory build-aux
...

./bootstrap: build-aux/config.rpath overrides ._bootmp2/build-aux/config.rpath
./bootstrap: m4/codeset.m4 overrides ._bootmp2/m4/codeset.m4
<lot-more-overrides-here>
./bootstrap: libtoolize -c -f ...
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
./bootstrap: aclocal --force -I m4 ...
configure.ac:189: warning: macro `AM_ENABLE_SHARED' not found in library
configure.ac:198: warning: macro `AM_DISABLE_SHARED' not found in library
configure.ac:200: warning: macro `AM_PROG_LIBTOOL' not found in library
./bootstrap: autoconf --force ...
configure.ac:189: error: possibly undefined macro: AM_ENABLE_SHARED
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:198: error: possibly undefined macro: AM_DISABLE_SHARED
configure.ac:200: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.ac:491: error: possibly undefined macro: AC_PROG_LD

END
I ran ``m4 aclocal.m4'' and ran bootstrap again and the above output
was obtained.

Regards,
Frodo B



More information about the parted-devel mailing list