Re: About compile problem in cmd-line-utils/libedit/Makefile.am
Hi Liang,
thanks for your mail:
Liang Chen wrote:
> I got the source code from mysql-5.1-ndb, and found a problem in > cmd-line-utils/libedit/Makefile.am. Like this: > http://forums.mysql.com/read.php?11,103080,103080 > > There are tow config.h file in the source code , one is in top src , > the other is cmd-line-utils/libedit/config.h . The complier find the > top one, not the cmd-line-utils/libedit/config.h. So I changed > Makefile.am like this : > #INCLUDES = -I$(top_builddir)/include > -I$(top_srcdir)/include \ > # -I$(srcdir)/../.. -I.. > INCLUDES = -I$(top_builddir)/include > -I$(top_srcdir)/include -I.. > DEFAULT_INCLUDES = -I.
> and It worked.
Still, I have some questions:
- On which platform (operating system, version, CPU) did you have that
problem, and which compiler (version) are you using ?
- Could you please mail me (personal mail)
a "diff -u" output of the original file and your changed version,
or (if that is easier) the complete changed "Makefile.am" ?
Also, I am a bit curious: Why are you using "libedit" ?
Many people consider "readline" better than "libedit" (no flames
intended !), and we got some bugs filed against "libedit" which do not
occur with "readline" AFAIK.
The only reason for MySQL AB to use "libedit" (in the commercial builds)
is that "readline" is under GPL license, so we are allowed to use it in
our GPL builds only.
The source tree contains both, and "configure --with-readline" is easy
enough ...
Thanks,
Joerg
--
Joerg Bruehe, Senior Production Engineer
MySQL AB, www.mysql.com
--
MySQL Internals Mailing List
For list archives:
http://lists.mysql.com/internals
To unsubscribe:
http://lists.mysql.com/internals?unsub=lists@pantek.com
Received on Thu Jul 26 10:24:11 2007
This archive was generated by hypermail 2.1.8
: Thu Aug 09 2007 - 19:06:21 EDT
|