Tripping up on my first attempt at building PG from source

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Tripping up on my first attempt at building PG from source
Дата
Msg-id 396486430806042254n16e3163ep4d0bfbcd59c7b02b@mail.gmail.com
обсуждение исходный текст
Ответы Re: Tripping up on my first attempt at building PG from source  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Tripping up on my first attempt at building PG from source  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I just bought a new Ubuntu Laptop so that I could tryout and hopefully
offer support for a few of my favorite pgfoundry projects.

Would anyone be able to give any dirction on what I need to do to get
passed this error?

***********************************
My first attempt with building from source ended with the following:
***********************************

# ./configure
...
checking for gcc... gcc
checking for C compiler default output file name... configure: error:
C compiler cannot create executables
See `config.log' for more details.

*************************************************
Viewing the config.log shows the following error:
*************************************************
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2218: $? = 0
configure:2220: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2223: $? = 1
configure:2246: checking for C compiler default output file name
configure:2249: gcc    conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2252: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "8.3.1"
| #define PACKAGE_STRING "PostgreSQL 8.3.1"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PG_VERSION "8.3.1"
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2291: error: C compiler cannot create executables
See `config.log' for more details.


--
Regards,
Richard Broersma Jr.

Visit the Los Angles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

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

Предыдущее
От: "Stephen Denne"
Дата:
Сообщение: Re: full vacuum really slows down query
Следующее
От: Volkan YAZICI
Дата:
Сообщение: Re: does postgresql works on distributed systems?