Skip site navigation (1) Skip section navigation (2)

Re: Upgrading from 7.4 to 8.2

From: Rickard Sjöström <rickard(dot)sjostrom(at)bluebottle(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Upgrading from 7.4 to 8.2
Date: 2006-12-20 08:25:01
Message-ID: 1166603101.4588f35ddd373@mail.bluebottle.com (view raw or flat)
Thread:
Lists: pgsql-admin
Hi!
I'm tying to compile postgresql 8.2.0 under:
SunOS 5.8 Generic_117350-36 sun4u sparc SUNW,Sun-Blade-100

and got problems while compiling, the problem seems to be that gcc (or configure) adds my username (sjostric) to the gcc command line. Like this:

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing sjostric -I../../src/port -DFRONTEND -I../../src/include   -c -o isinf.o isinf.c

which results in that I get:
gcc: sjostric: No such file or directory

My configure command line is:
/configure --prefix=/home/sjostric/postgresql/8.2.0 --exec-prefix=/home/sjostric/postgresql/8.2.0 --without-readline

Any ideas? 

Thanks!

/Rickard

Output:
---- 8< ----
make[3]: Entering directory `/home/sjostric/postgresql/src/postgresql-8.2.0/src/port'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing sjostric -I../../src/port -DFRONTEND -I../../src/include   -c -o isinf.o isinf.c
gcc: sjostric: No such file or directory
make[3]: *** [isinf.o] Error 1
make[3]: *** Deleting file `isinf.o'
make[3]: Leaving directory `/home/sjostric/postgresql/src/postgresql-8.2.0/src/port'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/sjostric/postgresql/src/postgresql-8.2.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sjostric/postgresql/src/postgresql-8.2.0'
*** Error code 2
make: Fatal error: Command failed for target `all'
(56)# postgresql-8.2.0/:
---- >8 ----

/Rickard

----------------------------------------------------------------------
Debt Consolidation Quote Instantly
Free Debt Consolidation or Debt settlement Quote Online. No...
http://tags.bluebottle.com/fc/BgLEQfI7na2GDfoEzdoobqhZ7mmMke1brTUo/


In response to

pgsql-admin by date

Next:From: Stefan HolzheuDate: 2006-12-20 09:02:22
Subject: Bug with plpgsql function after drop column ?
Previous:From: Achilleas MantziosDate: 2006-12-20 07:56:44
Subject: Re: DBmirror

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group