Thanks Mario, Changing the string.h file seemed to do the trick. I still need to test it, but it at least loaded without errors. Will keep posted if anything doesn't work. Peter On Fri, Sep 24, 2010 at 11:30 AM, Mario <mario_fs@mgtech.com> wrote:
This may help someone install FS (git version) on osx 10.6.4 as of Sep 2010. Once you have downloaded (I used git):
1. Modify modules.conf to comment mod_spandsp. I think this is only for fax. Although I downloaded SPANDSP 0.0.6, it required LIBTIFF which I could not figure out how to install. No fax for now.
2. 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
3. CD to /freeswitch/libs/flite-1.3.99/include
4. chmod +rw+rw+rw string.h So you can update the file.
5. 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);*/
6. CD /freeswitch 7. Follow normal install instructions (bootstrap, config). 8. MAKE 9. SUDO MAKE INSTALL <- SUDO was required for this
I tested on one phone and the demo IVR worked so I am thinking it is ok.
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.
/b
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.
_______________________________________________ FreeSWITCH-users mailing list 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
_______________________________________________ FreeSWITCH-users mailing list 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
-- "People should not be afraid of their governments, governments should be afraid of their people." -V-