Re: postgresql 8.2 Installation error at "gmake"

From: Emi Lu <emilu(at)encs(dot)concordia(dot)ca>
To: alvherre(at)commandprompt(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql 8.2 Installation error at "gmake"
Date: 2007-02-15 17:04:28
Message-ID: 45D4929C.8080708@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?

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

Also tried

./configure --prefix=/local/postgresql --without-docdir
--without-readline --without-zlib PASS

But gmake failed as well!

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wendif-labels -fno-strict-aliasing zic.o ialloc.o scheck.o localtime.o
-L../../src/port -Wl,-rpath,'/local/postgresql/lib' -lpgport -lcrypt
-ldl -lm -o zic
zic.o(.text+0xb5f): In function `associate':
zic.c: undefined reference to `pg_qsort'
zic.o(.text+0x2c54): In function `writezone':
zic.c: undefined reference to `pg_qsort'
collect2: ld returned 1 exit status
gmake[2]: *** [zic] Error 1
gmake[2]: Leaving directory `/nfs/home/e/u/postgresql/src/timezone'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/nfs/home/e/u/postgresql/src'
gmake: *** [all] Error 2

Thanks !

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2007-02-15 17:05:41 Re: Recover anything from dropped database?
Previous Message Emi Lu 2007-02-15 17:00:23 Re: postgresql 8.2 Installation error at "gmake"