Subject: bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls

From: [email-masked] (Ludovic Courtès)
Date: Sat, 13 Dec 2014 16:31:50 +0100

Kiyoshi KANAZAWA <[email-masked]> skribis:

> After installing libiconv-1.14 & gettext-0.19.3, re-built libunistring with libiconv,
> tried again.
> ./configure --disable-nls --without-libiconv-prefix --without-libintl-prefix
> passes.

The --without-*-prefix options shouldn’t be needed, and normally have no
effect.

> But, make fails as follows.
>   :
>   SNARF  posix.doc
>   SNARF  net_db.doc
>   SNARF  socket.doc
>   SNARF  regex-posix.doc
>   GEN      guile-procedures.texi
> Throw without catch before boot:
> Aborting.
> /bin/bash: line 1: 16468 Broken Pipe             cat alist.doc arbiters.doc array-handle.doc array-map.doc arrays.doc async.doc backtrace.doc boolean.doc bitvectors.doc bytevectors.doc chars.doc control.doc continuations.doc debug.doc deprecated.doc deprecation.doc dynl.doc dynwind.doc eq.doc error.doc eval.doc evalext.doc expand.doc extensions.doc feature.doc filesys.doc fluids.doc foreign.doc fports.doc gc-malloc.doc gc.doc gettext.doc generalized-arrays.doc generalized-vectors.doc goops.doc gsubr.doc guardians.doc hash.doc hashtab.doc hooks.doc i18n.doc init.doc ioext.doc keywords.doc list.doc load.doc macros.doc mallocs.doc memoize.doc modules.doc numbers.doc objprop.doc options.doc pairs.doc ports.doc print.doc procprop.doc procs.doc promises.doc r6rs-ports.doc random.doc rdelim.doc read.doc root.doc rw.doc scmsigs.doc script.doc simpos.doc smob.doc sort.doc srcprop.doc srfi-1.doc srfi-4.doc srfi-13.doc srfi-14.doc srfi-60.doc
>  stackchk.doc stacks.doc stime.doc strings.doc strorder.doc strports.doc struct.doc symbols.doc threads.doc throw.doc trees.doc uniform.doc values.doc variable.doc vectors.doc version.doc vports.doc weaks.doc dynl.doc posix.doc net_db.doc socket.doc regex-posix.doc
>      16469 Abort                   | GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guild snarf-check-and-output-texi > guile-procedures.texi
> Makefile:3732: recipe for target 'guile-procedures.texi' failed
> make[3]: *** [guile-procedures.texi] Error 1

What operating system and architecture is this?

> gettext & libiconv are installed in /opt/local/locale, different from the default directory.
>
> make passes with --with-libiconv-prefix & -with-libintl-prefix.

You mean when using --with-libiconv-prefix=/opt/local/locale and
--with-libintl-prefix=/opt/local/locale, right?

Thanks,
Ludo’.