Hello,
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 :).
Just have one comments about this,
(1) ./configure --prefix=/local/postgresql --without-docdir
--without-readline --without-zlib CC=/usr/bin/gcc
Success for both 8.2.2 & 8.2.3 :)
(2) gmake
Success for 8.2.2 :)
But for base-8.2.3, I have the following error msg:
gmake -C pl all
gmake[2]: Entering directory `/postgresql-8.2.3/src/pl'
gmake[3]: Entering directory `/postgresql-8.2.3/src/pl/plpgsql'
gmake -C src all
gmake[4]: Entering directory `/postgresql-8.2.3/src/pl/plpgsql/src'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/postgresql-8.2.3/src/pl/plpgsql/src'
gmake[3]: Leaving directory `/postgresql-8.2.3/src/pl/plpgsql'
gmake[2]: Leaving directory `/postgresql-8.2.3/src/pl'
gmake -C makefiles all
gmake[2]: Entering directory `/postgresql-8.2.3/src/makefiles'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/postgresql-8.2.3/src/makefiles'
gmake -C test/regress all
gmake: *** test/regress: No such file or directory. Stop.
gmake: Entering an unknown directorygmake: Leaving an unknown
directorygmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/postgresql-8.2.3/src'
gmake: *** [all] Error 2