Apr-util Configure Error Apr Could Not Be Located
Contents |
Start 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 ubuntu install apr About Us Learn more about Stack Overflow the company Business Learn more about
Configure Error Apr Util Not Found
hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is
Apr-util Download
a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best
Configure Error Pcre Config For Libpcre Not Found
answers are voted up and rise to the top Missing APR on apache2 ./configure up vote 4 down vote favorite I want to build the latest stable version of apache2. I downloaded the source and put APR & APR-util in the srclib folder, then changed directories to ./srclib/apr and ran: ./configure --prefix=/usr/local/apr sudo make sudo make install This seemed to install APR ok, but when I configure: error: apr could not be located. please use the --with-apr option. run ./configure from the apr-util directory, I receive the error: configure: error: APR could not be located. Please use the --with-apr option. Using ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr, the error becomes: checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. Why can't it find APR? apache-2.2 share|improve this question edited Mar 24 '12 at 10:41 asked Mar 24 '12 at 10:11 arby 114413 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote accepted it is not advisable to put each tool in separate directory. just try using --prefix=/usr/local for both APR & APR-Util. or, if you must, use --with-apr=/usr/local/apr/lib share|improve this answer answered Mar 24 '12 at 14:01 Dada 559211 Mine reads checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. Then it works with --prefix=/usr/local --with-apr=/usr/local. The versions are: apr-1.5.2 and apr-util-1.5.4. –xb. Oct 5 '15 at 12:48 add a comment| Did you find this question interesting? Try our newsletter Sign up for our newsletter and get our top new questions delivered
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software error: configure failed for srclib/apr APR could not be located. Please use the --with-apr option. User it must specify an install prefix, a build directory, or an apr-config file Name Remember Me? Password Linux - Software This forum is for Software issues. Having a problem installing apr-1-config a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux http://serverfault.com/questions/372969/missing-apr-on-apache2-configure Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink http://www.linuxquestions.org/questions/linux-software-2/error-apr-could-not-be-located-please-use-the-with-apr-option-4175450119/ is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system a
Java JSRs Mobile Certification Databases Caching Books Engineering Languages Frameworks Products This Site Careers Other all forums Forum: Tomcat configure: error: APR could not be located. Please use the --with-apr option. https://coderanch.com/t/460895/Tomcat/configure-error-APR-located-apr Farakh khan Ranch Hand Posts: 833 posted 7 years ago Hello, I am tryint to get rid off Tomcat Native Libraray Message from my tomcat log. I did as following: [root@server native]# http://tomcat.10.x6.nabble.com/Questions-about-installing-APR-td2141822.html tar -xvf tomcat-native.tar.gz [root@server native]# cd tomcat-native-1.1.16-src/jni/native [root@server native]# ./configure && make && make install checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a configure error BSD-compatible install... /usr/bin/install -c checking for working mkdir -p... yes Tomcat Native Version: 1.1.16 checking for chosen layout... tcnative checking for APR... no configure: error: APR could not be located. Please use the --with-apr option. At this point I don't know what could be the solution Thanks & best regards Joe Ess Bartender Posts: 9320 10 I like... posted 7 years ago According to the configure error apr documentation: Build tc-native requires three components to be installed: * APR library * OpenSSL libraries * Java SE Development Kit (JDK) Have you installed APR and the other dependencies? Notice that the examples in the documentation use configure with several parameters that indicate the location of APR, OPENSSL and the JDK. It would probably be best to follow the examples. [How To Ask Questions On JavaRanch] Farakh khan Ranch Hand Posts: 833 posted 7 years ago Joe Ess wrote:According to the documentation: Build tc-native requires three components to be installed: * APR library * OpenSSL libraries * Java SE Development Kit (JDK) Have you installed APR and the other dependencies? Notice that the examples in the documentation use configure with several parameters that indicate the location of APR, OPENSSL and the JDK. It would probably be best to follow the examples. Thanks for your help Best Regards Post Reply Bookmark Topic Watch Topic New Topic Similar Threads RMIC - NullPionterException - RMI NEWB Cannot find jni_md.h in /usr/bin/java/ when installing APR Native Library in Tomcat 6 Install apache compile error How to know the linux is running on a virtual server? Installation Gu
Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Questions about installing APR My OS is centos 5.5, which has APR 1.2.7 pre-installed on it. # rpm -qa | grep apr apr-1.2.7-11.el5_3.1 apr-util-1.2.7-11.el5 I am using Tomcat version 6.0.20 and I located tomcat-native.tar.gz under tomcat/bin folder. I extracted the contents and now I am in tomcat/bin/tomcat-native-1.1.16-src/jni/native directory. I have the "configure" script here. ./configure fails Error: configure: error: APR could not be located. Please use the --with-apr option. Not sure why I get above error since I have the "apr" RPM installed (version 1.2.7). I double check for these shared libraries under /usr/lib and they are all there ls /usr/lib/libapr* /usr/lib/libapr-1.so.0 /usr/lib/libapr-1.so.0.2.7 /usr/lib/libaprutil-1.so.0 /usr/lib/libaprutil-1.so.0.2.7 I tried ./configure --with-apr=/usr/lib , but that fails too Error: checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file. So I downloaded APR version 1.4.2 and compiled and installed it with a different prefix=/tmp/myapr Now ./configure --with-apr=/tmp/myapr works fine and I see following line when I start tomcat Loaded APR based Apache Tomcat Native library 1.1.16. APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. But I have couple of questions: 1) Is it ok to compile JNI wrapper with APR 1.4.2, but run it with APR 1.2.7 (like I explained above)? 2) Is it ok to use ARP 1.2.7? Or is it strongly recommended to use the latest version, i.e. APR 1.4.2? -Ajay Mark Eggers-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Questions about installing APR In RedHat-based Linux distributions (maybe in others), you'll need to install the development packages as well as the base packages. Look for: apr-devel apr-util-devel and install. Then you can do a configure with: ./configure --with-apr=/usr since the apr-1-config (at least that's what it's called on Fedora 14) is in /usr/bin. . . . . just my two cents. /mde/ ----- Original Message ---- From: "Aggarwal, Ajay" <[hidden email]> To: Tomcat Users List <[hidden email]> Sent: Thu, December 2, 2010 1:08:38 PM Subject: Questions about installing APR My OS is centos 5.5, which has APR 1.2.7 pre-installed on it. # rpm -qa | grep apr apr-1.2.7-11.el5_3.1 apr-util-1.2.7-11.el5 I am using Tomcat version 6.0.20 and I located t