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> 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

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>

 

 

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
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