Hallo! Beim compilieren von PostgreSQL 7.2.1 kommt folgende Fehlermeldung. gcc habe ich über Yast installiert. ------------------------------------><8-------------------------------------------------- checking whether to build C++ modules... 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. linux:/usr/local/src/postgresql-7.2.1 # ------------------------------------><8-------------------------------------------------- SuSE 8.0 Danke und MfG, André Laugks
Moin,
* André Laugks
------------------------------------><8-------------------------------------------------- checking whether to build C++ modules... 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. linux:/usr/local/src/postgresql-7.2.1 # ------------------------------------><8-------------------------------------------------- Da gibt's 'ne Datei config.log, was steht denn darin am Ende?
Thorsten -- As long as people will accept crap, it will be financially profitable to dispense it. - Dick Cavett
Hallo! Am Sonntag, 14. April 2002 12:21 schrieb Thorsten Haude:
Da gibt's 'ne Datei config.log, was steht denn darin am Ende?
Hier die letzten 20 Zeilen. -------------------------------------------><8------------------------------------------------- linux:/usr/local/src/postgresql-7.2.1 # less config.log linux:/usr/local/src/postgresql-7.2.1 # tail -20 config.log configure:1730: checking whether to build with Tcl configure:1754: checking whether to build with Tk configure:1815: checking whether to build Perl modules configure:1841: checking whether to build Python modules configure:1867: checking whether to build Java/JDBC tools configure:2105: checking whether to build with PAM support configure:2185: checking whether to build the ODBC driver configure:2323: checking whether to build C++ modules configure:2356: checking for c++ configure:2356: checking for g++ configure:2356: checking for gcc configure:2388: checking whether the C++ compiler (gcc ) works configure:2404: gcc -o conftest conftest.C 1>&5 gcc: installation problem, cannot exec `cc1plus': No such file or directory configure: failed program was: #line 2399 "configure" #include "confdefs.h" int main(){return(0);} -------------------------------------------><8------------------------------------------------- Ich habe mal nach "cc1plus" bei Google gesucht. Alle meinem, man müßte noch das Paket gcc installieren, das ist aber installiert. Nach mal zu kontrolle. linux:/ # find -name 'gcc' -print ./usr/bin/gcc linux:/ # Ups, nach der neuinstallation von SuSE hatte ich vergessen, die Uhr zu stellen. Deshalb ist meine Frage von 14 Uhr. MfG, André Laugks
Hallo André, André Laugks schrieb:
Beim compilieren von PostgreSQL 7.2.1 kommt folgende Fehlermeldung. gcc habe ich über Yast installiert.
------------------------------------><8-------------------------------------------------- checking whether to build C++ modules... 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. linux:/usr/local/src/postgresql-7.2.1 # ------------------------------------><8--------------------------------------------------
Vermutlich musst du g++ erstmal installieren. Der GNU C-Compiler ist auf mehrere Pakete verteilt. Gruß christian
Hallo! Am Sonntag, 14. April 2002 13:22 schrieb Christian Schult:
Vermutlich musst du g++ erstmal installieren. Der GNU C-Compiler ist auf mehrere Pakete verteilt.
Auf welche Pakete ist den der GNU C-Compiler verteilt. Gestern hat mich Yast mit den ganzen abhängigkeiten so genervt, wieso setzt es jetzt nicht ein, daß es also alle füt gcc mitgenommen hat?! Oder sehe ich was falsch? MfG, André Laugks
Hallo! Am Sonntag, 14. April 2002 13:22 schrieb Christian Schult:
Vermutlich musst du g++ erstmal installieren. Der GNU C-Compiler ist auf mehrere Pakete verteilt.
Ich habe die ganze Zeit nach g++ mit Yast gesucht :-(. Mit dem Paket "gpp" läuft das Compilieren jetzt ganz geschmeidig. MfG, André Laugks
participants (3)
-
André Laugks
-
Christian Schult
-
Thorsten Haude