On Thu, Sep 18, 2003, Vinod Kutty wrote:
> On a Solaris 8 machine with openpkg 1.3, I was trying to build wget via
>
> openpkg build wget |sh
>
> but it depends on texinfo-4.6-1.3.0, which doesn't build:
>
> ------------------------------------------------------------
> Making all in info
> if /opt/opkg/1.3/bin/cc -DHAVE_CONFIG_H -DINFODIR=\"/opt/opkg/1.3/info\"
> -DLOCALEDIR=\"/opt/opkg/1.3/share/locale\" -I. -I. -I.. -I. -I../lib
> -I../intl -I.. -I. -O2 -pipe -MT makedoc.o -MD -MP -MF
> ".deps/makedoc.Tpo" \
> -c -o makedoc.o `test -f 'makedoc.c' || echo './'`makedoc.c; \
> then mv -f ".deps/makedoc.Tpo" ".deps/makedoc.Po"; \
> else rm -f ".deps/makedoc.Tpo"; exit 1; \
> fi
> /opt/opkg/1.3/bin/cc -O2 -pipe -o makedoc makedoc.o ../lib/libtxi.a
> -lncurses ../intl/libintl.a
> rm -f doc.c funs.h key.c
> ./makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c
> ./nodemenu.c ./footnotes.c ./variables.c
> ld.so.1: ./makedoc: fatal: libncurses.so.5: open failed: No such file or
> directory
> make[2]: *** [doc.c] Killed
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> error: Bad exit status from /opt/opkg/1.3/RPM/TMP/rpm-tmp.5694 (%build)
>
>
> RPM build errors:
> Bad exit status from /opt/opkg/1.3/RPM/TMP/rpm-tmp.5694 (%build)
> ------------------------------------------------------------
>
> Workaround:
>
> I built + installed ncurses-5.3.20030726-1.3.0.src.rpm and that fixed the
> problem (i.e. texinfo built fine, and now wget builds fine)
Hmmm... what I do not understand is the reference of a _SHARED_ library
version of NCurses in your error message. Sure, a few lines above we
see that texinfo tries to link makedoc against libncurses, but why it
later searches for a libncurses.so.5 I've no clue. Anyway, its configure
searches for ncurses, so I've added ncurses as the dependency for the
texinfo package now. Thanks for your feedback.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]