Bug #1550 Compilation failure when using --with-readline option.
Submitted: 14 Oct 2003 16:31 Modified: 23 Oct 2003 8:40
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1 OS:Linux (Linux (Red Hat 9))
Assigned to: Lenz Grimmer CPU Architecture:Any

[14 Oct 2003 16:31] [ name withheld ]
Description:
When configured with --with-readline compilation fails with: 
 
config.status: error: cannot find input file: 
cmd-line-utils/readline/Makefile.in 
 
(Actually all I _really_ want is for the delete key to work with the command 
line mysql client. Right now all it spits out is "~". I assumed it was because 
readline was not used.) 

How to repeat:
./configure --enable-shared --without-server --enable-thread-safe-client 
--enable-local-infile --with-readline 

Suggested fix:
If the delete key worked this would be moot.
[15 Oct 2003 2:47] Victor Vagin
There are my notes:

to uf069@victoria.tc.ca:

1. 'delete' successfully works with default configure options
2. if you want to use readline, you can use bitkeeper tree

to Lenz Grimmer:

Source RPM from 

http://www.mysql.com/get/Downloads/MySQL-4.1/MySQL-4.1.0-0.src.rpm/from/http://mysql.tsuren.net/

doesn't have readline at all!
[15 Oct 2003 8:11] [ name withheld ]
Backspace works, delete key does not work with the default installation.
[16 Oct 2003 13:24] [ name withheld ]
I finally got the delete key to work by adding the --without-readline and  
--without-libedit to the configuration with the rpm spec file. The rebuild 
definitely wasn't trival (ie lot's of problems rebuilding on a RH9 system).
[23 Oct 2003 8:40] Lenz Grimmer
This should have been fixed in the meanwhile. You can get more recent 4.1
source tarballs from our daily snapshot page at

http://downloads.mysql.com/snapshots.php

The tarball also includes the RPM spec file. Please give that one a try - it
should include both readline and libedit now.