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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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