phpbar.de logo

Mailinglisten-Archive

gcc Problem bei configure

gcc Problem bei configure

mysql_(at)_lists.phpcenter.de mysql_(at)_lists.phpcenter.de
Wed, 22 Aug 2001 10:43:29 GMT


Hallo Liste,
ich möchte mysql selbst kompilieren und stoße auf ein bestimmt schon 100 
mal gelöstes Problem.

Meine Systemumgebung:
SuSE Linux 6.2 (i386) - Kernel 2.2.10 (pts/4).
egcs 2.91.66
GNU Make 3.77
GNU Tar 1.12
gunzip 1.2.4

Sourcen:
mysql-3.23.41.tar.gz, heute Morgen frisch bezogen aus der offiziellen 
Quelle 

Ich bin der "Anleitung" aus Kapitel 4.7 gefolgt und komme bis zum Schritt 
"configure".

Das configure-Skript meldet einen Fehler bzgl. des c++ Compilers:
 
Hier das Protokoll:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... gawk
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 whether gcc accepts -g... yes
checking for c++... no
checking for g++... no
checking for gcc... gcc
checking whether the C++ compiler (gcc   ) works... no
configure: error: installation or configuration problem: C++ compiler 
cannot create executables. 

Nach dem ersten fehlgeschlagenen Versuch habe ich - entsprechend des 
Hinweises in der Doku - 
noch folgende Variablen gesetzt:


CFLAGS="-O3" 
CXX=gcc 
CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" 
./configure --prefix=/usr/local/mysql --enable-assembler 
--with-mysqld-ldflags=-all-static

Hier die Ausgabe:

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler (gcc -O3  ) works... yes
checking whether the C compiler (gcc -O3  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... gcc
checking whether the C++ compiler (gcc -O3 -felide-constructors 
-fno-exceptions
-fno-rtti  ) works... no
configure: error: installation or configuration problem: C++ compiler 
cannot cre
ate executables.


Hat jemand eine Idee, was ich falsch mache?

Rüdiger

 

---
!!NEU!!
Fragen und Antworten zu MySQL und dieser Liste unter
-->>  http://www.4t2.com/mysql 



php::bar PHP Wiki   -   Listenarchive