[Freeswitch-users] Can't build version 1.2

Ken Rice krice at freeswitch.org
Wed Sep 4 00:25:10 MSD 2013


2 lines above the make error is this

³configure: WARNING: OpenSSL include files were not found
configure: error: OpenSSL and associaed developement headers required²

This is the configure output telling you it failed because you don¹t have
the openssl dev packages installed... Install them and try again... I would
suggest changing your script something like this


cd /usr/local/src

git clone git://git.freeswitch.org/freeswitch.git

cd freeswitch

git checkout v1.2.stable

cp build/modules.conf.in modules.conf

sed -i 's/#applications\/mod_curl/applications\/mod_curl/' modules.conf

sed -i 's/#asr_tts\/mod_flite/asr_tts\/mod_flite/' modules.conf

./bootstrap.sh && ./configure && make install && make cd-sounds-install
cd-moh-install




Note the && between commands... If the command before the && fails, the
commands coming after don¹t even try to run




On 9/3/13 3:09 PM, "Oleg Stolyar" <olegstolyar at gmail.com> wrote:

> Sure, thanks Ken.
> Here are the script and the output
> 
> https://www.dropbox.com/s/yc7l4gkyq5yddlw/script.txt
> 
> https://www.dropbox.com/s/6hm1uon70soad5k/script-out.txt
> 
> 
> On Tue, Sep 3, 2013 at 11:35 AM, Ken Rice <krice at freeswitch.org> wrote:
>> You need to show us the output of the script... Without that we are mearly
>> just guessing at what the problem is
>> 
>> 
>> 
>> On 9/3/13 1:23 PM, "Oleg Stolyar" <olegstolyar at gmail.com
>> <http://olegstolyar@gmail.com> > wrote:
>> 
>>> Yes,  my script is below.  If I comment out the line "git checkout
>>> v1.2.stable"  it works, otherwise, "make" errors out.
>>> 
>>> cd /usr/local/src
>>> git clone git://git.freeswitch.org/freeswitch.git
>>> <http://git.freeswitch.org/freeswitch.git>
>>> <http://git.freeswitch.org/freeswitch.git>
>>> cd freeswitch
>>> git checkout v1.2.stable
>>> ./bootstrap.sh
>>> sed -i 's/#applications\/mod_curl/applications\/mod_curl/' modules.conf
>>> sed -i 's/#asr_tts\/mod_flite/asr_tts\/mod_flite/' modules.conf
>>> ./configure
>>> make
>>> make all install cd-sounds-install cd-moh-install
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Tue, Sep 3, 2013 at 10:56 AM, Ken Rice <krice at freeswitch.org
>>> <http://krice@freeswitch.org> > wrote:
>>>> did you run bootstrap.sh and configure before trying to run make?
>>>> 
>>>> Ken
>>>> Sent from my iPad
>>>> 
>>>> On Sep 3, 2013, at 12:43, Oleg Stolyar <olegstolyar at gmail.com
>>>> <http://olegstolyar@gmail.com> > wrote:
>>>> 
>>>>> Hi everyone,
>>>>> 
>>>>> I can't seem to build version 1.2 from Git.  I am following the
>>>>> instructions on this page:
>>>>> http://wiki.freeswitch.org/wiki/Installation_Guide and it works great as
>>>>> long as I build master.  But as soon as I switch to the 1.2stable branch
>>>>> by either 
>>>>> 
>>>>> git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
>>>>> <http://git.freeswitch.org/freeswitch.git>
>>>>> <http://git.freeswitch.org/freeswitch.git>
>>>>> 
>>>>> or 
>>>>> 
>>>>> git clone git://git.freeswitch.org/freeswitch.git
>>>>> <http://git.freeswitch.org/freeswitch.git>
>>>>> <http://git.freeswitch.org/freeswitch.git>
>>>>> git checkout v1.2.stable
>>>>> 
>>>>> it breaks.  When I call "make" it says "make: *** No targets specified and
>>>>> no makefile found.  Stop."
>>>>> 
>>>>> What am I doing wrong?  Just to reiterate - everything works fine if I am
>>>>> building master.
>>>>> 
>>>>> Thank you
>>>>> Oleg
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org <http://consulting@freeswitch.org>
>>>>> http://www.freeswitchsolutions.com
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> <http://FreeSWITCH-users@lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>> http://www.freeswitch.org
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <http://consulting@freeswitch.org>
>>>> http://www.freeswitchsolutions.com
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> <http://FreeSWITCH-users@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://consulting@freeswitch.org>
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> <http://FreeSWITCH-users@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

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


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