LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2010, 07:39 AM   #1
nicky77
LQ Newbie
 
Registered: Mar 2010
Posts: 16

Rep: Reputation: 0
APR-util with APR - configure error on Linux


I've got a strange problem when configuring APR and APR-util for use with Subversion. I have compiled APR to /usr/local/apr and now I'm trying to compile APR-util with the following configure line:

./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/ --with-berkeley-db=/usr/local/BerkeleyDB.4.8/

But this gives the 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.

Doing a quick check in /usr/local/apr shows i have the following directories:

bin build-1 include lib

I've also tried directly specifying the apr-config file, e.g --with-apr=/usr/local/apr/apr-1-config, but this makes no difference.

Anyone have any ideas?
 
Old 03-10-2010, 10:25 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
APR-util looks for "apr-1-config".
cd apr-util-1.3.9/
./configure --with-apr=/usr/local/apr/bin/

___ which is the location, you have created for apr.

How do you think, subversion will ever work ?
When you place its run time libraries in multiple
non system paths ?.

And better in the first place install subversion
with : sudo apt-get install subversion .
.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Did I configure apr, apr-util, and subversion correctly? Quip11 Linux - Server 2 06-11-2009 08:38 AM
configure error Apache APR module craftereric Linux - Software 0 03-31-2008 03:33 PM
configure failed for srclib/apr Sulman Shah SUSE / openSUSE 1 12-02-2006 02:19 AM
Apache - error: external APR GT_Onizuka Linux - Software 0 12-02-2005 03:32 AM
Error: unable to find layout apr nocturnal Linux - Software 0 05-14-2003 12:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration