Tripping up on my first attempt at building PG from source

From: "Richard Broersma" <richard(dot)broersma(at)gmail(dot)com>
To: "PostgreSQL - General ML" <pgsql-general(at)postgresql(dot)org>
Subject: Tripping up on my first attempt at building PG from source
Date: 2008-06-05 05:54:50
Message-ID: 396486430806042254n16e3163ep4d0bfbcd59c7b02b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Volkan YAZICI 2008-06-05 06:03:14 Re: does postgresql works on distributed systems?
Previous Message Stephen Denne 2008-06-05 05:00:17 Re: full vacuum really slows down query