[Freeswitch-users] Struggling with installing.
Mario
mario_fs at mgtech.com
Sat Sep 25 08:47:07 PDT 2010
I think the thread title should have osx in it? Anyone see a problem or
want to add something is welcome to mention it.
Since David Ponzone says we need SPANDSP I struggled through it on osx
10.6.4. It took a lot of searching and trial and error. Here is the
updated info to get a complete clean install with what looks like
everything you need on osx. If I knew how to put things up on the wiki I
would. Anyone is welcome to take this info:
This may help someone install FS on osx 10.6.4 as of Sep
2010. I used the git version for this:
A. If you want the git version download and install git from
http://code.google.com/p/git-osx-installer/
B. Download FreeSwitch using the online instructions or the book.
INSTALL LIBTIFF NEEDED FOR LIBJPEG & SPANDSP:
1. Download liftoff 3.9.4 from http://download.osgeo.org/libtiff/ and
decompress into whatever directory you want. No need to put into same
DIR as anything else.
2. cd ...../tiff-3.9.4
3. ./configure
make
make install
4. cd .. <- back to higher directory
INSTALL LIBJPEG NEEDED FOR SPANDSP:
IMPORTANT: Most searches will find libjpeg-6, DO NOT USE IT! It took
several hours of trying to load it on osx and never got it to work. V7
was a snap. See:
http://proteus-tech.com/blog/cwt/install-pil-in-snow-leopard/
5. Download libjpeg at www.ijg.org/files/jpegsrc.v7.tar.gz
6. Double click to uncompress or tar zxvf jpegsrc.v7.tar.gz then move to
directory you want. No need to put into same DIR as anything else.
7. cd .../jpeg-7
8. ./configure --enable-shared --enable-static
9. make
10. sudo make install
11. cd .. <- back to higher directory
INSTALL SPANDSP
12. Download spandsp 0.0.6 from
http://www.soft-switch.org/downloads/spandsp/
13. Double click to uncompress then move to directory you want. No need
to put into same DIR as anything else.
13. cd .../spandsp 0.0.6
14 ./configure
15 make
16. make install
FIX FLITE COMPILE PROBLEM (looks like David Ponzone can fix this see below).
17. cp /usr/include/string.h /freeswitch/libs/flite-1.3.99/include
This is what is causing flite to fail during make. See these:
http://lists.berlios.de/pipermail/festlang-talk/2008-June/001043.html
http://www.clas.ufl.edu/users/mpanning/OSX.html
18. CD to /freeswitch/libs/flite-1.3.99/include
19. chmod +rw+rw+rw string.h <- So you can update the file.
20. Edit (in xCode) string.h, find "swab" and change line:
void swab(const void * __restrict, void * __restrict, ssize_t);
to (comment the line):
/*void swab(const void * __restrict, void * __restrict, ssize_t);*/
21. CD /freeswitch
22. Follow normal install instructions (bootstrap, config).
23. MAKE
24. SUDO MAKE INSTALL <- SUDO was required for this
So far so good....
On 09/24/10 11:49, David Ponzone wrote:
> Mario,
>
> actually, no.
> spandsp contains all basic codecs: G726, G722, ADPCM, GSM, LPC-10.
>
> David Ponzone Direction Technique
> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
> tel: 01 74 03 18 97
> gsm: 06 66 98 76 34
>
> Service Client IPeva
> tel: 0811 46 26 26
> www.ipeva.fr <BLOCKED::http://www.ipeva.fr/> - www.ipeva-studio.com
> <BLOCKED::http://www.ipeva-studio.com/>
>
> /Ce message et toutes les pièces jointes sont confidentiels et établis à
> l'intention exclusive de ses destinataires. Toute utilisation ou
> diffusion non autorisée est interdite. Tout message électronique est
> susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au
> titre de ce message s'il a été altéré, déformé ou falsifié. Si vous
> n'êtes pas destinataire de ce message, merci de le détruire
> immédiatement et d'avertir l'expéditeur./
> /
> /
>>
>> On 09/24/10 10:09, Brian West wrote:
>>> Don't build mod_flite on 10.5 for right now... or get the patch off
>>> jira and apply it.. i haven't had time to reroll it.
>>>
>>>> On Sep 24, 2010, at 11:41 AM, Mario wrote:
>>>
>>>> I am in the same boat, new to FreeSwitch, setup first on an old Linux
>>>> box (going pretty well), with plans to go Mac Mini. I tried to install
>>>> on OSX and first got the MOD_SPANDSP missing issue. Since I could not
>>>> find a way to install that on OSX I took it out of the modules.conf to
>>>> see how far I would get, thinking it's only for fax? But then I got the
>>>> same error for flite you have below. Hopefully someone here may have
>>>> already been through this and will shed some light on it. I am working
>>>> on it right now and if I find anything I will post.
>>>
More information about the FreeSWITCH-users
mailing list