From: [EMAIL PROTECTED]
To: mysql@lists.mysql.com
Subject: MySQL 5.0.22 install problems with NetBSD

>Description:
Started the install (new install). Reached the step:
"scripts/mysql_install_db --user=mysql".
Recieved the following errors:
scripts/mysql_install_db: line 86: ./bin/my_print_defaults: cannot execute
binary file
Neither host 'roswell.lazyrockinw.com' nor 'localhost' could be looked up
with
./bin/resolveip
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option

I then tried to run ./bin/resolveip localhost received  

-bash:./bin/resolveip: cannot execute binary file

file is currently set as: -rwxr-xr-x  1 root  wheel  1144116 May 26 13:24
bin/resolveip

The distribution was mysql-standard-5.0.22-freebsd6.0-i386.tar.gz although
I've also tried the openbsd distribution. 
I followed the instructions in the INSTALL_BINARY file, both distributions
failed with identical errors on the same script.

>How-To-Repeat:

 Repeated whenerver I attempted to run scripts/mysql_install_db

>Fix:
I did notice in the support pages that this was a known bug back in one of
the 4.X distributions. I could
not find where there was a fix, patch or workaround. 

>Submitter-Id:  ????????
>Originator:    Clay White
>Organization:
 C&J Enterprises
Bertram, TX 78605
>MySQL support: none
>Synopsis:      Unable to install MySQL on NetBSD due to unknown
installation script errors
>Severity:      serious
>Priority:      medium 
>Release:       mysql-5.0.22-standard (MySQL Community Edition - Standard
(GPL))

>C compiler:    gcc (GCC) 3.4.4 [FreeBSD] 20050518
>C++ compiler:  gcc (GCC) 3.4.4 [FreeBSD] 20050518
>Environment:
        <machine, os, target, libraries (multiple lines)>
System: NetBSD roswell.lazyrockinw.com 3.99.20 NetBSD 3.99.20 (piggy) 
#2: Mon Jun 12 22:59:37 CDT 2006
[EMAIL PROTECTED]:/stuff/src_current/sys/arch/i386
/compile/obj/piggy i386


Some paths:  /usr/pkg/bin/perl /usr/bin/make /usr/pkg/bin/gmake /usr/bin/gcc
/us
r/bin/cc
GCC: Using built-in specs.
>C compiler:    gcc (GCC) 3.4.4 [FreeBSD] 20050518
>C++ compiler:  gcc (GCC) 3.4.4 [FreeBSD] 20050518
>Environment:
        <machine, os, target, libraries (multiple lines)>
System: NetBSD roswell.lazyrockinw.com 3.99.20 NetBSD 3.99.20 (piggy) #2:
Mon Ju
n 12 22:59:37 CDT 2006
[EMAIL PROTECTED]:/stuff/src_current/sys/arch/i386
/compile/obj/piggy i386


Some paths:  /usr/pkg/bin/perl /usr/bin/make /usr/pkg/bin/gmake /usr/bin/gcc
/us
r/bin/cc
GCC: Using built-in specs.
Configured with:
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configu
re --enable-long-long --disable-multilib --enable-threads --disable-symvers
--bu
ild=i386-unknown-netbsdelf2.0. --host=i386--netbsdelf
--target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
Compilation info: CC='ccache gcc'  CFLAGS=''  CXX='ccache gcc'  CXXFLAGS=''
LDF
LAGS=''  ASFLAGS=''
LIBC:
lrwxr-xr-x  1 root  wheel  16 Jun 13 01:15 /lib/libc.so -> libc.so.12.128.2
lrwxr-xr-x  1 root  wheel  16 Jun 13 01:15 /lib/libc.so.12 ->
libc.so.12.128.2
-r--r--r--  1 root  wheel  881693 Jun 13 01:15 /lib/libc.so.12.128.2
lrwxr-xr-x  1 root  wheel  16 Jun 13 01:15 /lib/libc.so -> libc.so.12.128.2
lrwxr-xr-x  1 root  wheel  16 Jun 13 01:15 /lib/libc.so.12 ->
libc.so.12.128.2
-r--r--r--  1 root  wheel  881693 Jun 13 01:15 /lib/libc.so.12.128.2
-r--r--r--  1 root  wheel  1702186 Jun 13 01:15 /usr/lib/libc.a
lrwxr-xr-x  1 root  wheel  21 Jun 13 01:15 /usr/lib/libc.so ->
/lib/libc.so.12.1
28.2
lrwxr-xr-x  1 root  wheel  21 Jun 13 01:15 /usr/lib/libc.so.12 ->
/lib/libc.so.1
2.128.2
lrwxr-xr-x  1 root  wheel  21 Jun 13 01:15 /usr/lib/libc.so.12.128.2 ->
/lib/lib
c.so.12.128.2

Configure command: ./configure '--prefix=/usr/local/mysql'
'--localstatedir=/usr
/local/mysql/data' '--libexecdir=/usr/local/mysql/bin' '--with-comment=MySQL
Com
munity Edition - Standard (GPL)' '--with-server-suffix=-standard'
'--enable-thre
ad-safe-client' '--enable-local-infile' '--enable-assembler' '--with-pic'
'--dis
able-shared' '--with-zlib-dir=bundled' '--with-big-tables' '--with-yassl'
'--wit
h-readline' '--with-archive-storage-engine' '--with-innodb'
'--with-extra-charse
ts=complex' 'CC=ccache gcc' 'CXX=ccache gcc'  

Reply via email to