Subject: pkg/27275: databases/sqlite build failure on Interix
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 10/16/2004 14:24:08
>Number:         27275
>Category:       pkg
>Synopsis:       databases/sqlite build failure on Interix
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 16 14:25:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     HIRAMATSU Yoshifumi
>Release:        Services for Unix 3.5
>Organization:
>Environment:
Interix nile 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model12_Stepping0
>Description:
bmake in databases/sqlite will fail with this message.

gcc -O -DUINT32_TYPE=u_int32_t -DUINT16_TYPE=u_int16_t -DUINT8_TYPE=u_int8_t -DINTPTR_TYPE=long -DOS_UNIX=1 -DOS_WIN=0 -DHAVE_USLEEP=1 -I. -I../sqlite/src -DHAVE_READLINE=1 -o .libs/sqlite ../sqlite/src/shell.c  ./.libs/libsqlite.so -L/usr/pkgsrc/databases/sqlite/work/.buildlink/lib -ledit -ltermcap -Wl,--rpath -Wl,/usr/pkg/lib
../sqlite/src/shell.c:40:32: readline/readline.h: No such file or directory
../sqlite/src/shell.c:41:31: readline/history.h: No such file or directory
../sqlite/src/shell.c: In function `one_input_line':
../sqlite/src/shell.c:155: warning: assignment makes pointer from integer without a cast
>How-To-Repeat:
cd /usr/pkgsrc/databases/sqlite
bmake
>Fix:
Add Interix-*-* to _INCOMPAT_READLINE in devel/readline/builtin.mk because Interix's libedit doesn't provide readline emulation header files.

>Release-Note:
>Audit-Trail:
>Unformatted: