ID:               21977
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         InterBase related
 Operating System: Gentoo/Linux
 PHP Version:      4CVS-2003-01-31 (stable)
 New Comment:

I've added a test for it now in CVS.



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

[2003-01-31 04:50:56] [EMAIL PROTECTED]

but when i enable something, then configure should also check if it
exists.

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

[2003-01-31 04:47:42] [EMAIL PROTECTED]

If you don't have something, use '--without-interbase' for example.

--enable-all is not really useful, it's just a side-effect
of adding --disable-all, which IS useful.

This _IS_NOT_BUG_. Please stop submitting bug reports about
this already..


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

[2003-01-31 04:40:19] [EMAIL PROTECTED]

I don't have interbase on my machine.
./configure --with-interbase |grep -i interbase
checking for InterBase support... yes

from config.log:
configure:46431: gcc -o conftest -g -O2   -Wl,-rpath,/usr/interbase/lib
-L/usr/interbase/lib conftest.c -lgds -lcrypt -lresolv -lm -ldl -lnsl 
-lcrypt 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgds
collect2: ld returned 1 exit status
configure: failed program was:
#line 46420 "configure"
#include "confdefs.h"
#include <stdio.h>
int main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) return(1);
  fprintf(f, "%d\n", sizeof(char));
  return(0);
}
libgds is interbase library...
when running --with-enable-all
it brakes also ming support (config.log):

configure:43734: checking for Ming_useSWFVersion in -lming
configure:43753: gcc -o conftest -g -O2  
    -L/usr/lib
    -Wl,-rpath,/usr/interbase/lib -L/usr/interbase/lib
-Wl,-rpath,/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/server
-L/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/server
-Wl,-rpath,/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/native_threads
-L/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386/native_threads
-Wl,-rpath,/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386
-L/opt/blackdown-jdk-1.4.1_beta/jre/lib/i386 conftest.c -lming  -lm
-lmhash -ljava -lgds -lcrypt -lpam -lgmp -lpng -lz -lz -lbz2 -lz
-lcrypt -lresolv -lm -ldl -lnsl  -lcrypt -lxml2 -lz -lm 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lgds 
collect2: ld returned 1 exit status
configure: failed program was:                                         
        
#line 43742 "configure"
#include "confdefs.h"              
/* Override any gcc2 internal prototype to avoid an error.  */         
        /* We use char because int might match the return type of a
gcc2
    builtin and then its argument prototype would still apply.  */
char Ming_useSWFVersion();

int main() {
Ming_useSWFVersion()
; return 0; }


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


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

Reply via email to