Ok, after installing gcc and pcre-devel packages I was able configure apr
properly

Thanks,
Roman.

From: Shuvalov Roman [mailto:rshuva...@hotmail.com] 
Sent: Friday, April 20, 2012 1:33 PM
To: users@httpd.apache.org
Subject: [users@httpd] Apache 2.4.2: installed -deps tarball, but still get
"configure failed for srclib/apr"

Hi,

I am installing Apache 2.4.2 on CentOS 6.2 (x64, minimal). I also installed
-deps tarball as FAQ advised, but still getting error "configure failed for
srclib/apr". Here is my script:


[root@master ~/apache24]:>ll
total 8.8M
drwxr-xr-x. 2 root root 4.0K Apr 20 13:04 ./
dr-xr-x---. 6 root root 4.0K Apr 19 15:08 ../
-rw-r--r--. 1 root root 960K Apr  1 04:44 apr-1.4.6.tar.gz
-rw-r--r--. 1 root root 757K Apr  1 04:43 apr-util-1.4.1.tar.gz
-rw-r--r--. 1 root root 1.7M Apr 15 16:33 httpd-2.4.2-deps.tar.gz
-rw-r--r--. 1 root root 5.4M Apr 15 16:33 httpd-2.4.2.tar.gz

[root@master ~/apache24]:>tar xzf httpd-2.4.2.tar.gz
[root@master ~/apache24]:>tar xzf apr-1.4.6.tar.gz
[root@master ~/apache24]:>tar xzf apr-util-1.4.1.tar.gz
[root@master ~/apache24]:>mv apr-1.4.6 httpd-2.4.2/srclib/apr
[root@master ~/apache24]:>mv apr-util-1.4.1 httpd-2.4.2/srclib/apr-util
[root@master ~/apache24]:>tar xzf httpd-2.4.2-deps.tar.gz
[root@master ~/apache24]:>cd httpd-2.4.2
[root@master ~/apache24/httpd-2.4.2]:>./configure  --with-included-apr -q

Configuring Apache Portable Runtime library ...

configuring package in srclib/apr now
Configuring APR library
Platform: x86_64-unknown-linux-gnu
APR Version: 1.4.6
configure: error: in `/root/apache24/httpd-2.4.2/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr
[root@master ~/apache24/httpd-2.4.2]:>

(I will install gcc a bit later. It isn't causing this problem, is it?)

Thank you,
Roman.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to