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: JIA Pei
Subject: Re: [bug-gnu-libiconv] Ubuntu 16.04.1 Rebuild libiconv failure...
Date: Sat, 24 Sep 2016 23:07:38 -0700


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


So, did anybody meet similar issues?


Cheers


On Sat, Sep 24, 2016 at 10:32 PM, JIA Pei <address@hidden> wrote:

Hi, all:


My working environment:
OS: Ubuntu 16.04.1
GCC/G++: Ubuntu 5.4.0
libiconv release: libiconv-1.14

./autogen produced the following:
...
Notice from module error:
 If you are using GNU gettext version 0.16.1 or older, add the following options
 to XGETTEXT_OPTIONS in your po/Makevars:
   --flag=error:3:c-format --flag=error_at_line:5:c-format
Notice from module gettext:
 This module is obsolete. Use the module 'gettext-h' instead to make
 your program capable of internationalization, when GNU gettext is also
 used.
Notice from module memmove:
 This module is obsolete.
...
  m4/xsize.m4
1 out of 1 hunk FAILED -- saving rejects to file /tmp/glKpqzZ8/error.h.rej
/home/jiapei/Downloads/doc/libiconv/libiconv-1.14/gnulib/gnulib-tool: *** patch file gnulib-local/lib/error.h.diff didn't apply cleanly
/home/jiapei/Downloads/doc/libiconv/libiconv-1.14/gnulib/gnulib-tool: *** Stop.
Makefile.devel:88: recipe for target 'srclib/Makefile.gnulib' failed
make: *** [srclib/Makefile.gnulib] Error 1
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.11 -I m4 -I srcm4 --output=aclocal.m4 && touch aclocal.m4
/bin/sh: 1: aclocal-1.11: not found
Makefile.devel:50: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
aclocal-1.11 -I m4 --output=autoconf/aclocal.m4
make: aclocal-1.11: Command not found
Makefile.devel:15: recipe for target 'autoconf/aclocal.m4' failed
make: *** [autoconf/aclocal.m4] Error 127
jiapei:libiconv-1.14$


Can anybody give me a hand please?


Cheers



--

Pei JIA, Ph.D.

cell in Canada:    +1 778-863-5816
cell in China: +86 186-8244-3503

Welcome to Vision Open
http://www.visionopen.com



--

Pei JIA, Ph.D.

cell in Canada:    +1 778-863-5816
cell in China: +86 186-8244-3503

Welcome to Vision Open
http://www.visionopen.com

reply via email to

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