Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue
To FreeSWITCH users, I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 I get the following when running FreeSWITCH make after ./configure: making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2 Since there is no libflite-devel package for CentOS 6 I did the following successfully: cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install This worked OK and setup everything inside /usr/local/lib However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. Any ideas? Kind Regards, Andrew Keil Visytel Pty Ltd [visytellogo] www.visytel.com<http://www.visytel.com/> Mobile: +61 (0) 429 076 431 Skype: visytel This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431.
fresh configure or re-ran configure? do you have a config.cache file ? What is in your PKG_CONFIG_PATH env variable? try adding to PKG_CONFIG_PATH /usr/local/lib/pkgconfig
On Dec 6, 2016, at 6:26 PM, Andrew Keil <andrew.keil@visytel.com> wrote:
To FreeSWITCH users,
I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently.
I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8
I get the following when running FreeSWITCH make after ./configure:
making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2
Since there is no libflite-devel package for CentOS 6 I did the following successfully:
cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz <http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz> tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install
This worked OK and setup everything inside /usr/local/lib
However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above.
Any ideas?
Kind Regards,
Andrew Keil Visytel Pty Ltd
<image001.jpg>
www.visytel.com <http://www.visytel.com/>
Mobile: +61 (0) 429 076 431 Skype: visytel
This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <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 <http://www.freeswitch.org/>
You can try https://freeswitch.org/stash/projects/SD/repos/libflite/pull-requests/3/diff Also look at FS-8084 <https://freeswitch.org/jira/browse/FS-8084> ср, 7 дек. 2016 г. в 2:33, Michael Jerris <mike@jerris.com>:
fresh configure or re-ran configure?
do you have a config.cache file ?
What is in your PKG_CONFIG_PATH env variable?
try adding to PKG_CONFIG_PATH /usr/local/lib/pkgconfig
On Dec 6, 2016, at 6:26 PM, Andrew Keil <andrew.keil@visytel.com> wrote:
To FreeSWITCH users,
I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently.
I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8
I get the following when running FreeSWITCH make after ./configure:
making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2
Since there is no libflite-devel package for CentOS 6 I did the following successfully:
cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install
This worked OK and setup everything inside /usr/local/lib
However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above.
Any ideas?
Kind Regards,
Andrew Keil *Visytel Pty Ltd*
<image001.jpg>
*www.visytel.com <http://www.visytel.com/>*
Mobile: +61 (0) 429 076 431 <+61%20429%20076%20431> Skype: visytel
This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431 <+61%20429%20076%20431>.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Michael, Thanks for your fast response! In answer to your questions: 1) Yes re-ran ./configure prior to make {after flight make && make install} 2) No config.cache file inside the freeswitch source directory 3) PKG_CONFIG_PATH was empty so I ran: export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig a. Tested by echo $PKG_CONFIG_PATH and this is now set correctly to: /usr/local/lib/pkgconfig b. Tested by pkg-config -lib flite {this was OK} c. Ran ./configure d. Ran make Perfect all fixed! Thanks again. Regards, Andrew Keil From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris Sent: Wednesday, 7 December 2016 10:33 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue fresh configure or re-ran configure? do you have a config.cache file ? What is in your PKG_CONFIG_PATH env variable? try adding to PKG_CONFIG_PATH /usr/local/lib/pkgconfig On Dec 6, 2016, at 6:26 PM, Andrew Keil <andrew.keil@visytel.com<mailto:andrew.keil@visytel.com>> wrote: To FreeSWITCH users, I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 I get the following when running FreeSWITCH make after ./configure: making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2 Since there is no libflite-devel package for CentOS 6 I did the following successfully: cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install This worked OK and setup everything inside /usr/local/lib However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. Any ideas? Kind Regards, Andrew Keil Visytel Pty Ltd <image001.jpg> www.visytel.com<http://www.visytel.com/> Mobile: +61 (0) 429 076 431 Skype: visytel This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com<http://www.freeswitchsolutions.com/> Official FreeSWITCH Sites http://www.freeswitch.org<http://www.freeswitch.org/> http://confluence.freeswitch.org<http://confluence.freeswitch.org/> http://www.cluecon.com<http://www.cluecon.com/> FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>
You need to put on the PATH (to find binaries) and LD_LIBRARY_PATH (to find the .so) on the installation directory. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Andrew Keil Sent: 06 December 2016 23:27 To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] Re- FreeSWITCH 1.6.13 on CentOS 6.8 and mod_flite build issue To FreeSWITCH users, I understand that there is a need to move to CentOS 7 for FreeSWITCH, however my client cannot do this currently. I have tried to get mod_flite to build inside FreeSWITCH 1.6.13 on CentOS 6.8 I get the following when running FreeSWITCH make after ./configure: making all mod_flite make[3]: Entering directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' Makefile:800: *** You must install libflite-dev to build mod_flite. Stop. make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod/asr_tts/mod_flite' make[2]: *** [mod_flite-all] Error 1 make[2]: Leaving directory `/usr/local/src/freeswitch/src/mod' make[1]: *** [mod_flite] Error 2 make[1]: Leaving directory `/usr/local/src/freeswitch/src/mod' make: *** [mod_flite] Error 2 Since there is no libflite-devel package for CentOS 6 I did the following successfully: cd /usr/src wget http://files.freeswitch.org/downloads/libs/flite-2.0.0.tar.gz tar -xzvf flite-2.0.0.tar.gz cd flite-2.0.0 ./configure --enable-shared --prefix=/usr/local make && make install This worked OK and setup everything inside /usr/local/lib However when I try to run ./configure and make inside the FreeSWITCH source directory again I get the same error above. Any ideas? Kind Regards, Andrew Keil Visytel Pty Ltd [visytellogo] www.visytel.com<http://www.visytel.com/> Mobile: +61 (0) 429 076 431 Skype: visytel This e-mail message may contain confidential and commercially sensitive information. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. If you receive this e-mail message by mistake, please contact Visytel Pty Ltd on +61 429 076 431. This email is confidential and may be subject to privilege. If you are not the intended recipient, please do not copy or disclose its content but contact the sender immediately upon receipt.
participants (4)
-
Andrew Keil
-
Joaquin Alzola
-
Michael Jerris
-
Sergey Safarov