This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1542: disable NLS by default
- From: mmokrejs at natur dot cuni dot cz
- To: gdb-gnats at sources dot redhat dot com
- Date: 1 Feb 2004 16:19:33 -0000
- Subject: build/1542: disable NLS by default
- Reply-to: mmokrejs at natur dot cuni dot cz
>Number: 1542
>Category: build
>Synopsis: disable NLS by default
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 01 16:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: mmokrejs@natur.cuni.cz
>Release: gdb-6.0
>Organization:
>Environment:
Tru64Unix 5.1A, cc
>Description:
User cannot fully disable libiconv and libgettext. When I use:
gdb-6.0$ ./configure --without-libiconv --with-x --disable-nls --prefix=/software/@sys/usr --without-gettext
I get unresolved dcgettext. When omitting the --without-libiconv option I get also unresiolved iconv_open. I have GNU gettext and GNU iconv installed but somewhat those libs really do not resolve this symbol. System iconv() should be in libc, so what's the cause I don't know.
What I report here is that for gdb subdir I have to re-run configure again to get rid fully of NLS.
When I wanted to disable just libiconv, I had to rerun configure manully under bfd/ , opcodes/ and gdb/.
For example, to get rid of whole NLS I still have to manually do:
$gdb-6.0$ cd gdb
$gdb-6.0$ rm config.cache
gdb-6.0$ ./configure --without-libiconv --with-x --disable-nls --prefix=/software/@sys/usr --without-gettext
$gdb-6.0$ make
$gdb-6.0$ cd ..
$gdb-6.0$ make install
I suggest turning NLS off by default.
Second, I suggest to introduce INSTALL file and document possible configure options. Those related to NLS, iconv, gettext would be of help. Why is doc/ directory misisng too?
Third, under utils/ subdirectory "make install" fails, so to be sure my install process fineshed properly I commented out from the toplevel Makefile the line with "cd utils; ... $(MAKE) install".
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: