Re: [GENERAL] Problems compiling

Поиск
Список
Период
Сортировка
От Gilles Darold
Тема Re: [GENERAL] Problems compiling
Дата
Msg-id 36C40095.FE6B3E37@neptune.fr
обсуждение исходный текст
Ответ на Problems compiling  (Jonathan Scott <jsscott@falcon-srv.csc.calpoly.edu>)
Ответы Re: [GENERAL] Problems compiling  (Stuart Rison <stuart@ludwig.ucl.ac.uk>)
Список pgsql-general
Hi,

Part II (translation) : You need C++ compiler installed on you Linux box.

See your log :
> checking for c++... no
> checking for g++... no
This is the reason.

Regard,

Gilles.

Jonathan Scott wrote:

> Hello fellow PostgreSQL users.:)
>
> I am having trouble with the configure file for version 6.4.2. I have
> installed and configured and compiled it before without this problem.
> However this is a new machine with a wacked out debian install. Here is
> the output from my configure run:
>
> $ ./configure --prefix=/usr/local/pgsql
>
> loading cache ./config.cache
> checking host system type... i586-pc-linux-gnu
> checking echo setting...
> checking setting template to... linux_i386
> checking setting USE_LOCALE... disabled
> checking setting CYR_RECODE... disabled
> checking setting MULTIBYTE... disabled
> checking setting DEF_PGPORT... 5432
> checking setting USE_TCL... disabled
> checking setting USE_PERL... disabled
> checking setting USE_ODBC... disabled
> checking setting ASSERT CHECKING... disabled
> checking for gcc... gcc
> checking whether the C compiler (gcc -O2 ) works... yes
> checking whether the C compiler (gcc -O2 ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking whether gcc needs -traditional... no
> - setting CPPFLAGS=
> - setting LDFLAGS=
> 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.
>
> Any ideas? I cannot figure it out. Please help, this is for a senior
> project I am working on and I cannot graduate if I dont get it done!:)
>
> TIA,
>
> Jonathan Scott




В списке pgsql-general по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Undeliverable Message
Следующее
От: Stuart Rison
Дата:
Сообщение: Re: [GENERAL] Problems compiling