bug-gnu-libiconv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnu-libiconv] Ubuntu 16.04.1 Rebuild libiconv failure...


From: Bruno Haible
Subject: Re: [bug-gnu-libiconv] Ubuntu 16.04.1 Rebuild libiconv failure...
Date: Sat, 01 Oct 2016 17:42:17 +0200
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

Hi,

JIA Pei wrote on 2016-09-24:
> libiconv release: libiconv-1.14
> ./autogen produced the following:

When you use the libiconv-1.14 tarball, you DON'T need to run 'autogen.sh'.
Just run configure, make, make install - like for any other GNU package.
See the file 'INSTALL.generic' for details.

> Now, I'm using libiconv git from
> git://git.savannah.gnu.org/libiconv.git
> 
> 
> What I obtained now:
> 
> 
> You may need to add #include directives for the following .h files.
> >  #include <signal.h>
> >  #include <stdio.h>
> >  #include <stdlib.h>
> >  #include <string.h>
> >  #include <unistd.h>
> >  #include "binary-io.h"
> >  #include "error.h"
> >  #include "gettext.h"
> >  #include "progname.h"
> >  #include "relocatable.h"
> >  #include "safe-read.h"
> >  #include "uniwidth.h"
> >  #include "unlocked-io.h"
> >  #include "xalloc.h"
> >
> > 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
> >  - "include Makefile.gnulib" from within "srclib/Makefile.am",
> >  - mention "-I srcm4" in ACLOCAL_AMFLAGS in Makefile.am,
> >  - mention "srcm4/gnulib-cache.m4" in EXTRA_DIST in Makefile.am,
> >  - invoke gl_EARLY in ./configure.ac, right after AC_PROG_CC,
> >  - invoke gl_INIT in ./configure.ac.
> > if test -n "$GNULIB_TOOL"; then \
> >  $GNULIB_TOOL --lib=libicrt --source-base=srclib --m4-base=srcm4
> > --makefile-name=Makefile.gnulib --no-libtool --local-dir=gnulib-local
> > --no-vc-files \
> >    --import binary-io error gettext gettext-h mbstate memmove progname
> > relocatable-prog safe-read sigpipe stdio stdlib strerror unistd
> > uniwidth/width unlocked-io xalloc libiconv-misc; \
> > fi
> > aclocal-1.12 -I m4 -I srcm4 --output=aclocal.m4 && touch aclocal.m4
> > /bin/sh: 1: aclocal-1.12: not found
> > Makefile.devel:50: recipe for target 'aclocal.m4' failed
> > make: *** [aclocal.m4] Error 127
> > aclocal-1.12 -I m4 --output=autoconf/aclocal.m4
> > make: aclocal-1.12: Command not found
> > Makefile.devel:15: recipe for target 'autoconf/aclocal.m4' failed
> > make: *** [autoconf/aclocal.m4] Error 127

If you have automake 1.12 installed, you can just put a symlink
  aclocal-1.12 -> aclocal
  automake-1.12 -> automake
Or modify the definitions near the top of Makefile.devel.

To reduce the hassles, I have now upgraded the libiconv build system to use
automake 1.15 instead of 1.12.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]