[Freeswitch-users] APR issue when configuring

Ken Rice krice at freeswitch.org
Tue Jan 27 11:11:25 MSK 2015


That should be --prefix  (2 - in front of prefix) ...

-prefix doesn¹t really do anything


On 1/27/15, 1:14 AM, "Grant Bagdasarian" <gb at cm.nl> wrote:

> Its ­prefix with a single -.
>  
> Yes, the directory is /usr/src/freeswitch. I always use this parameter to
> install all the files in the same directory, else it installs in
> /usr/local/freeswitch I believe.
>  
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Steven
> Ayre
> Sent: Monday, January 26, 2015 9:24 PM
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] APR issue when configuring
>  
> 
> Also is that -prefix or --prefix you're using?
> 
>  
> 
> On 26 January 2015 at 20:21, Michael Jerris <mike at jerris.com> wrote:
> 
> is /usr/src/freeswitch your source directory too?  Its a bit weird to be
> specifying that as prefix, maybe its an issue when specifying a prefix as the
> same as your source dir?
> 
>  
>> 
>> On Jan 26, 2015, at 12:51 AM, Grant Bagdasarian <GB at cm.nl> wrote:
>>  
>> 
>> Hello,
>> 
>>  
>> 
>> I just extracted the tarball, installed a few missing dependencies and ran
>> the configure command:
>> 
>> ./configure -prefix=/usr/src/freeswitch/ --enable-core-odbc-support
>> 
>>  
>> 
>>  
>> 
>> From: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice
>> Sent: Friday, January 23, 2015 4:44 PM
>> To: FreeSWITCH Users Help
>> Subject: Re: [Freeswitch-users] APR issue when configuring
>> 
>>  
>> I¹m inclined to believe you have something broken on your box here. I just
>> grabbed the tarball and built it right on my Wheezy box...  How exactly are
>> you trying to build it from the tarball?
>> 
>> 
>> On 1/23/15, 8:49 AM, "Grant Bagdasarian" <gb at cm.nl> wrote:
>> 
>> lsb_release -a
>> No LSB modules are available.
>> Distributor ID: Debian
>> Description:    Debian GNU/Linux 7.8 (wheezy)
>> Release:        7.8
>> Codename:       wheezy
>>  
>> uname -a
>> Linux HOSTNAME 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
>>  
>>  
>> 
>> From: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org
>> <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
>> Rice
>> Sent: Friday, January 23, 2015 3:04 PM
>> To: FreeSWITCH Users Help
>> Subject: Re: [Freeswitch-users] APR issue when configuring
>> 
>> 
>> On what platform are you getting this error?
>> 
>> 
>> 
>> 
>> Sent from my iPhone
>> 
>> 
>> On Jan 23, 2015, at 6:12 AM, Grant Bagdasarian <gb at cm.nl> wrote:
>> 
>> 
>> Nevermind.
>> I used the 1.4.15 tarball which contained this error.
>>  
>> Now I¹ve used the git clone master which works fine.
>>  
>> 
>> From: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org
>> <mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Grant
>> Bagdasarian
>> Sent: Friday, January 23, 2015 11:51 AM
>> To: FreeSWITCH Users Help (freeswitch-users at lists.freeswitch.org)
>> Subject: [Freeswitch-users] APR issue when configuring
>> 
>> Hello,
>>  
>> I¹m getting the following error during configure.
>>  
>> 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.
>> configure: error: ./configure.gnu failed for libs/apr-util
>>  
>> I¹m running the following command to configure: ./configure
>> -prefix=/usr/src/freeswitch/ --enable-core-odbc-support
>>  
>> Also, a lot of directories inside the libs require the configure script to be
>> executable. I have to set this 1 by 1.
>>  
>> Is there a way to disable apr? Or is it required by FS?
>  
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>  
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
Twitter: @FreeSWITCH


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150127/51908843/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list