Tripping up on my first attempt at building PG from source - Mailing list pgsql-general

From Richard Broersma
Subject Tripping up on my first attempt at building PG from source
Date
Msg-id 396486430806042254n16e3163ep4d0bfbcd59c7b02b@mail.gmail.com
Whole thread Raw
Responses Re: Tripping up on my first attempt at building PG from source
Re: Tripping up on my first attempt at building PG from source
List 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 by date:

Previous
From: "Stephen Denne"
Date:
Subject: Re: full vacuum really slows down query
Next
From: Volkan YAZICI
Date:
Subject: Re: does postgresql works on distributed systems?