Apache Configure Error In Srclib Apr
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about configure error bundled apr requested but not found at srclib Stack Overflow the company Business Learn more about hiring developers or posting ads with configure failed for srclib apr us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is
Configure Failed For Srclib Apr Util
a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Apache httpd setup and installation up vote 66 down vote favorite 16 This is
Configure Error Apr Not Found Please Read The Documentation
my first time I am trying to install Apache HTTP server locally in my box as a regular user (non-root). I have downloaded Apache 2.4.1 version of Apache HTTP server [http://httpd.apache.org/download.cgi]. However when I am trying to build and install locally in my box I am getting below error: httpd/httpd-2.4.1 1059> ./configure checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines apache apr download 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 Configuring Apache Portable Runtime library ... checking for APR... no configure: error: APR not found. Please read the documentation. I am not sure what dependency it is looking for - I mean the download package does not contains it? What I need to do to build / deploy Apache HTTP server? Thanks in advance. apache apr share|improve this question edited Jun 6 '14 at 1:49 Oleg Mikheev 9,30954175 asked Feb 24 '12 at 19:30 Prakash 1,81663075 3 Off-topic; belongs on Server Fault –Jim Garrison Feb 25 '12 at 2:52 1 @JimGarrison, Then why is it not closed / moved? –Pacerier Jun 25 '15 at 12:05 add a comment| 8 Answers 8 active oldest votes up vote 99 down vote accepted When it tells you Please read documentation it means that you should go read Apache documentation ( http://httpd.apache.org/docs/2.4/install.html ) which tells you to download the latest versions of both APR and APR-Util from Apache APR, unpack them into ./srclib/apr and ./srclib/apr-util (be sure the domain names do not have version numbers; for example, the APR distribution must be under ./srclib/apr/) then do ./c
installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows,
Configure: Error: Pcre-config For Libpcre Not Found
see Using Apache HTTP Server with Microsoft Windows and Compiling Apache for apr-util Microsoft Windows. For other platforms, see the platform documentation. Apache httpd uses libtool and autoconf to create a build bundled apr requested but not found at srclib environment that looks like many other Open Source projects. If you are upgrading from one minor version to the next (for example, 2.4.9 to 2.4.10), please skip down to the upgrading http://stackoverflow.com/questions/9436860/apache-httpd-setup-and-installation section. Overview for the impatient Requirements Download Extract Configuring the source tree Build Install Customize Test Upgrading Third-party packages See alsoConfigure the source treeStarting Apache httpdStopping and RestartingComments Overview for the impatient Download Download the latest release from http://httpd.apache.org/download.cgi Extract $ gzip -d httpd-NN.tar.gz
$ tar xvf httpd-NN.tar
$ cd httpd-NN Configure $ ./configure --prefix=PREFIX Compile $ make Install $ https://httpd.apache.org/docs/current/install.html make install Customize $ vi PREFIX/conf/httpd.conf Test $ PREFIX/bin/apachectl -k start NN must be replaced with the current version number, and PREFIX must be replaced with the filesystem path under which the server should be installed. If PREFIX is not specified, it defaults to /usr/local/apache2. Each section of the compilation and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache httpd. Requirements The following requirements exist for building Apache httpd: APR and APR-Util Make sure you have APR and APR-Util already installed on your system. If you don't, or prefer to not use the system-provided versions, download the latest versions of both APR and APR-Util from Apache APR, unpack them into /httpd_source_tree_root/srclib/apr and /httpd_source_tree_root/srclib/apr-util (be sure the directory names do not have version numbers; for example, the APR distribution must be under /httpd_source_tree_root/srclib/apr/) and use ./configure's --with-included-apr option. On some platforms, you may have to install the corresponding -dev packages to allow httpd to build against your installed copy of APR and APR-Util. Perl-Compatible Regular Expressions Library (PCRE) This library is required but not longer bundled with
contribution towards the costs, the time and effort that's going in this site and http://unix.stackexchange.com/questions/146402/configure-error-c-compiler-cannot-create-executables building. Thank You! Steffen Apache Lounge is not sponsored by anyone.Your donations will help to keep this not found site alive and well, and continuing the building of the binaries. Compilation problem with Apache configuration & LDAP Apache Forum Index -> Apache Building & Member Downloads View previous topic :: View bundled apr requested next topic Author Message sasi1503Joined: 18 Jun 2012Posts: 5Location: USA,CT Posted: Mon 18 Jun '12 18:34 Post subject: Compilation problem with Apache configuration & LDAP Hi, We are trying to compile Apache with LDAP and followed below steps for the LDAP configuration followed by compilation. Configure: Code: ./configure --prefix=/Volumes/app/apache2.2/httpd-2.2.22 --enable-threads --enable-other-child - apr ./configure --prefix=/Volumes/app/apache2.2/httpd-2.2.22 --with-apr=../apr --with-ldap-lib=/usr/lib --with-ldap-include=/usr/include --with-ldap=ldap - apr-util ./configure --enable-ldap --enable-authnz-ldap --with-included-apr Errors: nawk -f /Volumes/app/apache2.2/httpd-2.2.22/build/make_exports.awk `cat export_files` > exports.c /Volumes/app/apache2.2/httpd-2.2.22/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/pcre -I. -I/Volumes/app/apache2.2/httpd-2.2.22/os/unix -I/Volumes/app/apache2.2/httpd-2.2.22/server/mpm/prefork -I/Volumes/app/apache2.2/httpd-2.2.22/modules/http -I/Volumes/app/apache2.2/httpd-2.2.22/modules/filters -I/Volumes/app/apache2.2/httpd-2.2.22/modules/proxy -I/Volumes/app/apache2.2/httpd-2.2.22/include -I/Volumes/app/apache2.2/httpd-2.2.22/modules/generators -I/Volumes/app/apache2.2/httpd-2.2.22/modules/mappers -I/Volumes/app/apache2.2/httpd-2.2.22/modules/database -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr/include -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr-util/include -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr-util/xml/expat/lib -I/Volumes/app/apache2.2/httpd-2
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top configure: error: C compiler cannot create executables up vote 16 down vote favorite 1 I am trying to upgrade apache 2.2.15 to 2.2.27. While running config.nice taken from apache2.2.15/build I am getting following error: checking whether the C compiler works... no configure: error: in `/home/vkuser/httpd-2.2.27/srclib/apr': configure: error: C compiler cannot create executables I have tried to search online but no luck. I have also tested out c compiler by running a small test.c script and it runs fine. There were few solution given online like installing 'kernel-devel' package but it did not resolve issue. How can I get this to work? Following is the config.log generated: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.67. Invocation command line was $ ./configure --prefix=/opt/myapp/apache2.2 --with-mpm=worker --enable-static-support --enable-ssl=static --enable-modules=most --disable-authndbd --disable-authn-dbm --disable-dbd --enable-static-logresolve --enable-static-rotatelogs --enable-proxy=static --enable-proxyconnect=static --enable-proxy-ftp=static --enable-proxy-http=static --enable-rewrite=static --enable-so=static --with-ssl=/opt/myapp/apache2.2/ope