Re: sqlite3 not readline-enabled any more?

2013-09-12 Thread Warren Young

On 9/12/2013 05:47, Ryan Johnson wrote:


I fired up a sqlite3 shell today and was dismayed to find that readline
support is AWOL...


It works here, under both MinTTY and cmd.exe.

By that I mean that I ran sqlite3, typed .help at it, then Up-Arrow 
gives me .help again.


ldd reports that it is indeed linked to cygreadline7.dll.

What does sqlite3 --version say?

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: sqlite3 not readline-enabled any more?

2013-09-12 Thread Ryan Johnson

On 12/09/2013 2:50 PM, Warren Young wrote:

On 9/12/2013 05:47, Ryan Johnson wrote:


I fired up a sqlite3 shell today and was dismayed to find that readline
support is AWOL...


It works here, under both MinTTY and cmd.exe.

By that I mean that I ran sqlite3, typed .help at it, then Up-Arrow 
gives me .help again.


ldd reports that it is indeed linked to cygreadline7.dll.

What does sqlite3 --version say?

$ which sqlite3
/usr/bin/sqlite3

$ sqlite3 --version
3.7.17 2013-05-20 00:56:22 118a3b35693b134d56ebd780123b7fd6f1497668

$ ldd $(which sqlite3)
ntdll.dll = /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7772)
kernel32.dll = /cygdrive/c/Windows/system32/kernel32.dll 
(0x7760)
KERNELBASE.dll = /cygdrive/c/Windows/system32/KERNELBASE.dll 
(0x7fefd74)

cygsqlite3-0.dll = /usr/bin/cygsqlite3-0.dll (0x3fcf8)
cygwin1.dll = /usr/bin/cygwin1.dll (0x18004)

Ryan


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: sqlite3 not readline-enabled any more?

2013-09-12 Thread Warren Young

On 9/12/2013 13:14, Ryan Johnson wrote:


$ ldd $(which sqlite3)
 ntdll.dll = /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x7772)
 kernel32.dll = /cygdrive/c/Windows/system32/kernel32.dll
(0x7760)
 KERNELBASE.dll = /cygdrive/c/Windows/system32/KERNELBASE.dll
(0x7fefd74)
 cygsqlite3-0.dll = /usr/bin/cygsqlite3-0.dll (0x3fcf8)
 cygwin1.dll = /usr/bin/cygwin1.dll (0x18004)


Okay, I see it.  I didn't have readline-devel installed in my Cygwin 64 
instance, so it didn't get picked up by the build.  Sorry about that.


Is it important to re-release a 3.7.13-4 with this fix, or can you wait 
for 3.8.x to be built?


Upstream changed the build system significantly in 3.8.0, and one of the 
changes breaks the Cygwin build.  There's some quiet back-channel work 
going on right now to fix this, but I don't know how much longer that 
will take.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: sqlite3 not readline-enabled any more?

2013-09-12 Thread Ryan Johnson

On 12/09/2013 5:27 PM, Warren Young wrote:

On 9/12/2013 13:14, Ryan Johnson wrote:


$ ldd $(which sqlite3)
 ntdll.dll = /cygdrive/c/Windows/SYSTEM32/ntdll.dll 
(0x7772)

 kernel32.dll = /cygdrive/c/Windows/system32/kernel32.dll
(0x7760)
 KERNELBASE.dll = /cygdrive/c/Windows/system32/KERNELBASE.dll
(0x7fefd74)
 cygsqlite3-0.dll = /usr/bin/cygsqlite3-0.dll (0x3fcf8)
 cygwin1.dll = /usr/bin/cygwin1.dll (0x18004)


Okay, I see it.  I didn't have readline-devel installed in my Cygwin 
64 instance, so it didn't get picked up by the build. Sorry about that.

Classic... I'm glad I'm not the only one that sort of thing happens to ;)

Is it important to re-release a 3.7.13-4 with this fix, or can you 
wait for 3.8.x to be built?
I'm not in a huge hurry, it just seemed weird and worth pointing out. If 
it became important I could always download and build a 3.7.x myself.


Upstream changed the build system significantly in 3.8.0, and one of 
the changes breaks the Cygwin build.  There's some quiet back-channel 
work going on right now to fix this, but I don't know how much longer 
that will take.

Fun...

Ryan


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple