On Fri, Jun 17, 2005, Peter S. Mazinger wrote:

> [...]
> > > Have tried both the release and current versions of readline, all dying
> > > here:
> > >
> > > /openpkg/bin/cc -c -DHAVE_CONFIG_H   -I. -I.
> > > -DRL_LIBRARY_VERSION='"5.0"' -O2 -pipe rltty.c
> > > complete.c: In function `fnwidth':
> > > complete.c:589: error: `mbrtowc' undeclared (first use in this function)
> > > complete.c:589: error: (Each undeclared identifier is reported only once
> > > complete.c:589: error: for each function it appears in.)
> > > complete.c: In function `fnprint':
> > > complete.c:656: error: `mbrlen' undeclared (first use in this function)
> > > complete.c: In function `compute_lcd_of_matches':
> > > complete.c:1081: error: `mbrtowc' undeclared (first use in this function)
> > > complete.c:1154: warning: passing arg 1 of pointer to function discards
> > > qualifiers from pointer target type
> > > vi_mode.c: In function `_rl_vi_change_mbchar_case':
> > > vi_mode.c:703: error: `mbrtowc' undeclared (first use in this function)
> > > vi_mode.c:703: error: (Each undeclared identifier is reported only once
> > > vi_mode.c:703: error: for each function it appears in.)
> > > vi_mode.c:719: error: `wcrtomb' undeclared (first use in this function)
> > > make: *** [complete.o] Error 1
> > > make: *** Waiting for unfinished jobs....
> > > make: *** [vi_mode.o] Error 1
> > > error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.27976 (%build)
> >
> > You seem to miss readline
>
> Sorry, haven't been reading correctly, you probably miss wide character
> support (wchar.h)

Try to add --disable-multibyte to the "configure" call in readline.spec
and try again. It guess the problem is then solved for you under HPUX.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [email protected]

Reply via email to