<div dir="ltr">It&#39;d be better to keep source and build separate. You could build in /usr/src/freeswitch and install to /opt/freeswitch for example. /usr/src shouldn&#39;t really be used for running a daemon.<div><div><br></div><div>Since you&#39;re using Debian are you aware of the APT repository on <a href="http://files.freeswitch.org" target="_blank">files.freeswitch.org</a>? That installs it to standard directories you would expect (/usr/bin/ /usr/sbin/ /etc/freeswitch and so on).</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 January 2015 at 07:14, Grant Bagdasarian <span dir="ltr">&lt;<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Its –prefix with a single -.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">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. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Steven Ayre<br>
<b>Sent:</b> Monday, January 26, 2015 9:24 PM</span></p><div><div><br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] APR issue when configuring<u></u><u></u></div></div><p></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Also is that -prefix or --prefix you&#39;re using?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 26 January 2015 at 20:21, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">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?<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Jan 26, 2015, at 12:51 AM, Grant Bagdasarian &lt;<a href="mailto:GB@cm.nl" target="_blank">GB@cm.nl</a>&gt; wrote:<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I just extracted the tarball, installed a few missing dependencies and ran the configure command:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">./configure -prefix=/usr/src/freeswitch/ --enable-core-odbc-support</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><u></u><u></u></p>
</div>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<div>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
 [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Ken Rice<br>
<b>Sent:</b> Friday, January 23, 2015 4:44 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] APR issue when configuring</span><u></u><u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">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?<br>
<br>
<br>
On 1/23/15, 8:49 AM, &quot;Grant Bagdasarian&quot; &lt;<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>&gt; wrote:</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">lsb_release -a<br>
</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">No LSB modules are available.<br>
Distributor ID: Debian<br>
Description:    Debian GNU/Linux 7.8 (wheezy)<br>
Release:        7.8<br>
Codename:       wheezy<br>
 <br>
<b>uname -a<br>
</b>Linux HOSTNAME 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux<br>
 <br>
 <br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank"><span style="color:purple">mailto:freeswitch-users-bounces@lists.freeswitch.org</span></a>] <b>On
 Behalf Of </b>Ken Rice<br>
<b>Sent:</b> Friday, January 23, 2015 3:04 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] APR issue when configuring<br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">On what platform are you getting this error?<br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
Sent from my iPhone<br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
On Jan 23, 2015, at 6:12 AM, Grant Bagdasarian &lt;<a href="mailto:gb@cm.nl" target="_blank">gb@cm.nl</a>&gt; wrote:</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nevermind.<br>
I used the 1.4.15 tarball which contained this error.<br>
 <br>
Now I’ve used the git clone master which works fine. <br>
 <br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><br>
</span><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank"><span style="color:purple">mailto:freeswitch-users-bounces@lists.freeswitch.org</span></a>] <b>On
 Behalf Of </b>Grant Bagdasarian<br>
<b>Sent:</b> Friday, January 23, 2015 11:51 AM<br>
<b>To:</b> FreeSWITCH Users Help (<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>)<br>
<b>Subject:</b> [Freeswitch-users] APR issue when configuring<br>
</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><br>
Hello,<br>
 <br>
I’m getting the following error during configure.<br>
 <br>
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.<br>
configure: error: ./configure.gnu failed for libs/apr-util<br>
 <br>
I’m running the following command to configure: ./configure -prefix=/usr/src/freeswitch/ --enable-core-odbc-support<br>
 <br>
Also, a lot of directories inside the libs require the configure script to be executable. I have to set this 1 by 1.<br>
 <br>
Is there a way to disable apr? Or is it required by FS?</span><u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>