[horde] php-4.3.3 and imap configuration error, Checking if imap works

gonzalo briceno gonzalohbriceno at yahoo.com
Fri Sep 19 16:59:03 PDT 2003


I am trying to install Horde with IMP, Kronolith,
Turba and Gollem on RedHat 9 (kernel 2.4).  I have
mySQL 4.0, perl and httpd-2.0.40-21 working.

It seems that configuring php with imap support is
very important since no matter what sort of
authentication I choose (ftp, mysql), I still get the
following error:
Notice: Use of undefined constant SORTARRIVAL -
assumed 'SORTARRIVAL' in
/var/www/html/horde/imp/config/prefs.php on line 503
 
So I read that you need UW imap so I downloaded it
(imap-2002d).  At first I was getting problems
compiling it since it compolained about -lcrypto.  In
any case, I downloaded and successfully compiled
OpenSSL 0.9.7b.  Afterwards, imap compiled with no
problems.  Additionally, I came across two websites
that describe how to compile imap and requirements for
php support:
http://us3.php.net/imap
http://www.horde.org/faq/admin/print.php#p8

Even though I followed those instructions entirely, I
still get an error when compiling php.  The cofigure
command is as follows:
./configure --prefix=/usr/local
--with-mysql=/usr/local/mysql
--with-imap=/usr/local/imap-2002d \
--with-ssl=/usr/local/ssl
--with-kerberos=/usr/kerberos --with-perl --with-xml
--with-gettext \
--enable-ftp 
--with-apxs2=/usr/local/apache2/bin/apxs
--with-config-file-path=/etc

the error is:
checking whether IMAP works... no
configure: error: build test failed. Please check the
config.log for details.

If you were to look at the config.log file, the bottom
would read:
configure:40034: checking whether IMAP works
configure:40067: gcc -o conftest -g -O2  
-Wl,-rpath,/usr/local/imap-2002d/lib
-L/usr/local/imap-2002d/lib
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib
conftest.c -lc-client   -lcrypt -lpam -lresolv -lm
-ldl -lnsl  -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
1>&5
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0x881a):
In function `ssl_server_init':
/usr/local/imap-2002d/c-client/osdep.c:267: the use of
`tmpnam' is dangerous, better use `mkstemp'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0x7a85):
In function `ssl_start_work':
/usr/local/imap-2002d/c-client/osdep.c:385: undefined
reference to `TLSv1_client_method'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0x7a8d):/usr/local/imap-2002d/c-client/osdep.c:385:
undefined reference to `SSL_CTX_new'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0x7ab4):/usr/local/imap-2002d/c-client/osdep.c:389:
undefined reference to `SSL_CTX_ctrl'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0x7ad1):/usr/local/imap-2002d/c-client/osdep.c:392:
undefined reference to `SSL_CTX_set_verify'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0x7ada):/usr/local/imap-2002d/c-client/osdep.c:395:
undefined reference to
`SSL_CTX_set_default_verify_paths'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0xa32b):
In function `ssl_soutr':
/usr/local/imap-2002d/c-client/osdep.c:640: undefined
reference to `SSL_write'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0xa3c3):
In function `ssl_sout':
/usr/local/imap-2002d/c-client/osdep.c:640: undefined
reference to `SSL_write'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0xa8cb):
In function `PBOUT':
/usr/local/imap-2002d/c-client/osdep.c:640: undefined
reference to `SSL_write'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0xaa0e):
In function `PSOUT':
/usr/local/imap-2002d/c-client/osdep.c:640: undefined
reference to `SSL_write'
/usr/local/imap-2002d/lib/libc-client.a(osdep.o)(.text+0xab72):
In function `PSOUTR'
......AND more of the same

So it seems that there are a lot of
SSL/osdep.c/libc-client.a related problems.  
Lastly, I want to mention that the command
rpm -qa | grep php 
reveals that I have 
php-imap-4.2.2-17

I really need to have this working by the end of the
weekend and would really appreciate a solution or some
help towards that direction.  As a matter of fact, I
am willing to pay for the help since this is something
that needs to be done.  Thanx in advance for any and
all feedback.

gzo

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the horde mailing list