Re: Problems with 4.1.0 RC 3

From: Date: Fri, 23 Nov 2001 07:44:30 +0000
Subject: Re: Problems with 4.1.0 RC 3
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-4020@lists.php.net to get a copy of this message
Jani,
First of all: Does the HEAD work? (latest CVS)
Yes, using latest nightly snapshot: php4-200111222100 from http://snaps.php.net/ Same error as previously mentioned when trying to configure IMAP plus other libs. It works though if I only specify --with-imap=/foo/imaplib without any other libs. From config.log [...] configure:26389: checking for IMAP support configure:26427: result: yes configure:26670: checking for pam_start in -lpam configure:26697: gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib -R/u/guest/www/etc/emeri/i386-NetBSD/lib -L/u/guest/www/etc/emeri/i386-NetBSD/lib co nftest.c -lpam -lgd -lpng -lz -lz -lcrypt -lresolv -lm -lresolv -lcrypt >&5 /usr/bin/ld: cannot open -lpam: No such file or directory collect2: ld returned 1 exit status configure:26700: $? = 1 configure: failed program was: #line 26678 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pam_start (); int main () { pam_start (); ; return 0; } configure:26717: result: no configure:26728: checking for crypt in -lcrypt configure:26775: result: yes configure:27230: gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib -R/u /guest/www/etc/emeri/i386-NetBSD/lib -L/u/guest/www/etc/emeri/i386-NetBSD/lib -R /u/guest/www/etc/emeri/i386-NetBSD/lib/lib -L/u/guest/www/etc/emeri/i386-NetBSD/ lib/lib conftest.c -lcrypt -lgd -lpng -lz -lz -lcrypt -lresolv -lm -lresolv -lc rypt -L/u/guest/www/etc/emeri/i386-NetBSD/lib/lib -lc-client >&5 configure:27233: $? = 0 configure:27235: ./conftest Shared object "libpng.so.1" not found configure:27238: $? = 1 configure: program exited with status 1 configure: failed program was: #line 27204 "configure" #include "confdefs.h"
      void mm_log(void){}
      void mm_dlog(void){}
      void mm_flags(void){}
      void mm_fatal(void){}
      void mm_nocritical(void){}
      void mm_notify(void){}
      void mm_login(void){}
      void mm_diskerror(void){}
      void mm_status(void){}
      void mm_lsub(void){}
      void mm_list(void){}
      void mm_exists(void){}
      void mm_searched(void){}
      void mm_expunged(void){}
      char mail_open();
      int main() {
        mail_open(0,"",0);
        return 0;
      }
configure:27246: error: This c-client library is build with SSL support.
      Add --with-imap-ssl<=DIR> to your configure line. Check config.log for details.
[...]
On Thu, 22 Nov 2001, Olivier Cahagne wrote:
Jani,
Obviously his c-client installation is buggy. If he has latest imap-2001 package, he also should have imap4r1.h there.
I copied manually imap4r1.h, I still get the same problem. Only 1 point to prove there's at least a regression from 4.0.6: this setup does work with PHP 4.0.6. Plus, it does work (4.1.0RC3) when specifying some lib dirs bit not others (see below, original mail), so, it passes test somehow. I've been seeing this since 4.0.7RC1, reported it here twice.


« previous php.qa (#4020) next »