Search Postgresql Archives

Re: postgresql 8.2 Installation error at "gmake"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

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.


(1) \rm -r /local/postgresql


(2) ./configure --prefix=/local/postgresql --without-docdir --without-readline --without-zlib

   The last line for the above configuration is:
config.status: linking ./src/makefiles/Makefile.linux to src/Makefile.port

(3) gmake

    ERROR shown in the attached file.


Thank you!





gmake
gmake -C doc all
gmake[1]: Entering directory `/postgresql-8.2.3/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/postgresql-8.2.3/doc'
gmake -C src all
gmake[1]: Entering directory `/postgresql-8.2.3/src'
gmake -C port all
gmake[2]: Entering directory `/postgresql-8.2.3/src/port'
echo "#define PGBINDIR \"/local/postgresql/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/local/postgresql/share\"" >>pg_config_paths.h
echo "#define SYSCONFDIR \"/local/postgresql/etc\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/local/postgresql/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/local/postgresql/include\"" >>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/local/postgresql/include/server\"" >>pg_config_paths.h
echo "#define LIBDIR \"/local/postgresql/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/local/postgresql/lib\"" >>pg_config_paths.h
echo "#define LOCALEDIR \"\"" >>pg_config_paths.h
echo "#define DOCDIR \"\"" >>pg_config_paths.h
echo "#define MANDIR \"/local/postgresql/man\"" >>pg_config_paths.h
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing -I../../src/port -DFRONTEND -I../../src/include -D_GNU_SOURCE   -c -o path.o path.c
ar crs libpgport.a strlcpy.o copydir.o dirmod.o exec.o noblock.o path.o pipe.o pgsleep.o pgstrcasecmp.o qsort.o qsort_arg.o sprompt.o thread.o
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing  -I../../src/port  -I../../src/include -D_GNU_SOURCE  -c path.c -o path_srv.o
ar crs libpgport_srv.a strlcpy_srv.o copydir_srv.o dirmod_srv.o exec_srv.o noblock_srv.o path_srv.o pipe_srv.o pgsleep_srv.o pgstrcasecmp_srv.o qsort_srv.o qsort_arg_srv.o sprompt_srv.o thread_srv.o
gmake[2]: Leaving directory `/postgresql-8.2.3/src/port'
gmake -C timezone all
gmake[2]: Entering directory `/postgresql-8.2.3/src/timezone'
gmake -C ../../src/port all
gmake[3]: Entering directory `/postgresql-8.2.3/src/port'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/postgresql-8.2.3/src/port'
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 `/postgresql-8.2.3/src/timezone'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/postgresql-8.2.3/src'
gmake: *** [all] Error 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux