Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    8

    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??

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    what does config.log say?

    also, have you tried google http://www.google.com/search?q=confi...en-US:official

    3rd one down looks like it has a solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •