Re: postgresql 8.2 Installation error at "gmake"

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: alvherre(at)commandprompt(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql 8.2 Installation error at "gmake"
Date: 2007-02-15 21:46:31
Message-ID: 45D4D4B7.8060706@encs.concordia.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>> 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.

All right. I know how it caused the problem for me.

My gcc was not setup correctly. After changing the gcc, it works for me
now :).

Thank you for all your help!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2007-02-15 21:46:53 Re: Where art thou pg_clog?
Previous Message Oleksandr Pryymak 2007-02-15 21:38:24 how to hide database objects from users, that don't have access to them