IMAP Error
Hi all,
I have a problem with running courier-IMAP server. My system is Linux Slackware 9.1, uname -r --> 2.4.22 I have qmail running.
I'm trying to run ./configure [options] like described in
http://www.inter7.com/courierimap/INSTALL.html#install
And I get this error:
----------------------------------------------------------------------------
-----------
checking for gdbm_open in -lgdbm... yes
checking for gdbm_open... no
checking for dbopen in -ldb... no
checking for db_open in -ldb... no
checking for db_env_create in -ldb... yes
checking for dbopen... no
checking for db_open... no
checking for db_env_create... no
configure: error: Cannot find either the gdbm or the db library.
----------------------------------------------------------------------------
------------
I google for it and I find here
http://www.inter7.com/courierimap/FAQ.html#libs
an answer. But it didn't solve the problem.
I have /usr/include/gdbm.h and /usr/lib/libgdbm.a libgdbm.la
libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0
In file config.log I've found that I'm maybe missing some libraries. It's a cut from this file
----------------------------------------------------------------------------
-------------
configure:3026: checking for gdbm_open
configure:3076: gcc -o conftest -g -O2 conftest.c -lgdbm >&5
In file included from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132,
from/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7,
from/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:11,
from configure:3046:
/usr/include/limits.h:132:75: no include path in which to find limits.h configure:3079: $? = 1
configure: failed program was:
| #line 3031 "configure"
----------------------------------------------------------------------------
-------------
Maybe the question is very stupid, I'm sorry if it is so. Thanks for answers in advance!P.S. Excuse me for my bad english
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 1 line · Ralica Kirilova
Hi all,
I'm no expert with courier-IMAP, but something is very wrong here.
Quoted 25 lines
I have a problem with running courier-IMAP server. My system is Linux Slackware 9.1, uname -r --> 2.4.22 I have qmail running.
I'm trying to run ./configure [options] like described in
http://www.inter7.com/courierimap/INSTALL.html#installAnd I get this error:
configure: error: Cannot find either the gdbm or the db library.I google for it and I find here
http://www.inter7.com/courierimap/FAQ.html#libs
an answer. But it didn't solve the problem.
I have/usr/include/gdbm.hand/usr/lib/libgdbm.alibgdbm.la
libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0In file config.log I've found that I'm maybe missing some libraries. It's a cut from this file
configure:3026: checking forgdbm_open
configure:3076: gcc -o conftest -g -O2conftest.c-lgdbm >&5
In file included from/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132,
from/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7,
from/usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:11,
Quoted 6 lines
from configure:3046:
/usr/include/limits.h:132:75: no include path in which to findlimits.hconfigure:3079: $? = 1configure: failed program was:
| #line 3031 "configure"
The errors above are from include files not libs, possably no kernel source installed, read on.
You said Slack-9.1 correct.? then why i ask do you have /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/
All my Slak-9.1 systems have; /usr/lib/gcc-lib/i486-slackware-linux/3.2.3
I am NOT saying this is your problem, what i am saying is you seem to have i386 where it should be i486, now i cant see why that should upset the configure program, what i do think is that you dont have the kernel source installed or its not linked properly.
Make sure you have the following (just to be sure). /usr/src/linux ->linux-2.4.22
and of course the source installed in linux-2.4.22 which is the way slackware installed the source for you.
AFAI can see it should be ok as you do have the libs installed, on the otherhand reading the README on the URL you mentioned you can use:
./configure --with-db=db
Just what is meant by that i dont know, as i said, i am no expert with IMAP. Also i could be wrong as well.
Quoted 3 lines
Maybe the question is very stupid, I'm sorry if it is so. Thanks for answers in advance!
P.S. Excuse me for my bad english
Signature · 15 lines
If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Hi, Richard,
I think you are right. It's someting very wrong
with the installation here. I'll try to fix this.
Thanks for help :)
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Where is libgdbm.so located on your machine?
On Thu, Feb 12, 2004 at 02:08:41PM +0200, Ralica Kirilova wrote:
: Hi all,
: I have a problem with running courier-IMAP server.
: My system is Linux Slackware 9.1, uname -r --> 2.4.22
: I have qmail running.
: I'm trying to run ./configure [options] like described in
: http://www.inter7.com/courierimap/INSTALL.html#install
:
: And I get this error:
: ---------------------------------------------------------------------------- : -----------
: checking for gdbm_open in -lgdbm... yes
: checking for gdbm_open... no
: checking for dbopen in -ldb... no
: checking for db_open in -ldb... no
: checking for db_env_create in -ldb... yes
: checking for dbopen... no
: checking for db_open... no
: checking for db_env_create... no
: configure: error: Cannot find either the gdbm or the db library. : ---------------------------------------------------------------------------- : ------------
: I google for it and I find here
: http://www.inter7.com/courierimap/FAQ.html#libs
: an answer. But it didn't solve the problem.
: I have /usr/include/gdbm.h and /usr/lib/libgdbm.a libgdbm.la
: libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0
:
: In file config.log I've found that I'm maybe missing some libraries. It's a : cut from this file
: ---------------------------------------------------------------------------- : -------------
: configure:3026: checking for gdbm_open
: configure:3076: gcc -o conftest -g -O2 conftest.c -lgdbm >&5
: In file included from
: /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:132,
: from
: /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/syslimits.h:7,
: from
: /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/include/limits.h:11,
: from configure:3046:
: /usr/include/limits.h:132:75: no include path in which to find limits.h : configure:3079: $? = 1
: configure: failed program was:
: | #line 3031 "configure"
: ---------------------------------------------------------------------------- : -------------
:
: Maybe the question is very stupid, I'm sorry if it is so.
: Thanks for answers in advance!
: P.S. Excuse me for my bad english
:
:
: -
: To unsubscribe from this list: send the line "unsubscribe linux-newbie" in : the body of a message to [email protected]
: More majordomo info at http://vger.kernel.org/majordomo-info.html
: Please read the FAQ at http://www.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Hi, Armen
As I writed before:
Quoted 3 lines
: I have
/usr/include/gdbm.hand/usr/lib/libgdbm.alibgdbm.la
: libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0
:
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
I'm sorry. I completely missed it in your previous e-mail.
Configure is basically complaining that libgdbm can not be found; it has nothing to do with IMAP. If you were trying to build something else that was looking for the same library, it would probably have the same problem...
You could do one of two things:
1) Check /etc/ld.so.conf for /usr/lib; if it doesn't exist, add it, remove your current /etc/ld.so.cache and run /sbin/ldconfig [OS dependent] to rebuild the library cache on your system. Run configure again, and that should fix it.
2) This solution is highly discouraged but might make it work... add whatever paths exist in /etc/ld.so.conf to an exported LD_LIBRARY_PATH environment variable, as well as /usr/lib delimited by a ':'. Run configure after you've exported the variable.
Good Luck!
--Armen
On Thu, Feb 12, 2004 at 04:58:27PM +0200, Ralica wrote:
: Hi, Armen
: As I writed before:
:
: > : I have /usr/include/gdbm.h and /usr/lib/libgdbm.a libgdbm.la
: > : libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0
: > :
:
:
Quoted 1 line · Armen Kaleshian
Where is libgdbm.so located on your machine?
Where he said it was.....
Quoted 2 lines
: I have
/usr/include/gdbm.hand/usr/lib/libgdbm.alibgdbm.la
: libgdbm.so libgdbm.so.2 libgdbm.so.2.0.0
Signature · 15 lines
If the Linux community is a bunch of theives because they try to imitate windows programs, then the Windows community is built on organized crime. Regards Richard [email protected] http://people.zeelandnet.nl/pa3gcu/ - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs