Subject: Re: anyone else having troubles building mysql4-client?
To: None <tech-pkg@NetBSD.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: tech-pkg
Date: 05/10/2005 18:17:58
On Tue, 10 May 2005, Hisashi T Fujinaka wrote:

> I have an error starting at:
>
> mkdir .libs
> c++ -O3 -DDBUG_OFF -O2 -DUSE_OLD_FUNCTIONS -fno-implicit-templates 
> -fno-exceptions -fno-rtti -Dunix -Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib 
> -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o  -ledit 
> -ltermcap -lcurses -ltermcap ../libmysql/.libs/libmysqlclient.so 
> -L/usr/obj/pkg/databases/mysql4-client/work.i386/.buildlink/lib -lcrypt -lm 
> -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/pkg/lib/mysql
> mysql.o(.text+0x195d): In function `new_mysql_completion(char const*, int, 
> int)':
> : undefined reference to `completion_matches'
> gmake[2]: *** [mysql] Error 1

Fixed it by adding USE_GNU_READLINE=yes to the environment.
>

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte