On 3/15/06, Asfihani <[EMAIL PROTECTED]> wrote:
> rednux wrote:
> > Kawan,
> >
> > saya mencoba 'compile' courierpassd yg mana sebelum2nya sudah saya
> > install courier-imap + courier-authlib : namun ada error saat compile
> > courierpassd
> >
> > ## cek library
> > $ls /usr/local/courier-authlib
> > bin  etc  include  lib  libexec  man  sbin  var
> > $locate courierauthconfig
> > /usr/local/src/mail/courier-authlib-0.57/courierauthconfig
> > /usr/local/courier-authlib/bin/courierauthconfig
> >
> > ## install courierpassd
> > $./configure --with-couriersrc=/usr/local/src/mail/courier-imap-4.0.6
> > --with-courierauthlib=/usr/local/courier-authlib
> >
> > checking for courierauthconfig... no
> > configure: WARNING: === Courier authentication library not found.
> > configure: WARNING: === You need to download and install
> > configure: WARNING: === http://www.courier-mta.org/download.php#authlib 
> > first.
> > configure: WARNING: === If courier-authlib is installed in a non-default
> > configure: WARNING: === directory, set the COURIERAUTHCONFIG environment
> > configure: WARNING: === variable to the full path to the courierauthconfig
> > configure: WARNING: === binary and rerun this configure script.
> > configure: WARNING:
> > configure: error: courierauthconfig not found
> >
>
> Kalau boleh tahu ini menggunakan courierpassd versi berapa ya?
> courierpassd-1.0.1, anda tidak membutuhkan  courier-authlib, butuh
> argumen --with-couriersrc pada waktu ./configure. Kalau versi 1.1.0,
> butuh courier-authlib tidak ada argumen tersebut.
>
> Apakah sudah dicoba:
>
> COURIERAUTHCONFIG=/usr/local/courier-authlib/bin/courierauthconfig
> export COURIERAUTHCONFIG
> ./configure
>
> Wassalam,
>
> Asfihani
>
pak asfihani dan rekan2 yg lain, saya menggunakan courierpassd-1.1.0
$COURIERAUTHCONFIG=/usr/local/courier-authlib/bin/courierauthconfig
export COURIERAUTHCONFIG
$./configure

##
configure: WARNING: === Courier authentication library not found.
configure: WARNING: === You need to download and install
configure: WARNING: === http://www.courier-mta.org/download.php#authlib first.
configure: WARNING: === If courier-authlib is installed in a non-default
configure: WARNING: === directory, set the COURIERAUTHCONFIG environment
configure: WARNING: === variable to the full path to the courierauthconfig
configure: WARNING: === binary and rerun this configure script.
configure: WARNING:
configure: error: courierauthconfig not found
##

atau saya coba
$ COURIERAUTHCONFIG=/usr/local/courier-authlib/bin/courierauthconfig ./configure
$ make && make install
##
courierpassd.h:26:25: error: courierauth.h: No such file or directory
courierpassd.h:27:30: error: courierauthdebug.h: No such file or directory
courierpassd.c:79: warning: âstruct authinfoâ declared inside parameter list
courierpassd.c:79: warning: its scope is only this definition or
declaration, which is probably not what you want
courierpassd.c:84: warning: âstruct authinfoâ declared inside parameter list
courierpassd.c: In function âcallback_preâ:
courierpassd.c:88: error: dereferencing pointer to incomplete type
courierpassd.c:89: error: dereferencing pointer to incomplete type
courierpassd.c:90: error: dereferencing pointer to incomplete type
courierpassd.c:91: error: dereferencing pointer to incomplete type
make[2]: *** [courierpassd.o] Error 1
make[2]: Leaving directory `/usr/local/src/mail/courierpassd-1.1.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mail/courierpassd-1.1.0'
make: *** [all-recursive-am] Error 2
##

jika saya gunakan courierpassd-1.0.1
$COURIERAUTHCONFIG=/usr/local/courier-authlib/bin/courierauthconfig
export COURIERAUTHCONFIG
$./configure --with-couriersrc=/usr/local/src/mail/courier-imap-4.0.6
##
In file included from courierpassd.c:38:
courierpassd.h:24:18: error: auth.h: No such file or directory
courierpassd.h:25:21: error: authmod.h: No such file or directory
courierpassd.h:26:28: error: authstaticlist.h: No such file or directory
courierpassd.h:27:22: error: authsasl.h: No such file or directory
courierpassd.c:77: warning: âstruct authinfoâ declared inside parameter list
courierpassd.c:77: warning: its scope is only this definition or
declaration, which is probably not what you want
courierpassd.c:82: warning: âstruct authinfoâ declared inside parameter list
courierpassd.c: In function âcallback_preâ:
courierpassd.c:83: error: dereferencing pointer to incomplete type
courierpassd.c: In function âmainâ:
courierpassd.c:228: error: âauthstaticmodulelistâ undeclared (first
use in this function)
courierpassd.c:228: error: (Each undeclared identifier is reported only once
courierpassd.c:228: error: for each function it appears in.)
courierpassd.c:235: warning: assignment from incompatible pointer type
courierpassd.c:245: error: âAUTHTYPE_LOGINâ undeclared (first use in
this function)
make[2]: *** [courierpassd.o] Error 1
make[2]: Leaving directory `/usr/local/src/mail/courierpassd-1.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mail/courierpassd-1.0.1'
make: *** [all-recursive-am] Error 2
##
mohon pencerahannya dimana yg keliru

--
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke