Hi, I am installing latest apache http server in Linux64 bit system. I have done the below steps but gettting the error "checking whether the C compiler works... no" "configure: error: C compiler cannot create executables" even though there are gcc, gcc++ packages already installedin Linux.
steps are - 1. downloaded and extracted http-2.4.9.tar.gz and made /u03/backup/Apps_stage/apache/http-2.4.9.tar.gz/ folder 2. downloaded apr-1.5.0.tar.gz, apr-util-1.5.3.tar.gz and extracted them into /u03/backup/Apps_stage/apache/http-2.4.9.tar.gz/srclib/ 3. Inside srclib/ folder renamed the apr-*** and apr-util*** folders to apr/ and apr-util/ respectively 4. Ran and tried the below commands one at a time: ./configure --prefix=/u03/apache/ --with-included-apr --enable-so ./configure --prefix=/u03/apache/ --enable-so ./configure --prefix=/u03/apache/ 5.All above commnds gives the error - checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu configure: configure: Configuring Apache Portable Runtime library... configure: configuring package in srclib/apr now checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu Configuring APR library Platform: x86_64-unknown-linux-gnu checking for working mkdir -p... yes APR Version: 1.5.0 checking for chosen layout... apr checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/u03/backup/Apps_stage/apache/httpd-2.4.9/srclib/apr': configure: error: C compiler cannot create executables See `config.log' for more details configure failed for srclib/apr 6.I checked with eOS guy that there are gcc, gcc++ packages already installedin Linux. Can you suggest why it fails ? Regards Ayaskant The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com