Failed to install PHP 4.4.2 on x86-64 Linux platform
| From: | RegWai | Date: | Thu, 25 May 2006 03:59:27 +0000 |
| Subject: | Failed to install PHP 4.4.2 on x86-64 Linux platform | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17556@lists.php.net to get a copy of this message | ||
After I executed "./configure", following message appeared at last.
loading cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... x86_64-unknown-linux-gnu
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 whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
.....
checking for fopencookie... yes
configure: error: can not run test program while cross compiling
Please help ~~~ !!!!
Thanks a lot.
ps. php5 does not have this problem.