public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* IMAP Error
@ 2004-02-12 12:08 Ralica Kirilova
  2004-02-12 14:01 ` pa3gcu
  2004-02-12 14:06 ` Armen Kaleshian
  0 siblings, 2 replies; 8+ messages in thread
From: Ralica Kirilova @ 2004-02-12 12:08 UTC (permalink / raw)
  To: linux-newbie

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
  2004-02-12 12:08 Ralica Kirilova
@ 2004-02-12 14:01 ` pa3gcu
  2004-02-13  7:58   ` Ralica
  2004-02-12 14:06 ` Armen Kaleshian
  1 sibling, 1 reply; 8+ messages in thread
From: pa3gcu @ 2004-02-12 14:01 UTC (permalink / raw)
  To: Ralica Kirilova, linux-newbie

On Thursday 12 February 2004 13:08, Ralica Kirilova wrote:
> Hi all,

I'm no expert with courier-IMAP, but something is very wrong here.

> 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:
> 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"

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.

> 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

-- 
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
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
  2004-02-12 12:08 Ralica Kirilova
  2004-02-12 14:01 ` pa3gcu
@ 2004-02-12 14:06 ` Armen Kaleshian
  2004-02-12 14:58   ` Ralica
  2004-02-12 19:01   ` pa3gcu
  1 sibling, 2 replies; 8+ messages in thread
From: Armen Kaleshian @ 2004-02-12 14:06 UTC (permalink / raw)
  To: Ralica Kirilova; +Cc: linux-newbie

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 majordomo@vger.kernel.org
: 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
  2004-02-12 14:06 ` Armen Kaleshian
@ 2004-02-12 14:58   ` Ralica
  2004-02-12 19:01   ` pa3gcu
  1 sibling, 0 replies; 8+ messages in thread
From: Ralica @ 2004-02-12 14:58 UTC (permalink / raw)
  To: Armen Kaleshian; +Cc: linux-newbie

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
> : 



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
@ 2004-02-12 15:54 Armen Kaleshian
  2004-02-13  8:01 ` Ralica
  0 siblings, 1 reply; 8+ messages in thread
From: Armen Kaleshian @ 2004-02-12 15:54 UTC (permalink / raw)
  To: linux-newbie

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
: > : 
: 
: 

----- End forwarded message -----
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
  2004-02-12 14:06 ` Armen Kaleshian
  2004-02-12 14:58   ` Ralica
@ 2004-02-12 19:01   ` pa3gcu
  1 sibling, 0 replies; 8+ messages in thread
From: pa3gcu @ 2004-02-12 19:01 UTC (permalink / raw)
  To: Armen Kaleshian, Ralica Kirilova; +Cc: linux-newbie

On Thursday 12 February 2004 15:06, Armen Kaleshian wrote:
> Where is libgdbm.so located on your machine?

Where he said it was.....

>: I have /usr/include/gdbm.h and /usr/lib/libgdbm.a         libgdbm.la
>: libgdbm.so        libgdbm.so.2      libgdbm.so.2.0.0

-- 
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
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
  2004-02-12 14:01 ` pa3gcu
@ 2004-02-13  7:58   ` Ralica
  0 siblings, 0 replies; 8+ messages in thread
From: Ralica @ 2004-02-13  7:58 UTC (permalink / raw)
  To: pa3gcu, linux-newbie

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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: IMAP Error
  2004-02-12 15:54 IMAP Error Armen Kaleshian
@ 2004-02-13  8:01 ` Ralica
  0 siblings, 0 replies; 8+ messages in thread
From: Ralica @ 2004-02-13  8:01 UTC (permalink / raw)
  To: Armen Kaleshian, linux-newbie

Hi, Armen
> 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.

I try it, but it didn't help. You were right /usr/lib was not in the path.
there is
something wrong with the installation may be. And I don't know the right
questions now

Thanks for the help


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-13  8:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 15:54 IMAP Error Armen Kaleshian
2004-02-13  8:01 ` Ralica
  -- strict thread matches above, loose matches on Subject: below --
2004-02-12 12:08 Ralica Kirilova
2004-02-12 14:01 ` pa3gcu
2004-02-13  7:58   ` Ralica
2004-02-12 14:06 ` Armen Kaleshian
2004-02-12 14:58   ` Ralica
2004-02-12 19:01   ` pa3gcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox