unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
@ 2014-12-13  9:50 Kiyoshi KANAZAWA
  2014-12-13 13:32 ` John Darrington
  2016-06-22 19:17 ` Andy Wingo
  0 siblings, 2 replies; 7+ messages in thread
From: Kiyoshi KANAZAWA @ 2014-12-13  9:50 UTC (permalink / raw)
  To: 19365

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hello,

Tring to make guile-2.0.11 without NLS.

./configure --disable-nls --without-libiconv-prefix
fails with message:
checking whether libunistring was built with iconv support... no
configure: error: No iconv support.  Please recompile libunistring with iconv enabled.


Is this correct ?

(tested on Solaris10 x86.)

Regards,

--- Kiyoshi

[-- Attachment #2: Type: text/html, Size: 672 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
  2014-12-13  9:50 bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls Kiyoshi KANAZAWA
@ 2014-12-13 13:32 ` John Darrington
  2014-12-13 14:16   ` Kiyoshi KANAZAWA
  2014-12-13 22:38   ` Kiyoshi KANAZAWA
  2016-06-22 19:17 ` Andy Wingo
  1 sibling, 2 replies; 7+ messages in thread
From: John Darrington @ 2014-12-13 13:32 UTC (permalink / raw)
  To: Kiyoshi KANAZAWA; +Cc: 19365

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

I don't think there is any way to disable the libunistring/iconv dependency.
It is a hard requirement.  --disable-nls merely turns off internationalisation.

J'

On Sat, Dec 13, 2014 at 06:50:19PM +0900, Kiyoshi KANAZAWA wrote:
     Hello,
     
     Tring to make guile-2.0.11 without NLS.
     
     ./configure --disable-nls --without-libiconv-prefix
     fails with message:
     checking whether libunistring was built with iconv support... no
     configure: error: No iconv support.  Please recompile libunistring with iconv enabled.
     
     
     Is this correct ?
     
     (tested on Solaris10 x86.)
     
     Regards,
     
     --- Kiyoshi

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
  2014-12-13 13:32 ` John Darrington
@ 2014-12-13 14:16   ` Kiyoshi KANAZAWA
  2014-12-13 15:31     ` Ludovic Courtès
  2014-12-13 22:38   ` Kiyoshi KANAZAWA
  1 sibling, 1 reply; 7+ messages in thread
From: Kiyoshi KANAZAWA @ 2014-12-13 14:16 UTC (permalink / raw)
  To: John Darrington; +Cc: 19365@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 3288 bytes --]

Hello,


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.
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



gettext & libiconv are installed in /opt/local/locale, different from the default directory.

make passes with --with-libiconv-prefix & -with-libintl-prefix.


Regards,

--- Kiyoshi





----- Original Message -----
>From: John Darrington <john@darrington.wattle.id.au>
>To: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp> 
>Cc: 19365@debbugs.gnu.org
>Date: 2014/12/13, Sat 22:32
>Subject: Re: bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
> 
>I don't think there is any way to disable the libunistring/iconv dependency.
>It is a hard requirement.  --disable-nls merely turns off internationalisation.
>
>J'
>
>On Sat, Dec 13, 2014 at 06:50:19PM +0900, Kiyoshi KANAZAWA wrote:
>     Hello,
>    
>     Tring to make guile-2.0.11 without NLS.
>    
>     ./configure --disable-nls --without-libiconv-prefix
>     fails with message:
>     checking whether libunistring was built with iconv support... no
>     configure: error: No iconv support.  Please recompile libunistring with iconv enabled.
>    
>    
>     Is this correct ?
>    
>     (tested on Solaris10 x86.)
>    
>     Regards,
>    
>     --- Kiyoshi
>
>-- 
>PGP Public key ID: 1024D/2DE827B3 
>fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
>See http://sks-keyservers.net or any PGP keyserver for public key.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 5031 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
  2014-12-13 14:16   ` Kiyoshi KANAZAWA
@ 2014-12-13 15:31     ` Ludovic Courtès
  2014-12-13 23:19       ` Kiyoshi KANAZAWA
  0 siblings, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2014-12-13 15:31 UTC (permalink / raw)
  To: Kiyoshi KANAZAWA; +Cc: 19365

Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp> 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’.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
  2014-12-13 13:32 ` John Darrington
  2014-12-13 14:16   ` Kiyoshi KANAZAWA
@ 2014-12-13 22:38   ` Kiyoshi KANAZAWA
  1 sibling, 0 replies; 7+ messages in thread
From: Kiyoshi KANAZAWA @ 2014-12-13 22:38 UTC (permalink / raw)
  To: John Darrington; +Cc: 19365@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

Hello,


Changed to use "--disable-nls" instead of "--without-libiconv-prefix --without-libintl-prefix".


"./configure --disable-nls" says:
  :

checking for libunistring... yes
  :
checking for libunistring version... 0.9.4
  :
checking whether libunistring was built with iconv support... no
configure: error: No iconv support.  Please recompile libunistring with iconv enabled.


The last check above, "checking whether libunistring was built with iconv support"
cat be skipped when --disable-nls is used, I guess.


Regards,

--- Kiyoshi



----- Original Message -----
>From: John Darrington <john@darrington.wattle.id.au>
>To: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp> 
>Cc: 19365@debbugs.gnu.org
>Date: 2014/12/13, Sat 22:32
>Subject: Re: bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
> 
>I don't think there is any way to disable the libunistring/iconv dependency.
>It is a hard requirement.  --disable-nls merely turns off internationalisation.
>
>J'
>
>On Sat, Dec 13, 2014 at 06:50:19PM +0900, Kiyoshi KANAZAWA wrote:
>     Hello,
>    
>     Tring to make guile-2.0.11 without NLS.
>    
>     ./configure --disable-nls --without-libiconv-prefix
>     fails with message:
>     checking whether libunistring was built with iconv support... no
>     configure: error: No iconv support.  Please recompile libunistring with iconv enabled.
>    
>    
>     Is this correct ?
>    
>     (tested on Solaris10 x86.)
>    
>     Regards,
>    
>     --- Kiyoshi
>
>-- 
>PGP Public key ID: 1024D/2DE827B3 
>fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
>See http://sks-keyservers.net or any PGP keyserver for public key.
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 3446 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
  2014-12-13 15:31     ` Ludovic Courtès
@ 2014-12-13 23:19       ` Kiyoshi KANAZAWA
  0 siblings, 0 replies; 7+ messages in thread
From: Kiyoshi KANAZAWA @ 2014-12-13 23:19 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 19365@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 3198 bytes --]

Hello, Ludo’.
I forgot CC, so send this again.

Tested on Solaris10 x86, as I mentioned in the first report.

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

Checked again only with "--disable-nls" but without "--without-libiconv-prefix --without-libintl-prefix",
and got the same result.


> You mean when using --with-libiconv-prefix=/opt/local/locale and --with-libintl-prefix=/opt/local/locale, right?
Yes, right.
With these, make passes, but when using --disable-nls, no --with-libiconv-prefix & --with-libintl-prefix,
make fails.

LD_LIBRARY_PATH has /opt/local/locale/lib for this test.


Regards,



--- Kiyoshi



Kiyoshi KANAZAWA <address@hiddeny> 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’.
>
>
>

[-- Attachment #2: Type: text/html, Size: 4363 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls
  2014-12-13  9:50 bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls Kiyoshi KANAZAWA
  2014-12-13 13:32 ` John Darrington
@ 2016-06-22 19:17 ` Andy Wingo
  1 sibling, 0 replies; 7+ messages in thread
From: Andy Wingo @ 2016-06-22 19:17 UTC (permalink / raw)
  To: Kiyoshi KANAZAWA; +Cc: 19365-done

On Sat 13 Dec 2014 10:50, Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp> writes:

> Hello,
>
> Tring to make guile-2.0.11 without NLS.
>
> ./configure --disable-nls --without-libiconv-prefix
> fails with message:
> checking whether libunistring was built with iconv support... no
> configure: error: No iconv support. Please recompile libunistring with
> iconv enabled.
>
> Is this correct ?
>
> (tested on Solaris10 x86.)

Hi :)

I read this and the followup messages.  This situation is correct.
--disable-nls turns of usage of `gettext', but in Guile we still need to
be able to represent all codepoints and convert between them and many
encodings, which is an independent facility.  Disabling `gettext'
doesn't affect Guile's need for libiconv.

Regards,

Andy





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-22 19:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-13  9:50 bug#19365: [guile-2.0.11] libunistring with iconv required even if specify --disable-nls Kiyoshi KANAZAWA
2014-12-13 13:32 ` John Darrington
2014-12-13 14:16   ` Kiyoshi KANAZAWA
2014-12-13 15:31     ` Ludovic Courtès
2014-12-13 23:19       ` Kiyoshi KANAZAWA
2014-12-13 22:38   ` Kiyoshi KANAZAWA
2016-06-22 19:17 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).