Bug #8162 | MySQL cannot be compiled without readline | ||
---|---|---|---|
Submitted: | 27 Jan 2005 13:57 | Modified: | 28 Apr 2005 2:31 |
Reporter: | Aleksey Kishkin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.9 | OS: | Linux (Linux sparc alfa) |
Assigned to: | Magnus Blåudd | CPU Architecture: | Any |
[27 Jan 2005 13:57]
Aleksey Kishkin
[28 Jan 2005 7:40]
Tomas Ulin
I don't have the access rights as mysqldev... so I cannot compile
[2 Feb 2005 17:17]
Aleksey Kishkin
that computers both are NIS based. so you can login with your account. I am setting directories readable/writeable for your
[4 Feb 2005 16:21]
Tomas Ulin
You get that whatever you compile in the mysql tree. It is not ndb specific. I think with out without readline just means whether to use "mysql's" readline or not... It is not possible to compile without readline... tulin@bitch:/users/akishkin/bk/mysql-4.1.9$ make -C client/ make: Entering directory `/users/akishkin/bk/mysql-4.1.9/client' source='mysql.cc' object='mysql.o' libtool=no \ depfile='.deps/mysql.Po' tmpdepfile='.deps/mysql.TPo' \ depmode=gcc /bin/sh ../depcomp \ g++ -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../regex -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -c -o mysql.o mysql.cc mysql.cc:87: readline/readline.h: No such file or directory make: *** [mysql.o] Error 1 make: Leaving directory `/users/akishkin/bk/mysql-4.1.9/client'
[4 Feb 2005 20:48]
Sergei Golubchik
I would not call it a bug. Reopening with corrected synopsis
[4 Feb 2005 20:48]
Sergei Golubchik
ehh, would not call it "not a bug" sorry
[27 Apr 2005 9:19]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/internals/24353
[27 Apr 2005 10:15]
Magnus Blåudd
If you want to use readline but configure does not find the header files <readline/readline.h>, the path to the headerfile can be added to CFLAGS and CXXFLAGS. For example if the header files are in /usr/local/include set CFLAGS="-I/usr/local/include" and CXXFLAGS="-I/usr/local/include". If the linking stage does not find the readline lib set LDFLAGS="-L/usr/local/lib"
[27 Apr 2005 19:56]
Magnus Blåudd
configure will display error message if it can't find system readline Pushed to 4.1.12 and 5.0.6
[28 Apr 2005 2:31]
Paul DuBois
No changelog note needed.