Re: postgresql 8.2 Installation error at "gmake"

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql 8.2 Installation error at "gmake"
Date: 2007-02-15 17:25:59
Message-ID: 20070215172559.GR4682@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Emi Lu wrote:
> Hello,
>
> >>Tried to install 8.2, configuration passed, but when running "gmake",
> >>got the following error, any clues?
> >
> >Please provide more details -- what operating system is this?
>
> i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.3.2
>
>
> >>Step1
> >>========
> >>./configure --prefix=/local/postgresql --datadir=/postgreSQL_data
> >>--without-docdir --without-readline --disable-spinlocks --without-zlib
> >
> >Please note that --datadir does not do what you seem to think. Remove
> >it, because it's going to cause other problems further on. Also, if you
> >need --disable-spinlocks, your installation is not going to perform very
> >well; did you try without that?
>
> I am not super user for this Linux OS! I can only access my directories.
>
> Specified --datadir=/postgreSQL_data
> because my previous version 8.0.0 DATA was there (which is not used anymore)

You're confusing the "datadir" as understood by configure with the
PGDATA dir that's created by initdb. Don't. Leave the --datadir option
out.

> I do not care the spinlocks for now.

Configure will work anyway without the --disable-spinlock; you're
wasting your time with that option.

Anyway, please note that your linker problem does not seem to be related
to any of these options.

Do you happen to have a previous installation at /local/postgresql? I
think the presence of an older libpgport.a there could be causing the
confusion.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Demian Lessa 2007-02-15 17:26:37 Re: Constraint enforcement
Previous Message Peter Eisentraut 2007-02-15 17:05:41 Re: Recover anything from dropped database?