#22968 [NEW]: error with libmcal 0.7 & libmcal drivers 0.9
From: magz at bop dot nu Operating system: Redhat 7.3 PHP version: 4CVS-2003-03-30 (stable) PHP Bug Type: MCAL related Bug description: error with libmcal 0.7 & libmcal drivers 0.9 I have just downloaded the latest libmcal v0.7 and libmcal drivers v0.9 and was trying to install them with php. No errors occured until I was going to ./configure apache. Using php4-STABLE-200303301630. Preparing libmcal tar zxfv mcaldrivers-0.9.tar.gz tar zxfv libmcal-0.7.tar.gz cd mcal-drivers mv * ../libmcal cd ../libmcal/mstore make cd ../icap make cd .. chmod a+x configure ./configure --with-mstore --with-icap make mkdir /var/calendar chmod 1777 /var/calendar (Without any errors) compiling php-latest-stable ./configure \ --with-apache=../apache_1.3.27 \ --with-config-file-path=/etc \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-track-vars \ --with-xml \ --with-dom \ --with-xmlrpc \ --with-mysql=/usr/local/mysql \ --enable-sockets \ --with-ldap \ --with-imap=/usr/local/imap-2002b \ --with-imap-ssl=/usr/local \ --with-mm \ --enable-memory-limit \ --enable-bcmath \ --enable-sigchild \ --with-zlib=/usr \ --with-curl=/usr/local \ --with-dom=/usr/include/libxml2/libxml \ --enable-exif \ --enable-ftp \ --with-gettext=/usr/share \ --with-gd \ --with-ttf \ --with-freetype-dir=/usr/local/include/freetype2/freetype \ --enable-gd-imgstrttf \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-tiff-lib=/usr \ --with-openssl=/usr/local/ssl \ --with-mcrypt \ --with-mhash \ --with-pspell \ --with-imagick \ --enable-mime-magic make make install (Without any errors) compiling apache SSL_BASE=/usr/local/ssl ./configure \ > --enable-module=ssl \ > --activate-module=src/modules/php4/libphp4.a \ > --activate-module=src/modules/extra/mod_geoip.c \ > --enable-rule=eapi \ > --enable-module=define \ > --enable-module=headers \ > --enable-module=info \ > --enable-module=rewrite \ > --enable-module=unique_id \ > --enable-module=digest \ > --enable-module=expires \ > --enable-module=so \ > --enable-module=usertrack Configuring for Apache, Version 1.3.27 + using installation path layout: Apache (config.layout) + activated php4 module (modules/php4/libphp4.a) + activated geoip module (modules/extra/mod_geoip.c) Creating Makefile Creating Configuration.apaci in src Creating Makefile in src + configured for Linux platform + setting C compiler to gcc + setting C pre-processor to gcc -E + checking for system header files + adding selected modules o rewrite_module uses ConfigStart/End + using -lndbm for DBM support enabling DBM support for mod_rewrite o ssl_module uses ConfigStart/End + SSL interface: mod_ssl/2.8.14 + SSL interface build type: OBJ + SSL interface compatibility: enabled + SSL interface experimental code: disabled + SSL interface conservative code: disabled + SSL interface vendor extensions: disabled + SSL interface plugin: Built-in SDBM + SSL library path: /usr/local/ssl + SSL library version: OpenSSL 0.9.7a Feb 19 2003 + SSL library type: installed package (stand-alone) o php4_module uses ConfigStart/End o geoip_module uses ConfigStart/End + using -L/usr/local/lib -lGeoIP for GeoIP support + enabling Extended API (EAPI) + using system Expat + using -ldl for vendor DSO support + checking sizeof various data types + doing sanity check on compiler and options ** A test compilation with your Makefile configuration ** failed. The below error output from the compilation ** test will give you an idea what is failing. Note that ** Apache requires an ANSI C Compiler, such as gcc. Error Output for sanity check cd ..; gcc -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208114 -DEAPI `./apaci` -L/usr/local/ssl/lib -o helpers/dummy helpers/dummy.c -Wl,-rpath,/usr/local/ssl/lib -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/imap-2002b/lib -Wl,-rpath,/usr/src/apache/libmcal -Wl,-rpath,/usr/local/mysql/lib -rdynamic -L/usr/local/ssl/lib -L/usr/local/lib -L/usr/local/imap-2002b/lib -L/usr/src/apache/libmcal -L/usr/local/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4-rdynamic -L/usr/local/ssl/lib -L/usr/local/lib -L/usr/local/imap-2002b/lib -L/usr/src/apache/libmcal -L/usr/local/mysql/lib -lcrypt -lmcal -lc-client -lssl -lcrypto -lexpat -lcrypt -lmm -lpspell -lmysqlclient -lmhash -lmcrypt -lltdl -lldap -llber -lcrypt -lpam -lfreetype -lpng -lz -ljpeg -lz -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcurl -lz -lssl -lcrypto -ldl -lz -lxml2 -lz -lm -lcrypt -lcrypt -lm -lcrypt -lndbm -lssl -lcrypto -L/usr/local/lib -lGeoIP -lexpat -ldl /usr/src/apache/libmcal/libmcal.so: undefined reference to `cc_login' /usr/src/apache/libmcal/libmcal.so: undefined reference to `cc_searched' /usr/src/apache/libmcal/libmcal.so: undefined reference to `cc_vlog' /usr/src/a
#22912 [Bgs]: --enable-mime-magic won't activate mime_magic
ID: 22912 User updated by: magz at bop dot nu Reported By: magz at bop dot nu Status: Bogus Bug Type: Compile Failure Operating System: Redhat 7.3 PHP Version: 4.3.2RC1 New Comment: Perhaps the online manual (http://www.php.net/manual/en/ref.mime-magic.php) should be updated with this information as well before 4.3.2 is being released. Previous Comments: [2003-03-27 09:26:23] [EMAIL PROTECTED] And like Moriyoshi already pointed out, the extension only works with the simplified magic file that comes with Apache. [2003-03-27 09:25:39] [EMAIL PROTECTED] Doing ./configure --help would have helped: --with-mime-magic[=FILE] Include mime_magic support. FILE is the optional pathname to the magic.mime file. (it's not --enable anymore) [2003-03-27 08:45:02] magz at bop dot nu I got the same result with php4-STABLE-200303271430. [EMAIL PROTECTED] php4-STABLE-200303271430]# slocate magic.mime /usr/share/magic.mime [EMAIL PROTECTED] misc]# slocate magic.mime /usr/share/misc/magic.mime /usr/share/magic.mime /usr/share/magic.mime.mgc (darkwing=Redhat7.2, x220=Redhat7.3) Doesn't 4.3.1 and 4.3.2 look for the same magic.mime file? Should I specify another magic-file, and if so, how? (I suppose ./configure doesn't look in /etc/php.ini?) [2003-03-27 07:54:39] [EMAIL PROTECTED] Since mime magic extension is originally derived from mod_mime_magic of Apache httpd project, it can only accept simplified magic files that come with Apache distribution. [2003-03-27 07:49:35] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works just fine here... do you have any of the following files on your system: /usr/share/magic.mime /usr/share/misc/magic.mime /etc/magic.mime? The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22912 -- Edit this bug report at http://bugs.php.net/?id=22912&edit=1
#22912 [Fbk->Opn]: --enable-mime-magic won't activate mime_magic
ID: 22912 User updated by: magz at bop dot nu Reported By: magz at bop dot nu -Status: Feedback +Status: Open Bug Type: *Compile Issues Operating System: Redhat 7.3 PHP Version: 4.3.2RC1 New Comment: I got the same result with php4-STABLE-200303271430. [EMAIL PROTECTED] php4-STABLE-200303271430]# slocate magic.mime /usr/share/magic.mime [EMAIL PROTECTED] misc]# slocate magic.mime /usr/share/misc/magic.mime /usr/share/magic.mime /usr/share/magic.mime.mgc (darkwing=Redhat7.2, x220=Redhat7.3) Doesn't 4.3.1 and 4.3.2 look for the same magic.mime file? Should I specify another magic-file, and if so, how? (I suppose ./configure doesn't look in /etc/php.ini?) Previous Comments: [2003-03-27 07:54:39] [EMAIL PROTECTED] Since mime magic extension is originally derived from mod_mime_magic of Apache httpd project, it can only accept simplified magic files that come with Apache distribution. [2003-03-27 07:49:35] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works just fine here... do you have any of the following files on your system: /usr/share/magic.mime /usr/share/misc/magic.mime /etc/magic.mime? [2003-03-26 17:14:28] magz at bop dot nu It seems like I cannot get mime_magic to build with 4.3.2RC1. It does work fine with 4.3.1. I have tried on 3 different machines running Redhat 7.2/7.3 with the same result: [EMAIL PROTECTED] php-4.3.2RC1]# ./configure --enable-mime-magic .. checking whether to include mime_magic support... no .. [EMAIL PROTECTED] php-4.3.1]# ./configure --enable-mime-magic .. checking whether to include mime_magic support... yes .. -- Edit this bug report at http://bugs.php.net/?id=22912&edit=1
#22912 [NEW]: --enable-mime-magic won't activate mime_magic
From: magz at bop dot nu Operating system: Redhat 7.3 PHP version: 4.3.2RC1 PHP Bug Type: *Compile Issues Bug description: --enable-mime-magic won't activate mime_magic It seems like I cannot get mime_magic to build with 4.3.2RC1. It does work fine with 4.3.1. I have tried on 3 different machines running Redhat 7.2/7.3 with the same result: [EMAIL PROTECTED] php-4.3.2RC1]# ./configure --enable-mime-magic .. checking whether to include mime_magic support... no .. [EMAIL PROTECTED] php-4.3.1]# ./configure --enable-mime-magic .. checking whether to include mime_magic support... yes .. -- Edit bug report at http://bugs.php.net/?id=22912&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22912&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22912&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22912&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22912&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22912&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22912&r=support Expected behavior: http://bugs.php.net/fix.php?id=22912&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22912&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22912&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22912&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22912&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22912&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22912&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22912&r=gnused
#22885 [Fbk->Csd]: Fatal errror - pdflib 4.0.3
ID: 22885 User updated by: magz at bop dot nu Reported By: magz at bop dot nu -Status: Feedback +Status: Closed Bug Type: PDF related Operating System: Redhat 7.3 / gcc 2.95.3 PHP Version: 4.3.2RC1 New Comment: Ah, yes, that must have been it. Now it's working perfectly fine. Sorry for bothering. Previous Comments: [2003-03-26 09:28:48] [EMAIL PROTECTED] Sound like you have 2 pdf libraries installed and PHP used both are used during compilation. I have RC1 + pdflib working just fine for the longest time... [2003-03-26 05:06:38] magz at bop dot nu sorry, it is pdflib 4.0.3 of course, not 3.0.4. [2003-03-25 18:42:49] magz at bop dot nu I've compiled pdflib 3.0.4 as follows; ./configure --without-py --without-tcl --without-perl make make install ..and then php4.3.2rc1; ./configure \ --with-apache=../apache_1.3.27 \ --with-config-file-path=/etc \ --enable-inline-optimization \ --enable-mime-magic \ --enable-magic-quotes \ --enable-track-vars \ --with-xml \ --with-dom \ --with-xmlrpc \ --with-mysql=/usr/local/mysql \ --enable-sockets \ --with-ldap \ --with-imap=/usr/local/imap-2002b \ --with-imap-ssl=/usr/local \ --with-mm \ --enable-memory-limit \ --enable-bcmath \ --enable-sigchild \ --with-zlib=/usr \ --with-curl=/usr/local \ --with-dom=/usr/include/libxml2/libxml \ --enable-exif \ --enable-ftp \ --with-gettext=/usr/share \ --with-gd \ --with-ttf \ --with-freetype-dir=/usr/local/include/freetype2/freetype \ --enable-gd-imgstrttf \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-tiff-lib=/usr \ --with-mcal=../libmcal \ --with-openssl=/usr/local/ssl \ --with-mcrypt \ --with-mhash \ --with-pspell \ --with-imagick \ --with-pdflib=/usr/local make make install "make install" returns the following: Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ HTTP/1.0 0 X Content-type: text/html PHP Fatal error: PDFlib error: Version mismatch in wrapper code in Unknown on line 0 [PEAR] Archive_Tar- already installed: 0.9 [PEAR] Console_Getopt - already installed: 1.0 [PEAR] PEAR - already installed: 1.0.1 HTTP/1.0 0 X Content-type: text/html PHP Fatal error: PDFlib error: Version mismatch in wrapper code in Unknown on line 0 [PEAR] DB - already installed: 1.3 [PEAR] HTTP - already installed: 1.2 [PEAR] Mail - already installed: 1.0.1 [PEAR] Net_SMTP - already installed: 1.0 [PEAR] Net_Socket - already installed: 1.0.1 [PEAR] XML_Parser - already installed: 1.0.1 [PEAR] XML_RPC- already installed: 1.0.4 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist I have tried using both the existing php-4.3.2RC1/ext/pdf/ files and copying the files from pdflib-4.0.3/bind/php/ext/pdf/* to php-4.3.2RC1/ext/pdf/ with the same result. -- Edit this bug report at http://bugs.php.net/?id=22885&edit=1
#22885 [Opn]: Fatal errror - pdflib 4.0.3
ID: 22885 User updated by: magz at bop dot nu Reported By: magz at bop dot nu Status: Open Bug Type: PDF related Operating System: Redhat 7.3 / gcc 2.95.3 PHP Version: 4.3.2RC1 New Comment: sorry, it is pdflib 4.0.3 of course, not 3.0.4. Previous Comments: [2003-03-25 18:42:49] magz at bop dot nu I've compiled pdflib 3.0.4 as follows; ./configure --without-py --without-tcl --without-perl make make install ..and then php4.3.2rc1; ./configure \ --with-apache=../apache_1.3.27 \ --with-config-file-path=/etc \ --enable-inline-optimization \ --enable-mime-magic \ --enable-magic-quotes \ --enable-track-vars \ --with-xml \ --with-dom \ --with-xmlrpc \ --with-mysql=/usr/local/mysql \ --enable-sockets \ --with-ldap \ --with-imap=/usr/local/imap-2002b \ --with-imap-ssl=/usr/local \ --with-mm \ --enable-memory-limit \ --enable-bcmath \ --enable-sigchild \ --with-zlib=/usr \ --with-curl=/usr/local \ --with-dom=/usr/include/libxml2/libxml \ --enable-exif \ --enable-ftp \ --with-gettext=/usr/share \ --with-gd \ --with-ttf \ --with-freetype-dir=/usr/local/include/freetype2/freetype \ --enable-gd-imgstrttf \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-tiff-lib=/usr \ --with-mcal=../libmcal \ --with-openssl=/usr/local/ssl \ --with-mcrypt \ --with-mhash \ --with-pspell \ --with-imagick \ --with-pdflib=/usr/local make make install "make install" returns the following: Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ HTTP/1.0 0 X Content-type: text/html PHP Fatal error: PDFlib error: Version mismatch in wrapper code in Unknown on line 0 [PEAR] Archive_Tar- already installed: 0.9 [PEAR] Console_Getopt - already installed: 1.0 [PEAR] PEAR - already installed: 1.0.1 HTTP/1.0 0 X Content-type: text/html PHP Fatal error: PDFlib error: Version mismatch in wrapper code in Unknown on line 0 [PEAR] DB - already installed: 1.3 [PEAR] HTTP - already installed: 1.2 [PEAR] Mail - already installed: 1.0.1 [PEAR] Net_SMTP - already installed: 1.0 [PEAR] Net_Socket - already installed: 1.0.1 [PEAR] XML_Parser - already installed: 1.0.1 [PEAR] XML_RPC- already installed: 1.0.4 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist I have tried using both the existing php-4.3.2RC1/ext/pdf/ files and copying the files from pdflib-4.0.3/bind/php/ext/pdf/* to php-4.3.2RC1/ext/pdf/ with the same result. -- Edit this bug report at http://bugs.php.net/?id=22885&edit=1
#22885 [NEW]: Fatal errror - pdflib 4.0.3
From: magz at bop dot nu Operating system: Redhat 7.3 / gcc 2.95.3 PHP version: 4.3.2RC1 PHP Bug Type: PDF related Bug description: Fatal errror - pdflib 4.0.3 I've compiled pdflib 3.0.4 as follows; ./configure --without-py --without-tcl --without-perl make make install ..and then php4.3.2rc1; ./configure \ --with-apache=../apache_1.3.27 \ --with-config-file-path=/etc \ --enable-inline-optimization \ --enable-mime-magic \ --enable-magic-quotes \ --enable-track-vars \ --with-xml \ --with-dom \ --with-xmlrpc \ --with-mysql=/usr/local/mysql \ --enable-sockets \ --with-ldap \ --with-imap=/usr/local/imap-2002b \ --with-imap-ssl=/usr/local \ --with-mm \ --enable-memory-limit \ --enable-bcmath \ --enable-sigchild \ --with-zlib=/usr \ --with-curl=/usr/local \ --with-dom=/usr/include/libxml2/libxml \ --enable-exif \ --enable-ftp \ --with-gettext=/usr/share \ --with-gd \ --with-ttf \ --with-freetype-dir=/usr/local/include/freetype2/freetype \ --enable-gd-imgstrttf \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-tiff-lib=/usr \ --with-mcal=../libmcal \ --with-openssl=/usr/local/ssl \ --with-mcrypt \ --with-mhash \ --with-pspell \ --with-imagick \ --with-pdflib=/usr/local make make install "make install" returns the following: Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ HTTP/1.0 0 X Content-type: text/html PHP Fatal error: PDFlib error: Version mismatch in wrapper code in Unknown on line 0 [PEAR] Archive_Tar- already installed: 0.9 [PEAR] Console_Getopt - already installed: 1.0 [PEAR] PEAR - already installed: 1.0.1 HTTP/1.0 0 X Content-type: text/html PHP Fatal error: PDFlib error: Version mismatch in wrapper code in Unknown on line 0 [PEAR] DB - already installed: 1.3 [PEAR] HTTP - already installed: 1.2 [PEAR] Mail - already installed: 1.0.1 [PEAR] Net_SMTP - already installed: 1.0 [PEAR] Net_Socket - already installed: 1.0.1 [PEAR] XML_Parser - already installed: 1.0.1 [PEAR] XML_RPC- already installed: 1.0.4 Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config program: phpextdist I have tried using both the existing php-4.3.2RC1/ext/pdf/ files and copying the files from pdflib-4.0.3/bind/php/ext/pdf/* to php-4.3.2RC1/ext/pdf/ with the same result. -- Edit bug report at http://bugs.php.net/?id=22885&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22885&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22885&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22885&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22885&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22885&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=22885&r=support Expected behavior: http://bugs.php.net/fix.php?id=22885&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=22885&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=22885&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22885&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22885&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22885&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22885&r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=22885&r=gnused
#21017 [Bgs->Opn]: Can't compile with IMAP-2002
ID: 21017 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Open Bug Type: IMAP related Operating System: RedHat 7.3 PHP Version: 4.3.0RC3 New Comment: Clarification: The PHP4.3.0RC3 "make" command stops after /usr/local/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/apache/imap-2002a/c-client/osdep.c:267: the use of `tmpnam' is dangerous, better use `mkstemp' and I'm not able to continue the Apache-compilation. Previous Comments: [2002-12-14 15:30:48] [EMAIL PROTECTED] It's a *warning*, and a problem in c-client anyway. Not a PHP problem -> bogus. [2002-12-14 15:29:35] [EMAIL PROTECTED] When compiling (make) PHP 4.3.0RC3 as a static module for Apache 1.13.26/27 I get the following error; /usr/local/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/apache/imap-2002a/c-client/osdep.c:267: the use of `tmpnam' is dangerous, better use `mkstemp' I've tried using both IMAP-2002RC10 and IMAP-2002a with Apache 1.13.26 and Apache 1.13.27, on three different systems (1*RH7.2, 2*RH7.3). I can compile PHP 4.2.3 on all my systems with the exact same parameters without any problems. PHP configure command: ./configure \ --with-apache=../apache_1.3.27 \ --with-config-file-path=/etc \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-track-vars \ --with-xml --with-dom --with-xmlrpc \ --with-mysql=/usr/local/mysql \ --enable-sockets \ --with-ldap \ --with-imap=/usr/local --with-imap-ssl=/usr/local \ --with-mm \ --enable-memory-limit \ --enable-bcmath \ --enable-sigchild \ --with-zlib=/usr \ --with-curl=/usr/local \ --with-dom=/usr/include/libxml2/libxml \ --enable-exif \ --enable-ftp \ --with-gettext=/usr/share \ --with-gd \ --with-ttf \ --with-freetype-dir=/usr/local/include/freetype2/freetype \ --enable-gd-imgstrttf \ --enable-gd-native-ttf \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-tiff-lib=/usr \ --with-mcal=../libmcal \ --with-openssl \ --with-mcrypt --with-mhash \ --with-pspell \ --with-pdflib -- Edit this bug report at http://bugs.php.net/?id=21017&edit=1
#21017 [NEW]: Can't compile with IMAP-2002
From: [EMAIL PROTECTED] Operating system: RedHat 7.3 PHP version: 4.3.0RC3 PHP Bug Type: IMAP related Bug description: Can't compile with IMAP-2002 When compiling (make) PHP 4.3.0RC3 as a static module for Apache 1.13.26/27 I get the following error; /usr/local/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/apache/imap-2002a/c-client/osdep.c:267: the use of `tmpnam' is dangerous, better use `mkstemp' I've tried using both IMAP-2002RC10 and IMAP-2002a with Apache 1.13.26 and Apache 1.13.27, on three different systems (1*RH7.2, 2*RH7.3). I can compile PHP 4.2.3 on all my systems with the exact same parameters without any problems. PHP configure command: ./configure \ --with-apache=../apache_1.3.27 \ --with-config-file-path=/etc \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-track-vars \ --with-xml --with-dom --with-xmlrpc \ --with-mysql=/usr/local/mysql \ --enable-sockets \ --with-ldap \ --with-imap=/usr/local --with-imap-ssl=/usr/local \ --with-mm \ --enable-memory-limit \ --enable-bcmath \ --enable-sigchild \ --with-zlib=/usr \ --with-curl=/usr/local \ --with-dom=/usr/include/libxml2/libxml \ --enable-exif \ --enable-ftp \ --with-gettext=/usr/share \ --with-gd \ --with-ttf \ --with-freetype-dir=/usr/local/include/freetype2/freetype \ --enable-gd-imgstrttf \ --enable-gd-native-ttf \ --with-png-dir=/usr \ --with-jpeg-dir=/usr \ --with-tiff-lib=/usr \ --with-mcal=../libmcal \ --with-openssl \ --with-mcrypt --with-mhash \ --with-pspell \ --with-pdflib -- Edit bug report at http://bugs.php.net/?id=21017&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21017&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21017&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21017&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21017&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21017&r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=21017&r=support Expected behavior: http://bugs.php.net/fix.php?id=21017&r=notwrong Not enough info:http://bugs.php.net/fix.php?id=21017&r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=21017&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21017&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21017&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21017&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21017&r=isapi