Bug 82134

Summary: [PATCH] databases/mysql41-server: fix build on 4.x
Product: Ports & Packages Reporter: Tod McQuillin <devin>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
mysql-server-4.1.12.patch none

Description Tod McQuillin 2005-06-11 03:50:12 UTC
The build on 4.x picks the wrong readline library, with these results:

cc -DDBUG_OFF -O -pipe -D_THREAD_SAFE -I/usr/local/include -O -pipe -D_THREAD_SAFE -I/usr/local/include -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o  -lreadline -lncurses ../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -Wl,--rpath -Wl,/usr/local/lib/mysql
mysql.o: In function `new_mysql_completion(char const *, int, int)':
mysql.o(.text+0x18b0): undefined reference to `rl_completion_matches'
*** Error code 1

Stop in /usr/src/ports/databases/mysql41-client/work/mysql-4.1.12/client.
*** Error code 1

Port maintainer (ale@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63

Fix: Allow configure to find the right readline library:
How-To-Repeat: 
On a 4.x system, cd /usr/ports/databases/mysql41-client; make
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-06-12 02:14:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2005-06-12 02:34:30 UTC
State Changed
From-To: open->closed

The problem is reported to be fixed by Marcus Grando.