Re: Cannot build dovecot with bdb support

2009-01-29 Thread Nicolas Letellier
On Wed, 28 Jan 2009 15:19:44 -0900
Mel  wrote:

> On Wednesday 28 January 2009 13:32:59 Nicolas Letellier wrote:
> > On Wed, 28 Jan 2009 09:27:04 -0900
> >
> > Mel  wrote:
> > > On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
> > > > Hello.
> > > >
> > > > I use FreeBSD-6.3. I want to install dovecot port with dbd support.
> > > > However, that's impossible. See my error:
> > > >
> > > > hecking for pam/pam_appl.h... no
> > > > checking for pam_setcred in -lpam... yes
> > > > checking for auth_userokay... no
> > > > checking db_env_create in -ldb... no
> > > > configure: error: Can't build with db support: libdb not found
> > > > ===>  Script "configure" failed unexpectedly.
> > > > Please report the problem to y...@coolrat.org [maintainer] and attach
> > > > the "/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log" including
> > > > the
> > >
> > > The answer is in there. Works for me with db46. Could you show the part
> > > of config.log where it says it fails?
> > > Search for "checking db_env_create in -ldb" and anything below that will
> > > be helpful.
> >
> > I built db46 port, but I was the same error whel building dovecot...
> > The log says:
> >
> > configure:27631: checking db_env_create in -ldb
> > configure:27660: cc -o conftest -std=gnu99 -O2 -pipe -march=pentium4
> > -I/usr/local/include/db41 -L/usr/local/lib -fno-strict-aliasing -Wall -W
> > -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
> > -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/local/include
> > -L/usr/local/lib conftest.c  -ldb >&5 /usr/bin/ld: cannot find -ldb
> 
> 
> -L/usr/local/lib/db41 is missing above. Not entirely sure why that is.

I removed db41 package (and dependances)
I installed db46.

Now, it works.

db41 does not install some files in /usr/local/lib (like libdb).

Thanks for your advices.

Regards.

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Cannot build dovecot with bdb support

2009-01-28 Thread Mel
On Wednesday 28 January 2009 13:32:59 Nicolas Letellier wrote:
> On Wed, 28 Jan 2009 09:27:04 -0900
>
> Mel  wrote:
> > On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
> > > Hello.
> > >
> > > I use FreeBSD-6.3. I want to install dovecot port with dbd support.
> > > However, that's impossible. See my error:
> > >
> > > hecking for pam/pam_appl.h... no
> > > checking for pam_setcred in -lpam... yes
> > > checking for auth_userokay... no
> > > checking db_env_create in -ldb... no
> > > configure: error: Can't build with db support: libdb not found
> > > ===>  Script "configure" failed unexpectedly.
> > > Please report the problem to y...@coolrat.org [maintainer] and attach
> > > the "/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log" including
> > > the
> >
> > The answer is in there. Works for me with db46. Could you show the part
> > of config.log where it says it fails?
> > Search for "checking db_env_create in -ldb" and anything below that will
> > be helpful.
>
> I built db46 port, but I was the same error whel building dovecot...
> The log says:
>
> configure:27631: checking db_env_create in -ldb
> configure:27660: cc -o conftest -std=gnu99 -O2 -pipe -march=pentium4
> -I/usr/local/include/db41 -L/usr/local/lib -fno-strict-aliasing -Wall -W
> -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
> -Wchar-subscripts -Wformat=2 -Wbad-function-cast -I/usr/local/include
> -L/usr/local/lib conftest.c  -ldb >&5 /usr/bin/ld: cannot find -ldb


-L/usr/local/lib/db41 is missing above. Not entirely sure why that is.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Cannot build dovecot with bdb support

2009-01-28 Thread Nicolas Letellier
On Wed, 28 Jan 2009 09:27:04 -0900
Mel  wrote:

> On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
> > Hello.
> >
> > I use FreeBSD-6.3. I want to install dovecot port with dbd support.
> > However, that's impossible. See my error:
> >
> > hecking for pam/pam_appl.h... no
> > checking for pam_setcred in -lpam... yes
> > checking for auth_userokay... no
> > checking db_env_create in -ldb... no
> > configure: error: Can't build with db support: libdb not found
> > ===>  Script "configure" failed unexpectedly.
> > Please report the problem to y...@coolrat.org [maintainer] and attach the
> > "/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log" including the
> 
> The answer is in there. Works for me with db46. Could you show the part of 
> config.log where it says it fails?
> Search for "checking db_env_create in -ldb" and anything below that will be 
> helpful.

I built db46 port, but I was the same error whel building dovecot...
The log says:

configure:27631: checking db_env_create in -ldb
configure:27660: cc -o conftest -std=gnu99 -O2 -pipe -march=pentium4 
-I/usr/local/include/db41 -L/usr/local/lib -fno-strict-aliasing -Wall -W 
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts 
-Wformat=2 -Wbad-function-cast -I/usr/local/include -L/usr/local/lib conftest.c 
 -ldb >&5
/usr/bin/ld: cannot find -ldb

Regards,

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Cannot build dovecot with bdb support

2009-01-28 Thread Mel
On Wednesday 28 January 2009 07:47:53 Nicolas Letellier wrote:
> Hello.
>
> I use FreeBSD-6.3. I want to install dovecot port with dbd support.
> However, that's impossible. See my error:
>
> hecking for pam/pam_appl.h... no
> checking for pam_setcred in -lpam... yes
> checking for auth_userokay... no
> checking db_env_create in -ldb... no
> configure: error: Can't build with db support: libdb not found
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to y...@coolrat.org [maintainer] and attach the
> "/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log" including the

The answer is in there. Works for me with db46. Could you show the part of 
config.log where it says it fails?
Search for "checking db_env_create in -ldb" and anything below that will be 
helpful.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Cannot build dovecot with bdb support

2009-01-28 Thread Nicolas Letellier
Hello.

I use FreeBSD-6.3. I want to install dovecot port with dbd support. However, 
that's impossible. See my error:

hecking for pam/pam_appl.h... no
checking for pam_setcred in -lpam... yes
checking for auth_userokay... no
checking db_env_create in -ldb... no
configure: error: Can't build with db support: libdb not found
===>  Script "configure" failed unexpectedly.
Please report the problem to y...@coolrat.org [maintainer] and attach the
"/usr/ports/mail/dovecot/work/dovecot-1.1.8/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/mail/dovecot.
*** Error code 1

Stop in /usr/ports/mail/dovecot.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.60329.0 
env make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! mail/dovecot  (configure error)

At the top of the "make", I see "dovecot-1.1.8 depends on shared library: 
db41.1 - found". So, I have some db files installed...

When I remove dbd support, it works. I wrote to the maintainer. But, 
temporarly, I want to solve this problem and add bdb support to my dovecot. Do 
you have a solution? Why I havn't got libdb?

Thanks.

Best regards,

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"