kompilacja pgadmin3-1.2-beta1

Paweł Sakowski pawel w sakowski.eu.org
Nie, 12 Wrz 2004, 22:36:31 CEST


A co mi tam, miałem czas...

On Sun, 2004-09-12 at 17:44 +0200, Andrzej Zawadzki wrote:
> ./configure --with-pgsql-include=/usr/include/postgresql
> [...]
> checking for memset... yes
> checking for strchr... yes
> checking for wx-config binary... yes
> checking for pgsql include files... yes
> yes
> checking for pgsql... yes
> checking for PQexec in -lpq... no
> checking for SSL_connect in -lpq... no
> checking libpq-fe.h usability... yes
> checking libpq-fe.h presence... yes
> checking for libpq-fe.h... yes
> checking pgsql in /usr/lib... failed
> configure: error: you must specify a valid pgsql installation with --with-pgsql=DIR

Więcej powiedziałoby:

$ sed -n 37p configure.ac
CHECK_PGSQL

a ten zdefiniowany jest tu:

$ sed -n 129,136p aclocal.m4
    AC_CHECK_LIB(pq, PQexec, [pgsql_cv_libpq=yes], [pgsql_cv_libpq=no])
    AC_CHECK_LIB(pq, SSL_connect, [pgsql_ssl_libpq=yes],
[pgsql_ssl_libpq=np])
    AC_CHECK_HEADER(libpq-fe.h, [pgsql_cv_libpqfe_h=yes],
[pgsql_cv_libpqfe_h=no])
    AC_LANG_RESTORE
    if test "$pgsql_cv_libpq" = "yes" -a "$pgsql_cv_libpqfe_h" = "yes"
    then
        AC_MSG_CHECKING(pgsql in ${LIBPQ_HOME})
        AC_MSG_RESULT(ok)

U ciebie test na PQexec (potrzebne dla napisania "pgsql in /usr: ok")
padł, więc zgaduję że nie masz zainstalowanego
`poldek --shcmd='search -l *libpq.so'` == postgresql-devel

(ja mam i u mnie przeszło, padło na następnym czekingu)

-- 
+----------------------------------------------------------------------+
| Paweł Sakowski <pawel w sakowski.eu.org>            Never trust a man  |
|                            who can count up to 1023 on his fingers.  |
+----------------------------------------------------------------------+






Więcej informacji o liście dyskusyjnej pld-devel-pl