ID:               16977
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: RedHat7.2
 PHP Version:      4.2.0
 New Comment:

Solved!
Not a 4.2.0 problem but a RedHat misconfiguration.

Makefile in imap package says:
  # lnp   Linux with Pluggable Authentication Modules (PAM)
  # lrh   RedHat Linux 7.2
you must choose lnp and not lrh on RedHat 7.2 with PAM

Files to copy to /usr/local/include:
c-client.h  
env.h       
ftl.h      
linkage.h  
nl.h    
osdep.h   
smtp.h
env_unix.h  
fs.h     
imap4r1.h  
mail.h     
misc.h    
nntp.h  
rfc822.h  
tcp.h


Previous Comments:
------------------------------------------------------------------------

[2002-05-03 05:18:13] [EMAIL PROTECTED]

Investigations:
* I've found the symbol MAILSTREAM in c-client (imap-2001a) in file
/usr/local/include/mail.h
* minimal configuration tested:
   ./configure --with-apxs=/home/apachessl/bin/apxs
or ./configure --with-apxs=/home/apachessl/bin/apxs
--with-imap=/usr/local

Same result.

------------------------------------------------------------------------

[2002-05-02 17:10:54] [EMAIL PROTECTED]

shell> make
Making all in Zend
make[1]: Entre dans le r�pertoire `/home/jpa/dev/php-4.2.0/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -DLINUX=22 -DMOD_SSL=208108
 -DUSE_HSREGEX -DEAPI -I../TSRM  -g -O2 -prefer-pic -c -o
zend_language_parser.lo `test -f zend_language_parse
r.c || echo './'`zend_language_parser.c
In file included from zend.h:55,
                 from zend_compile.h:24,
                 from zend_language_parser.c:147:
/usr/local/include/unix.h:182: parse error before `MAILSTREAM'
/usr/local/include/unix.h:182: warning: no semicolon at end of struct
or union
/usr/local/include/unix.h:189: parse error before `}'
...

shell> more config.nice
#! /bin/sh
#
# Created by configure

'./configure' \
'--with-apxs=/home/apachessl/bin/apxs' \
'--with-mysql' \
'--with-system-regex' \
'--enable-track-vars' \
'--enable-memory-limits' \
'--with-xml' \
'--with-imap' \
'--with-gd' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--with-bz2' \
'--with-zlib' \
'--with-mcrypt' \
'--enable-sockets' \
'--without-dom' \
'--enable-inline-optimization' \
'--with-curl' \
'--with-pcre' \
"$@"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16977&edit=1

Reply via email to