I just tried building 1.2.6 on the following system:
Linux 2.6.24-19-xen #1 SMP x86_64 x86_64 x86_64 GNU/Linux

... and received the following error:
./configure --enable-64bit
checking build system type... Invalid configuration `x86_64-unknown-
linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh ./config.sub x86_64-unknown-linux- failed

... definitely looks like configure doesn't know about the specific
distribution I'm running:
cat /etc/redhat-release
CentOS release 5.2 (Final)

Aside from munging with configure, are there any cleaner ways of
fixing this problem?


You just need to specify the build target to configure; no munging required:

./configure --enable-64bit --build x86_64-redhat-linux-gnu

MC

--
Martin MC Brown, Technical Writer
Database Technology Group, Sun Microsystems
http://sun.com | http://mysql.com
Phone: x18435/+44 247 669 8435 Skype: mcmcslp



Reply via email to