PHP --with-imap

2003-02-23 Thread Craig Jackson
I have a Debian woody computer with exim and qpopper. They work well
using starttls. Now I want to experiment with imap using imp/horde. So I
installed Cyrus-imapd using apt and libc-client2001 using apt and Mysql
from source. I downloaded PHP4.3.1 and Apache 1.3.27 which I want to
compile from source. When I configure PHP4.3.1 using these options

--with-mysql 
--with-imap=/usr/lib/ 
--with-apache=/usr/local/src/apache_1.3.27 
--with-mcrypt 
--enable-track-vars

I get this error:

configure: error: Cannot find imap library (libc-client.a). Please check
your IMAP installation.

libc-client2001 is in /usr/lib/ but libc-client.a is nowhere on the
system. Hints please.

Thanks,
-- 
Craig Jackson [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PHP --with-imap

2003-02-23 Thread Seneca
On Sun, Feb 23, 2003 at 12:29:33PM -0600, Craig Jackson wrote:
[...]
 I get this error:
 
 configure: error: Cannot find imap library (libc-client.a). Please check
 your IMAP installation.
 
 libc-client2001 is in /usr/lib/ but libc-client.a is nowhere on the
 system. Hints please.

Try using Search the contents of packages on
http://packages.debian.org (it's near the bottom).  libc-client.a is in
libc-client2001-dev.

-- 
Seneca
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PHP --with-imap

2003-02-23 Thread Rob Weir
On Sun, Feb 23, 2003 at 12:29:33PM -0600, Craig Jackson wrote:
 I have a Debian woody computer with exim and qpopper. They work well
 using starttls. Now I want to experiment with imap using imp/horde. So I
 installed Cyrus-imapd using apt and libc-client2001 using apt and Mysql
 from source. I downloaded PHP4.3.1 and Apache 1.3.27 which I want to
 compile from source. 

How come?  And if you really want to, why not rebuild the Debian
sources, so you get a nice shiny .deb?  Also, Debian includes a
php4-imap module which gives you imap support.

 When I configure PHP4.3.1 using these options
 
 --with-mysql 
 --with-imap=/usr/lib/ 
 --with-apache=/usr/local/src/apache_1.3.27 
 --with-mcrypt 
 --enable-track-vars
 
 I get this error:
 
 configure: error: Cannot find imap library (libc-client.a). Please check
 your IMAP installation.
 
 libc-client2001 is in /usr/lib/ but libc-client.a is nowhere on the
 system. Hints please.

Use http://packages.debian.org/ to find which package contains that
file.

-- 
Rob Weir [EMAIL PROTECTED]http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: PHP --with-imap

2003-02-23 Thread Craig Jackson
On Sun, 2003-02-23 at 16:14, Rob Weir wrote:
 On Sun, Feb 23, 2003 at 12:29:33PM -0600, Craig Jackson wrote:
  I have a Debian woody computer with exim and qpopper. They work well
  using starttls. Now I want to experiment with imap using imp/horde. So I
  installed Cyrus-imapd using apt and libc-client2001 using apt and Mysql
  from source. I downloaded PHP4.3.1 and Apache 1.3.27 which I want to
  compile from source. 
 
 How come? 

I'm new to apt-get. I like downloading the source from the source and
compiling it. I like knowing what options are used to compile. I'm
having a hell of a time with this php-imap because first php4.3.1
doesn't find the c-client libraries even though I enter the correct
prefix and the libraries are there, then I find out kerberos has been
compiled into c-client and I don't want Kerberos. Having control over
our servers is important. I don't mind relinquishing some of that
control for the base system esp because I know Debian does a great job
with that and it will save plenty time and aggravation. But as for
mission critical apps, I want the source installed exactly the way I
want it. I realize that I can do this with apt-get but it seems like
more work to learn apt-get to compile from deb-source than to simply
download and compile from original source.


  And if you really want to, why not rebuild the Debian
 sources, so you get a nice shiny .deb?  Also, Debian includes a
 php4-imap module which gives you imap support.
 
  When I configure PHP4.3.1 using these options
  
  --with-mysql 
  --with-imap=/usr/lib/ 
  --with-apache=/usr/local/src/apache_1.3.27 
  --with-mcrypt 
  --enable-track-vars
  
  I get this error:
  
  configure: error: Cannot find imap library (libc-client.a). Please check
  your IMAP installation.
  
  libc-client2001 is in /usr/lib/ but libc-client.a is nowhere on the
  system. Hints please.
 
 Use http://packages.debian.org/ to find which package contains that
 file.
-- 
Craig Jackson [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PHP --with-imap

2003-02-23 Thread Rob Weir
On Sun, Feb 23, 2003 at 05:33:51PM -0600, Craig Jackson wrote:
 On Sun, 2003-02-23 at 16:14, Rob Weir wrote:
  On Sun, Feb 23, 2003 at 12:29:33PM -0600, Craig Jackson wrote:
   I have a Debian woody computer with exim and qpopper. They work well
   using starttls. Now I want to experiment with imap using imp/horde. So I
   installed Cyrus-imapd using apt and libc-client2001 using apt and Mysql
   from source. I downloaded PHP4.3.1 and Apache 1.3.27 which I want to
   compile from source. 
  
  How come? 
 
 I'm new to apt-get. I like downloading the source from the source and
 compiling it. I like knowing what options are used to compile. I'm
 having a hell of a time with this php-imap because first php4.3.1
 doesn't find the c-client libraries even though I enter the correct
 prefix and the libraries are there, then I find out kerberos has been
 compiled into c-client and I don't want Kerberos. Having control over
 our servers is important. I don't mind relinquishing some of that
 control for the base system esp because I know Debian does a great job
 with that and it will save plenty time and aggravation. But as for
 mission critical apps, I want the source installed exactly the way I
 want it. I realize that I can do this with apt-get but it seems like
 more work to learn apt-get to compile from deb-source than to simply
 download and compile from original source.

Well, 90% of the time, it's actually simpler.  e.g.
1) setup deb-src lines in your sources.list (you only need to do this
   once, ever)
2) apt-get source packagename;apt-get build-dep packagename.  This will
   download the source, untar it and patch it, then go get everything
   you need to build it (avoiding the libc-client2001 issue you're
   having).
3) Edit debian/rules to change the './configure' line to only include
   modules that you want.
4) debuild.  This builds the source and packages it.
5) install the resulting deb with dpkg.
6) Profit!

Total human interaction time: 2 minutes.

-- 
Rob Weir [EMAIL PROTECTED]http://ertius.org/


pgp0.pgp
Description: PGP signature


Re: PHP --with-imap

2003-02-23 Thread Craig Jackson
On Sun, 2003-02-23 at 18:48, Rob Weir wrote:
[snipped]

 Well, 90% of the time, it's actually simpler.  e.g.
 1) setup deb-src lines in your sources.list (you only need to do this
once, ever)
 2) apt-get source packagename;apt-get build-dep packagename.  This will
download the source, untar it and patch it, then go get everything
you need to build it (avoiding the libc-client2001 issue you're
having).
 3) Edit debian/rules to change the './configure' line to only include
modules that you want.
 4) debuild.  This builds the source and packages it.
 5) install the resulting deb with dpkg.
 6) Profit!
 
 Total human interaction time: 2 minutes.

I appreciate your response and will seriously look into this method. It
does look promising. 

-- 
Craig Jackson [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PHP --with-imap

2003-02-23 Thread Michel Loos
Em Dom, 2003-02-23 às 23:35, Craig Jackson escreveu:
 On Sun, 2003-02-23 at 18:48, Rob Weir wrote:
 [snipped]
 
  Well, 90% of the time, it's actually simpler.  e.g.
  1) setup deb-src lines in your sources.list (you only need to do this
 once, ever)
  2) apt-get source packagename;apt-get build-dep packagename.  This will
 download the source, untar it and patch it, then go get everything
 you need to build it (avoiding the libc-client2001 issue you're
 having).

apt-get build-dep 

will fail since libc-client2002-dev is missing.

There is a real problem this moment with the php4-imap package, which is also 
uninstallable in binary form.

Michel.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



PB compile PHP avec IMAP

2002-06-14 Thread marc



Bonjour, 
J'essaie de compiler PHP avec le support IMAP, mais 
je n'y arrive pas; le message d'erreur est :

 configure: error: Cannot find 
imap library. Please check your IMAP installation.
pourtant j'ai installe le package courier-imap et 
imaptool ( via apt-get ), et apt-cache search lib | grep imap me donne 
rien
Je ne sais pas trop quoi faire 
Merci pour votre aide 
Marc

PS: je travaille sur une 
Potato