April Escamilla wrote:
>
> Hello Everyone,
>
> I am trying to install mysql version 3.21.33b on a sco system in our
> office. I have followed the installation steps verbatim from the mysql
> reference manual.
> 1) I picked the directory /v5/local
> 2) I moved the tar file mysql-3.21.33b.tar.gz to this directory
> 3) I typed "gunzip < mysql-3.21.33b.tar.gz | tar xvf -"
> 4) I cd'd to mysql-3.21.33b
> 5) I typed ./configure --prefix=/v5/local/mysql
>
> This command created the following in "config.log"
>
> configure:640: checking host system type
> configure:661: checking target system type
> configure:679: checking build system type
> configure:713: checking for a BSD compatible install
> configure:782: checking whether build environment is sane
> configure:818: checking for working aclocal
> configure:831: checking for working autoconf
> configure:844: checking for working automake
> configure:857: checking for working autoheader
> configure:870: checking for working makeinfo
> configure:883: checking whether make sets ${MAKE}
> configure:959: checking whether to enable maintainer-specific
> portions of Makefiles
> configure:996: checking whether build environment is sane
> configure:1012: checking whether make sets ${MAKE}
> configure:1052: checking for gcc
> configure:1129: checking whether the C compiler (gcc ) works
> configure:1143: gcc -o conftest conftest.c 1>&5
> configure:1163: checking whether the C compiler (gcc ) is a
> cross-compiler
> configure:1168: checking whether we are using GNU C
> configure:1177: gcc -E conftest.c
> configure:1192: checking whether gcc accepts -g
> configure:1224: checking for c++
> configure:1255: checking whether the C++ compiler (c++ ) works
> configure:1269: c++ -o conftest conftest.C 1>&5
> fatal error: library not found: -lstdc++
> configure: failed program was
> #line 1265 "configure"
> #include "confdefs.h"
> main(){return(0);}
>
> Also, if it helps... this is the output to the screen from the
> ./configure line that I was able to capture:
> .
> .
> .
> checking target system type... i386-pc-sco3.2v5.0.4
> checking for build system type... i386-pc-sco3.2v5.0.4
> checking for a BSD compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for working aclocal... missing
> checking for working autoconf... missing
> checking for working automake... missing
> checking for working autoheader... missing
> checking whether make sets ${MAKE}... yes
> grep: cannot open file config.status for reading: No such file or
> directory (error 2)
> checking whether to enable maintainer-specific portions of
> Makefiles... no
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking for c++... c++
> checking whether the C++ compiler (c++) works.. no
> configure: error: installation or configuration problem: C++
> compiler cannot create executables.
> kroot=/v5/local/mysql-3.21.33b[56]:
>
> We have a compiled copy of mysql 3.21.33b on the system in
> /usr/local/mysql, but we are recompiling because of library problems. If
> anyone has any thoughts on these errors in the ./config, I'd appreciate the
> advice.
>
> Thank you very much in advance,
> April Escamilla
> aprile@stripped
>
Looks like you either do not have a C++ compiler or it was installed
improperly. Download most recent eggc with all the cool C++ stuff,
install it fresh first.
--
Sasha Pachev
http://www.sashanet.com/ (home)
http://www.direct1.com/ (work)