[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: i did remove the LIBS and it did get past the error of cross compile and it did build the make file correctally Previous Comments: [2002-02-04 03:15:24] [EMAIL PROTECTED] configure:2311: result: a.out configure:2316: checking whether the C compiler works configure:2322: ./a.out ./a.out: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory configure:2325: $? = 127 configure:2332: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. if in the config.log file [2002-02-04 03:10:47] [EMAIL PROTECTED] Ok I ran buildconf and compile with the same string and got the following error [root@dcprac php4-200202032100]# LIBS=-lmcrypt -lltdl ./configure --with-curl --with-apache=../apache_1.3.23 --enable-wddx --enable-dbx --enable-track-vars --with-mcrypt --with-mhash --with-mysql --with-xml --with-OpenSSL=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-sockets checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. [2002-02-04 01:11:53] [EMAIL PROTECTED] Try ./buildconf in PHP source root. You need to have some tools mentioned in the web. http://www.php.net/anoncvs.php [2002-02-04 01:05:51] [EMAIL PROTECTED] how do i build this there is no ./configure command [2002-02-04 00:49:12] [EMAIL PROTECTED] I don't have problem with current CVS version with almost the same configure. Could you try snapshot? http://snaps.php.net/ 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/15339 -- Edit this bug report at http://bugs.php.net/?id=15339edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: Your build system seems fucked up quite a lot. Try reinstalling the gcc, bison, flex, autconf, automake and libtool RPMS from the RedHat cd. Previous Comments: [2002-02-04 03:17:59] [EMAIL PROTECTED] i did remove the LIBS and it did get past the error of cross compile and it did build the make file correctally [2002-02-04 03:15:24] [EMAIL PROTECTED] configure:2311: result: a.out configure:2316: checking whether the C compiler works configure:2322: ./a.out ./a.out: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory configure:2325: $? = 127 configure:2332: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. if in the config.log file [2002-02-04 03:10:47] [EMAIL PROTECTED] Ok I ran buildconf and compile with the same string and got the following error [root@dcprac php4-200202032100]# LIBS=-lmcrypt -lltdl ./configure --with-curl --with-apache=../apache_1.3.23 --enable-wddx --enable-dbx --enable-track-vars --with-mcrypt --with-mhash --with-mysql --with-xml --with-OpenSSL=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-sockets checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. [2002-02-04 01:11:53] [EMAIL PROTECTED] Try ./buildconf in PHP source root. You need to have some tools mentioned in the web. http://www.php.net/anoncvs.php [2002-02-04 01:05:51] [EMAIL PROTECTED] how do i build this there is no ./configure command 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/15339 -- Edit this bug report at http://bugs.php.net/?id=15339edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: It seems im probally just gonna dump the server right now and redo it the guy that built this box doesnt know alot about red hat and its RPMS related stuff Previous Comments: [2002-02-04 03:18:51] [EMAIL PROTECTED] Your build system seems fucked up quite a lot. Try reinstalling the gcc, bison, flex, autconf, automake and libtool RPMS from the RedHat cd. [2002-02-04 03:17:59] [EMAIL PROTECTED] i did remove the LIBS and it did get past the error of cross compile and it did build the make file correctally [2002-02-04 03:15:24] [EMAIL PROTECTED] configure:2311: result: a.out configure:2316: checking whether the C compiler works configure:2322: ./a.out ./a.out: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory configure:2325: $? = 127 configure:2332: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. if in the config.log file [2002-02-04 03:10:47] [EMAIL PROTECTED] Ok I ran buildconf and compile with the same string and got the following error [root@dcprac php4-200202032100]# LIBS=-lmcrypt -lltdl ./configure --with-curl --with-apache=../apache_1.3.23 --enable-wddx --enable-dbx --enable-track-vars --with-mcrypt --with-mhash --with-mysql --with-xml --with-OpenSSL=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-sockets checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. [2002-02-04 01:11:53] [EMAIL PROTECTED] Try ./buildconf in PHP source root. You need to have some tools mentioned in the web. http://www.php.net/anoncvs.php 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/15339 -- Edit this bug report at http://bugs.php.net/?id=15339edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: Problem solved in CVS version Previous Comments: [2002-02-04 03:20:06] [EMAIL PROTECTED] It seems im probally just gonna dump the server right now and redo it the guy that built this box doesnt know alot about red hat and its RPMS related stuff [2002-02-04 03:18:51] [EMAIL PROTECTED] Your build system seems fucked up quite a lot. Try reinstalling the gcc, bison, flex, autconf, automake and libtool RPMS from the RedHat cd. [2002-02-04 03:17:59] [EMAIL PROTECTED] i did remove the LIBS and it did get past the error of cross compile and it did build the make file correctally [2002-02-04 03:15:24] [EMAIL PROTECTED] configure:2311: result: a.out configure:2316: checking whether the C compiler works configure:2322: ./a.out ./a.out: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory configure:2325: $? = 127 configure:2332: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. if in the config.log file [2002-02-04 03:10:47] [EMAIL PROTECTED] Ok I ran buildconf and compile with the same string and got the following error [root@dcprac php4-200202032100]# LIBS=-lmcrypt -lltdl ./configure --with-curl --with-apache=../apache_1.3.23 --enable-wddx --enable-dbx --enable-track-vars --with-mcrypt --with-mhash --with-mysql --with-xml --with-OpenSSL=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-sockets checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. 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/15339 -- Edit this bug report at http://bugs.php.net/?id=15339edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: The version of gcc is gcc-2.96-85 Kernel version is [root@dcprac php-4.1.1]# uname --release 2.4.2-2smp Previous Comments: [2002-02-02 00:11:30] [EMAIL PROTECTED] [root@dcprac php-4.1.1]# LIBS=-lmcrypt -lltdl ./configure \ --with-curl \ --with-apache=../apache_1.3.23 \ --enable-wddx \ --enable-dbx \ --enable-track-vars \ --with-mcrypt \ --with-mysql \ --with-xml \ --with-OpenSSL=/usr \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-sockets loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... yes - Apache 1.3.x checking for mod_charset compatibility option... no checking whether gcc supports -rdynamic... yes checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for fhttpd module support... no checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket in -lsocket... no checking for htonl in -lsocket... no checking for yp_get_default_domain... no checking for gethostname in -lnsl... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton in -lresolv... yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/varargs.h... no checking for sys/wait.h... yes checking for unistd.h... yes checking for unix.h... no checking for utime.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: I don't have problem with current CVS version with almost the same configure. Could you try snapshot? http://snaps.php.net/ Previous Comments: [2002-02-03 23:54:57] [EMAIL PROTECTED] The version of gcc is gcc-2.96-85 Kernel version is [root@dcprac php-4.1.1]# uname --release 2.4.2-2smp [2002-02-02 00:11:30] [EMAIL PROTECTED] [root@dcprac php-4.1.1]# LIBS=-lmcrypt -lltdl ./configure \ --with-curl \ --with-apache=../apache_1.3.23 \ --enable-wddx \ --enable-dbx \ --enable-track-vars \ --with-mcrypt \ --with-mysql \ --with-xml \ --with-OpenSSL=/usr \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-sockets loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... yes - Apache 1.3.x checking for mod_charset compatibility option... no checking whether gcc supports -rdynamic... yes checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for fhttpd module support... no checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket in -lsocket... no checking for htonl in -lsocket... no checking for yp_get_default_domain... no checking for gethostname in -lnsl... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton in -lresolv... yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/time.h... yes checking for sys/types.h... yes
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: how do i build this there is no ./configure command Previous Comments: [2002-02-04 00:49:12] [EMAIL PROTECTED] I don't have problem with current CVS version with almost the same configure. Could you try snapshot? http://snaps.php.net/ [2002-02-03 23:54:57] [EMAIL PROTECTED] The version of gcc is gcc-2.96-85 Kernel version is [root@dcprac php-4.1.1]# uname --release 2.4.2-2smp [2002-02-02 00:11:30] [EMAIL PROTECTED] [root@dcprac php-4.1.1]# LIBS=-lmcrypt -lltdl ./configure \ --with-curl \ --with-apache=../apache_1.3.23 \ --enable-wddx \ --enable-dbx \ --enable-track-vars \ --with-mcrypt \ --with-mysql \ --with-xml \ --with-OpenSSL=/usr \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-sockets loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... yes - Apache 1.3.x checking for mod_charset compatibility option... no checking whether gcc supports -rdynamic... yes checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for fhttpd module support... no checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket in -lsocket... no checking for htonl in -lsocket... no checking for yp_get_default_domain... no checking for gethostname in -lnsl... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton in -lresolv... yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: Try ./buildconf in PHP source root. You need to have some tools mentioned in the web. http://www.php.net/anoncvs.php Previous Comments: [2002-02-04 01:05:51] [EMAIL PROTECTED] how do i build this there is no ./configure command [2002-02-04 00:49:12] [EMAIL PROTECTED] I don't have problem with current CVS version with almost the same configure. Could you try snapshot? http://snaps.php.net/ [2002-02-03 23:54:57] [EMAIL PROTECTED] The version of gcc is gcc-2.96-85 Kernel version is [root@dcprac php-4.1.1]# uname --release 2.4.2-2smp [2002-02-02 00:11:30] [EMAIL PROTECTED] [root@dcprac php-4.1.1]# LIBS=-lmcrypt -lltdl ./configure \ --with-curl \ --with-apache=../apache_1.3.23 \ --enable-wddx \ --enable-dbx \ --enable-track-vars \ --with-mcrypt \ --with-mysql \ --with-xml \ --with-OpenSSL=/usr \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-sockets loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... yes - Apache 1.3.x checking for mod_charset compatibility option... no checking whether gcc supports -rdynamic... yes checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for fhttpd module support... no checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes checking for sendmail... /usr/sbin/sendmail checking whether system uses EBCDIC... no checking for socket in -lsocket... no checking for htonl in -lsocket... no checking for yp_get_default_domain... no checking for gethostname in -lnsl... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton in -lresolv... yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: Ok I ran buildconf and compile with the same string and got the following error [root@dcprac php4-200202032100]# LIBS=-lmcrypt -lltdl ./configure --with-curl --with-apache=../apache_1.3.23 --enable-wddx --enable-dbx --enable-track-vars --with-mcrypt --with-mhash --with-mysql --with-xml --with-OpenSSL=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-sockets checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. Previous Comments: [2002-02-04 01:11:53] [EMAIL PROTECTED] Try ./buildconf in PHP source root. You need to have some tools mentioned in the web. http://www.php.net/anoncvs.php [2002-02-04 01:05:51] [EMAIL PROTECTED] how do i build this there is no ./configure command [2002-02-04 00:49:12] [EMAIL PROTECTED] I don't have problem with current CVS version with almost the same configure. Could you try snapshot? http://snaps.php.net/ [2002-02-03 23:54:57] [EMAIL PROTECTED] The version of gcc is gcc-2.96-85 Kernel version is [root@dcprac php-4.1.1]# uname --release 2.4.2-2smp [2002-02-02 00:11:30] [EMAIL PROTECTED] [root@dcprac php-4.1.1]# LIBS=-lmcrypt -lltdl ./configure \ --with-curl \ --with-apache=../apache_1.3.23 \ --enable-wddx \ --enable-dbx \ --enable-track-vars \ --with-mcrypt \ --with-mysql \ --with-xml \ --with-OpenSSL=/usr \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-sockets loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... gawk checking for bison... bison -y checking bison version... 1.28 (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for working const... yes checking for pthreads_cflags... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... no checking for Apache module support... yes - Apache 1.3.x checking for mod_charset compatibility option... no checking whether gcc supports -rdynamic... yes checking for Apache 2.0 module support via DSO through APXS... no checking for Caudium support... no checking for fhttpd module support... no checking for FastCGI support... no checking for Zeus ISAPI support... no checking for NSAPI support... no checking for PHTTPD support... no checking for Pi3Web Support... no checking for Roxen/Pike support... no checking for Servlet support... no checking for thttpd... no checking for TUX... no checking for chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes
[PHP-DEV] Bug #15339 Updated: can not run test program while cross compiling
ID: 15339 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: RedHat 7.1 PHP Version: 4.1.1 New Comment: configure:2311: result: a.out configure:2316: checking whether the C compiler works configure:2322: ./a.out ./a.out: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory configure:2325: $? = 127 configure:2332: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. if in the config.log file Previous Comments: [2002-02-04 03:10:47] [EMAIL PROTECTED] Ok I ran buildconf and compile with the same string and got the following error [root@dcprac php4-200202032100]# LIBS=-lmcrypt -lltdl ./configure --with-curl --with-apache=../apache_1.3.23 --enable-wddx --enable-dbx --enable-track-vars --with-mcrypt --with-mhash --with-mysql --with-xml --with-OpenSSL=/usr --enable-bcmath --enable-calendar --enable-ftp --enable-sockets checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking whether to enable maintainer-specific portions of Makefiles... no Updated php_version.h checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. [2002-02-04 01:11:53] [EMAIL PROTECTED] Try ./buildconf in PHP source root. You need to have some tools mentioned in the web. http://www.php.net/anoncvs.php [2002-02-04 01:05:51] [EMAIL PROTECTED] how do i build this there is no ./configure command [2002-02-04 00:49:12] [EMAIL PROTECTED] I don't have problem with current CVS version with almost the same configure. Could you try snapshot? http://snaps.php.net/ [2002-02-03 23:54:57] [EMAIL PROTECTED] The version of gcc is gcc-2.96-85 Kernel version is [root@dcprac php-4.1.1]# uname --release 2.4.2-2smp 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/15339 -- Edit this bug report at http://bugs.php.net/?id=15339edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php