installing apache
hi
I want install apache-2.2.3 and my distribution is centOS. when I wnat to configure thia problem appear: ---------------------- [root@linux httpd-2.2.3]# ./configure --prefix=/usr/local/apache2 --enable-rewrite=shared --enable-speling=shared --enable-modules=all --with-apr=/usr/local/apr-httpd/ --with-apr-util=/usr/local/apr-util-httpd/ checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... yes setting CC to "gcc" setting CPP to "gcc -E" setting CFLAGS to " -g -O2 -pthread" setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" setting LDFLAGS to " " Configuring Apache Portable Runtime Utility library... checking for APR-util... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. ------------ whats the problem?? |
why try so hard if yum is preconfigured within centos.
So yum install http* it will do all the work for you. Give it a try. |
Quote:
dude just apt-get install build-essential and everything will be okay, let me know when its done.. =) |
In case that your using redhat based system ...
use YUM. which is nearly the same to apt-get but it's already included. |
Quote:
|
All times are GMT -5. The time now is 03:48 AM. |