logo       

Bug #17458 Updated: Can't compile with IMAP support: msg#00898

Subject: Bug #17458 Updated: Can't compile with IMAP support
 ID:               17458
 Updated by:       sniper@xxxxxxx
 Reported By:      mgamble@xxxxxx
-Status:           Open
+Status:           Analyzed
-Bug Type:         Compile Failure
+Bug Type:         Documentation problem
 Operating System: BSDi 4.2/4.3
 PHP Version:      4.2.1
 New Comment:

If you have compiled c-client library yourself, point the 
PHP configure to that source directory.

e.g. --with-imap=/usr/src/imap-2001a/

c-client has some header files which are named same as some
unix header files are (unix.h for example). So documentation should be
fixed. (ie. you should always use the source path and not install the
library/header files anywhere)

--Jani



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

[2002-05-27 13:22:17] mgamble@xxxxxx

Can't compile PHP 4.2.1 (or 4.2.0) with IMAP support on BSDi 4.2 or
4.3

uage_parser.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/include/unix.h:182: syntax error before `MAILSTREAM'
/usr/include/unix.h:193: syntax error before `*'
/usr/include/unix.h:193: warning: data definition has no type or
storage class
/usr/include/unix.h:196: syntax error before `*'
/usr/include/unix.h:197: syntax error before `*'
/usr/include/unix.h:198: syntax error before `*'
/usr/include/unix.h:199: syntax error before `*'
/usr/include/unix.h:200: syntax error before `*'
/usr/include/unix.h:201: syntax error before `*'
/usr/include/unix.h:202: syntax error before `*'
/usr/include/unix.h:202: syntax error before `*'
/usr/include/unix.h:202: warning: data definition has no type or
storage class
/usr/include/unix.h:203: syntax error before `*'
/usr/include/unix.h:204: syntax error before `*'
/usr/include/unix.h:206: syntax error before `*'
/usr/include/unix.h:207: syntax error before `*'
/usr/include/unix.h:209: syntax error before `*'
/usr/include/unix.h:210: syntax error before `*'
/usr/include/unix.h:211: syntax error before `*'
/usr/include/unix.h:212: syntax error before `*'
/usr/include/unix.h:213: syntax error before `*'
/usr/include/unix.h:214: syntax error before `*'
/usr/include/unix.h:215: syntax error before `*'
/usr/include/unix.h:216: syntax error before `*'
/usr/include/unix.h:219: syntax error before `*'
/usr/include/unix.h:221: syntax error before `DOTLOCK'
/usr/include/unix.h:222: syntax error before `MAILSTREAM'
/usr/include/unix.h:223: syntax error before `*'
/usr/include/unix.h:224: syntax error before `*'
/usr/include/unix.h:225: syntax error before `*'
/usr/include/unix.h:226: syntax error before `*'
/usr/include/unix.h:228: syntax error before `*'
/usr/include/unix.h:229: syntax error before `*'

And I can't use gmake because I get:

Makefile:34: *** missing separator.  Stop.

PHP Configure line:

./configure --with-mysql --with-gettext --with-xml --with-ftp
--with-apxs --with-gd=/usr/local --with-imap=/usr



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


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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe