man-db-devel
[Top][All Lists]
Advanced

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

Re: [Man-db-devel] man-db does not work on Solaris 11


From: Colin Watson
Subject: Re: [Man-db-devel] man-db does not work on Solaris 11
Date: Tue, 7 Feb 2012 00:22:05 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Feb 06, 2012 at 02:34:12PM -0700, Clark J. Wang wrote:
> In file included from ../gnulib/lib/unistd.h:110:0,
>                  from ../gnulib/lib/stdlib.h:89,
>                  from lexgrog.c:22:
> ../gnulib/lib/getopt.h:196:8: error: redefinition of 'struct option'
> /usr/include/getopt.h:27:8: note: originally defined here

Assuming you're using GCC, could you find the compiler command used here
('make V=1'), replace '-c' with '-E -dD', drop the '-o lexgrog.o' or
similar, save the output to a file, and attach that file to an e-mail?
I'd like to see exactly what the preprocessor is doing with this.

Also, this will probably turn out to be a gnulib bug.  If possible, it
would be helpful if you could try the latest pre-release, which uses an
updated version of gnulib which has a few changes that might be
relevant:

  http://people.debian.org/~cjwatson/man-db/man-db-2.6.1-pre1.tar.gz

> >       //IGNORE
> >              When  the  string  "//IGNORE"  is  appended  to  tocode,
> >              characters  that  cannot  be  represented  in the target
> >              character set will be silently discarded.

Incidentally I notice that Oracle documents this as supported:

  http://docs.oracle.com/cd/E23824_01/html/821-1465/iconv-open-3c.html

Nonetheless, I've at least now changed docs/INSTALL.quick to mention
that libiconv >= 1.8 is required on non-glibc systems.

-- 
Colin Watson                                       address@hidden



reply via email to

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