On 10/13/06, Sandeep Agarwal <[EMAIL PROTECTED]> wrote:
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.


i disabled sql logging to avoid the errors but again bumped into error
for valias.
gcc  -g -O2 -Wall   -o valias  valias.o libvpopmail.a
-L/usr/lib/pgsql -lpq  -lcrypt
valias.o: In function
`main':/downloads/qmailrocks/vpopmail-5.4.17/valias.c:89: undefined
reference to `valias_select_names'
:/downloads/qmailrocks/vpopmail-5.4.17/valias.c:93: undefined
reference to `valias_select_names_next'
:/downloads/qmailrocks/vpopmail-5.4.17/valias.c:95: undefined
reference to `valias_select_names_end'
collect2: ld returned 1 exit status
make[2]: *** [valias] 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

my configure command was
#  ./configure --disable-roaming-users -enable-logging=e
--disable-ip-alias-domains --disable-passwd --disable-clear-passwd
--disable-many-domains --enable-auth-module=pgsql
--enable-auth-logging --enable-valias

after going through the install file again i found that valiases are
supported by mysql only.

--enable-valias (Turn on vpopmail alias processing)

This is for the mysql module. It allows aliases/forwards to
be stored in the mysql database. It also turns on the valias
command line program to maintain alias/forwards

earlier version did had the support for pgsql valiases, is there any
specific reason for this step back ?

Sandeep

Reply via email to