On 10/12/06, Sandeep Agarwal <[EMAIL PROTECTED]> wrote:
hello all,

i am trying to upgrade my vpopmail installation to the latest stable
release (5.4.17). but i am getting compilation errors.

VPOPMAIL Settings
=================
           vpopmail 5.4.17
            Current settings
---------------------------------------

vpopmail directory = /home/vpopmail
 domains directory = /home/vpopmail/domains
               uid = 508
               gid = 503
     roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
     md5 passwords = ON  --enable-md5-passwords (default)
      file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
     make seekable = ON  --enable-make-seekable (default)
      clear passwd = OFF --disable-clear-passwd
 user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
          ip alias = OFF --disable-ip-alias-domains (default)
       auth module = postgres --enable-auth-module=postgres
       sql logging = ON  --enable-sql-logging
          auth inc = -I/usr/include/pgsql
          auth lib = -L/usr/lib/pgsql -lpq
  system passwords = OFF --disable-passwd (default)
        pop syslog = show only failed attempts
                     --enable-logging=e (default)
      auth logging = ON  --enable-auth-logging (default)
one domain per SQL table     = --disable-many-domains


Error after during make

gcc -I. -I/usr/include/pgsql  -I. -I. -I.    -fPIC -g -O2 -Wall -c -o
libvpopmail_a-vauth.o `test -f 'vauth.c' || echo './'`vauth.c
vauth.c: In function 'vauth_deldomain':
vauth.c:392: error: 'sqlBufUpdate' undeclared (first use in this function)
vauth.c:392: error: (Each undeclared identifier is reported only once
vauth.c:392: error: for each function it appears in.)
vauth.c:395: warning: implicit declaration of function 'PGresultStatus'
vauth.c: In function 'vauth_deluser':
vauth.c:445: error: 'sqlBufUpdate' undeclared (first use in this function)
vauth.c: In function 'vauth_munch_domain':
vauth.c:593: warning: implicit declaration of function 'tolower'
make[2]: *** [libvpopmail_a-vauth.o] Error 1
make[2]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.17'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/downloads/qmailrocks/vpopmail-5.4.17'
make: *** [all] Error 2

working envoirnment
Fedora Core 5
gcc version 4.1.0
postgresql-8.1.4

thanks

Sandeep

i tried verson 5.4.13 that complains that valiases are not supported
for postgresql.

Reply via email to