php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6441 Compiler error using the compiler-options --with-imap AND --with-cpdflib
Submitted: 2000-08-30 10:26 UTC Modified: 2001-05-11 21:50 UTC
From: michel at mathis dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: SuSE Linux 6.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michel at mathis dot net
New email:
PHP Version: OS:

 

 [2000-08-30 10:26 UTC] michel at mathis dot net
I tried do compile php with the '--with-imap' and with the '--with-cpdflib' options. If I only activated the '--with-imap' option or only the '--with-cpdflib' option it worked. But if I activated both together I received a strange error message in the compile-step:

---compiler-messages:
make[2]: Entering directory `/usr/installed-software/php-4.0.1pl2/main'
/bin/sh /usr/installed-software/php-4.0.1pl2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/installed-software/php-4.0.1pl2/main -I/usr/installed-software/php-4.0.1pl2 -I/usr/installed-software/php-4.0.1pl2/main -I/usr/local/apache/include -I/usr/installed-software/php-4.0.1pl2/Zend -I/usr/installed-software/php-4.0.1pl2 -I/usr/include/freetype -I/usr/include/gd -I/usr/include/imap -I/usr/installed-software/php-4.0.1pl2/ext/mysql/libmysql -I/usr/installed-software/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/installed-software/php-4.0.1pl2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c main.c
/bin/sh /usr/installed-software/php-4.0.1pl2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/installed-software/php-4.0.1pl2/main -I/usr/installed-software/php-4.0.1pl2 -I/usr/installed-software/php-4.0.1pl2/main -I/usr/local/apache/include -I/usr/installed-software/php-4.0.1pl2/Zend -I/usr/installed-software/php-4.0.1pl2 -I/usr/include/freetype -I/usr/include/gd -I/usr/include/imap -I/usr/installed-software/php-4.0.1pl2/ext/mysql/libmysql -I/usr/installed-software/php-4.0.1pl2/ext/xml/expat/xmltok -I/usr/installed-software/php-4.0.1pl2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c internal_functions.c
In file included from /usr/installed-software/php-4.0.1pl2/ext/cpdf/php_cpdf.h:36,
                 from internal_functions.c:42:
/usr/local/include/cpdflib.h:801: parse error before `1'
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/usr/installed-software/php-4.0.1pl2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/installed-software/php-4.0.1pl2/main'
make: *** [all-recursive] Error 1
---end compiler-messages:

I used cpdflib Version 2.02-r1-1 (newest).
There must be something incompatible in the source-files! Maybe it's an error in cpdflib, imap or php, I don't know.

I also tried the '--with-imap' and '--with-pdflib' (not --with-cpdflib) options. With these options it worked normally.

thank you for your work, php is a great tool!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-15 19:42 UTC] sniper@php.net
Duplicate of #5906
 [2001-05-11 21:50 UTC] sniper@php.net
Fixed in CVS.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 23:01:28 2025 UTC