Bug #18912 can't build MySQL on linux with tinfo library
| Submitted: | 8 Apr 2006 20:19 | Modified: | 5 May 2006 22:59 |
|---|---|---|---|
| Reporter: | Oleksandr Byelkin | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 4.0 | OS: | Linux (linux) |
| Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[8 Apr 2006 20:20]
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/commits/4676
[25 Apr 2006 6:10]
Oleksandr Byelkin
pushed to 5.1.10, 5.0.21, 4.1.19 and 4.0.27 It was a problem of building MySQL on distributions (like altlinux) which have terminal operations in tinfo library.
[5 May 2006 22:59]
Mike Hillyer
Documented in changelog:
<listitem>
<para>
MySQL would not compile on Linux distributions that use the
tinfo library. (Bug #18912)
</para>
</listitem>
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: MySQL can't be build of linux distribution with tinfo library (alt linux for example). How to repeat: install altlinux (sisyphus) and try to build. Suggested fix: ===== acinclude.m4 1.101 vs edited ===== --- 1.101/acinclude.m4 2005-03-29 19:55:46 +03:00 +++ edited/acinclude.m4 2006-03-30 13:29:03 +03:00 @@ -373,7 +373,8 @@ [AC_CHECK_LIB(ncurses, tgetent, mysql_cv_termcap_lib=libncurses, [AC_CHECK_LIB(curses, tgetent, mysql_cv_termcap_lib=libcurses, [AC_CHECK_LIB(termcap, tgetent, mysql_cv_termcap_lib=libtermcap, - mysql_cv_termcap_lib=NOT_FOUND)])])]) + [AC_CHECK_LIB(tinfo, tgetent, mysql_cv_termcap_lib=libtinfo, + mysql_cv_termcap_lib=NOT_FOUND)])])])]) AC_MSG_CHECKING(for termcap functions library) if test "$mysql_cv_termcap_lib" = "NOT_FOUND"; then AC_MSG_ERROR([No curses/termcap library found]) @@ -381,6 +382,8 @@ TERMCAP_LIB=-ltermcap elif test "$mysql_cv_termcap_lib" = "libncurses"; then TERMCAP_LIB=-lncurses +elif test "$mysql_cv_termcap_lib" = "libtinfo"; then +TERMCAP_LIB=-ltinfo else TERMCAP_LIB=-lcurses fi