Subject: Re: mysql-client
To: Dmitry V. Bulashev <dima@tcavs.ru>
From: CEBKA <CEBKA@smtp.ru>
List: netbsd-help
Date: 04/26/2003 00:39:51
Hello, Dmitry.

You wrote at 23.04.2003, :

DVB> hi,
DVB> after cvs update -Pd mysql-client
DVB> i do :
DVB> ns# make clean
===>> Cleaning for mysql-client-3.23.49nb3
DVB> ns# uname -sr
DVB> NetBSD 1.6
DVB> ns# make
=>> Checksum OK for mysql-3.23.49.tar.gz.
===>> Extracting for mysql-client-3.23.49nb3
===>> Required installed package perl>=5.0: perl-5.8.0 found
===>> Required installed package libtool-base>=1.4.20010614nb9: 
DVB> libtool-base-1.4.20010614nb9 found
DVB> 2+0 records in
DVB> 2+0 records out
DVB> 20480 bytes transferred in 0.001 secs (20480000 bytes/sec)
DVB> cd 
DVB> /usr/pkgsrc/databases/mysql-client/work.i386/mysql-3.23.49;                                                   
DVB> for dir in dbug heap isam merge mysys strings; do               /bin/mv 
DVB> ${dir}/Makefile.in ${dir}/Makefile.in.orig;     /usr/bin/sed -e 
DVB> "/^install-exec:/s/install-pkglibLIBRARIES//"   ${dir}/Makefile.in.orig 
DVB>  > ${dir}/Makefile.in;   done
DVB> cd 
DVB> /usr/pkgsrc/databases/mysql-client/work.i386/mysql-3.23.49/scripts;                                           
DVB> for file in mysql_install_db.sh safe_mysqld.sh; do              /bin/mv 
DVB> ${file} ${file}.orig;                           /usr/bin/sed -e 
DVB> "s,chown,/usr/sbin/chown,g"                             ${file}.orig > 
DVB> ${file};                         /bin/rm 
DVB> ${file}.orig;                                   done
===>> Patching for mysql-client-3.23.49nb3
===>> Applying NetBSD patches for mysql-client-3.23.49nb3
===>> Buildlinking for mysql-client-3.23.49nb3
===>> Configuring for mysql-client-3.23.49nb3
DVB> creating cache ./config.cache
DVB> checking host system type... i386--netbsdelf
DVB> checking target system type... i386--netbsdelf
DVB> checking build system type... i386--netbsdelf
DVB> checking for a BSD compatible install... /usr/bin/install -c -o root -g 
DVB> wheel
DVB> checking whether build environment is sane... yes
DVB> checking whether make sets ${MAKE}... yes
DVB> checking for working aclocal... missing
DVB> checking for working autoconf... found
DVB> checking for working automake... missing
DVB> checking for working autoheader... found
DVB> checking for working makeinfo... found
DVB> checking whether to enable maintainer-specific portions of Makefiles... no
DVB> checking whether build environment is sane... yes
DVB> checking whether make sets ${MAKE}... (cached) yes
DVB> checking for gawk... no
DVB> checking for mawk... no
DVB> checking for nawk... no
DVB> checking for awk... awk
DVB> checking for gcc... cc
DVB> checking whether the C compiler (cc -O2 -I/usr/pkg/include   
DVB> -Wl,/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... no
DVB> configure: error: installation or configuration problem: C compiler 
DVB> cannot create executables.
DVB> *** Error code 1

DVB> Stop.
DVB> make: stopped in /usr/pkgsrc/databases/mysql-client
DVB> *** Error code 1

DVB> Stop.
DVB> make: stopped in /usr/pkgsrc/databases/mysql-client
DVB> ns#

DVB> so, this is a very impotant for me! :-(


as I say, you should turn on a.out and elf formats in your kernel.

-- 
Best regards,
 CEBKA                          mailto:CEBKA@smtp.ru