#21977 [Com]: ./configure --with-interbase (or with --with-enable-all) broken

From: Date: Fri, 31 Jan 2003 10:50:56 +0000
Subject: #21977 [Com]: ./configure --with-interbase (or with --with-enable-all) broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31749@lists.php.net to get a copy of this message
ID: 21977 Comment by: amd@tt.ee Reported By: amd@tt.ee Status: Bogus Bug Type: InterBase related Operating System: Gentoo/Linux PHP Version: 4CVS-2003-01-31 (stable) New Comment: but when i enable something, then configure should also check if it exists. Previous Comments: ------------------------------------------------------------------------ [2003-01-31 04:47:42] sniper@php.net 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] amd@tt.ee 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

« previous php.bugs (#31749) next »