Bug #26070 make bin-dist produces garbage mysql_upgrade
Submitted: 5 Feb 2007 5:44 Modified: 28 Feb 2007 19:57
Reporter: Stewart Smith Email Updates:
Status: Duplicate Impact on me:
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version: OS:
Assigned to: Magnus Blåudd CPU Architecture:Any

[5 Feb 2007 5:44] Stewart Smith
 /usr/local/mysql-falcon/bin/mysql_upgrade --help
mkdir: cannot create directory `/usr/local/mysql-falcon/bin/.libs': Permission denied
/usr/local/mysql-falcon/bin/mysql_upgrade: line 87: cd: /home/autoweb/build/20070204/mysql-5.2-falcon/client: No such file or directory
gcc: mysql_upgrade.o: No such file or directory
gcc: my_getpagesize.o: No such file or directory
gcc: ../libmysql/.libs/libmysqlclient.so: No such file or directory

How to repeat:
make bin-dist

Suggested fix:
have correct mysql_upgrade script
[28 Feb 2007 19:57] Magnus Blåudd
Duplicate of Bug #24296, you need to build "as we do" with --disable-shared to avoid having the libtool wrappers being installed instead of the real binaries.