Description:
When I tried to compile mysql source with make,
I have the following errors :
make[2]: Entre dans le répertoire
`/installation/install/MySql/Tarball/source/mysql-3.23.38/client'
/bin/sh ../libtool --mode=link c++ -O3 -DDBUG_OFF
-fno-implicit-templates -rdynamic -o mysql mysql.o readline.o
sql_string.o completion_hash.o ../readline/libreadline.a -ltermcap
../libmysql/libmysqlclient.la -lz -lcrypt -lnsl -lm
c++ -O3 -DDBUG_OFF -fno-implicit-templates -rdynamic -o .libs/mysql
mysql.o readline.o sql_string.o completion_hash.o
../readline/libreadline.a -ltermcap ../libmysql/.libs/libmysqlclient.so
-lz -lcrypt -lnsl -lm -lz -lcrypt -lnsl -lm -Wl,--rpath
-Wl,/usr/local/lib/mysql
/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make[2]: *** [mysql] Erreur 1
make[2]: Quitte le répertoire
`/installation/install/MySql/Tarball/source/mysql-3.23.38/client'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire
`/installation/install/MySql/Tarball/source/mysql-3.23.38'
make: *** [all-recursive-am] Erreur 2
Something to deal with -ltermcap that I don't understand.
I used to compile the same realease of MySql on Linux Mandrake 7.2.
Now I have installed Mandrake 8.0.
Thanks in advance for your response.
Best regards.
Hugues Malherbe (FROM FRANCE)
[EMAIL PROTECTED]
Originator: root
MySQL support: none
Synopsis: compiling Mysql
Severity: non-critical
Priority: low
Category: mysql
Class: support >
Release: mysql-3.23.38 (Source distribution)
Environment:
<machine, os, target, libraries (multiple lines)>
System: Linux localhost.localdomain 2.4.3-20mdk #1 Sun Apr 15 23:03:10
CEST 2001 i686 unknown
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.96/specs
gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS=''
LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 mai 28 09:06 /lib/libc.so.6
-> libc-2.2.2.so
-rwxr-xr-x 1 root root 1216268 fév 21 05:38
/lib/libc-2.2.2.so
-rw-r--r-- 1 root root 26366908 fév 21 05:31 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 fév 21 05:31 /usr/lib/libc.so
Configure command: ./configure
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php