Can someone tell me how to build festival on a machine with gcc 3.3.2? I've searched all around and even found a reference or two that the problem exists but I'm not seeing the fix. thanks! -reed Symtoms are -- ./configure, then.... [root@telephone speech_tools]# make Check system type Remake modincludes.inc NATIVE_AUDIO ok EDITLINE config/modules/editline.mak SIOD siod/siod.mak WAGON stats/wagon/wagon.mak SCFG grammar/scfg/scfg.mak WFST grammar/wfst/wfst.mak OLS stats/ols.mak RXP rxp/rxp.mak LINUX16_AUDIO config/modules/linux16_audio.mak Making in directory ./siod ... making dependencies -- siodeditline.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC el_complete.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC editline.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC el_sys_unix.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc EST_SiodServer.cc siod.cc siod_est.cc g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc In file included from ../include/EST_String.h:50, from ../include/siod.h:17, from slib.cc:88: ../include/EST_iostream.h:54:26: strstream.h: No such file or directory make[1]: *** [slib.o] Error 1 make: *** [siod] Error 2 [root@telephone speech_tools]#
Quentin Cope
2004-Apr-30 23:44 UTC
[Asterisk-Users] festival and gcc 3.3.2 (Fedora Core 1)
Reed I had the same problem yesterday. I have a gentoo system here. I first used gentoo's emerge to install festival 1.4.3-r1. This worked out that it needed speech tools and downloaded that along with festival and built with no problems. From the command line I could get festival working but I found that I could not get asterisk to work with it. I then read the notes on www.voip-info.org on how to get festival working with asterisk. I realised that I was going to need to patch the source and build the stuff myself but when I tried to do this I ran into the same problem as you. At that point I was stuck as I really don't know too much about how emerge works on gentoo. I could see how I could get emerge to just download source and not install but I didn't really know the correct way of then using the source and installing at a later date...... I am sure this isn't the right thing to do but I ended up running emerge to get the source, I then paused emegre once it had extracted the source to a temp directory, patched the source there and then let emerge compile and install festival. Bottom line is that by some magic emerge on gentoo is able to build speech tools on a system where doing it by hand doesn't seem to. I wonder if emerge is using some different compiler switches to make a later compiler behave like and earlier one? Quentin -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Reed Wade Sent: 01 May 2004 01:35 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] festival and gcc 3.3.2 (Fedora Core 1) Can someone tell me how to build festival on a machine with gcc 3.3.2? I've searched all around and even found a reference or two that the problem exists but I'm not seeing the fix. thanks! -reed Symtoms are -- ./configure, then.... [root@telephone speech_tools]# make Check system type Remake modincludes.inc NATIVE_AUDIO ok EDITLINE config/modules/editline.mak SIOD siod/siod.mak WAGON stats/wagon/wagon.mak SCFG grammar/scfg/scfg.mak WFST grammar/wfst/wfst.mak OLS stats/ols.mak RXP rxp/rxp.mak LINUX16_AUDIO config/modules/linux16_audio.mak Making in directory ./siod ... making dependencies -- siodeditline.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC el_complete.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC editline.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC el_sys_unix.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but not for C/ObjC cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc EST_SiodServer.cc siod.cc siod_est.cc g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc In file included from ../include/EST_String.h:50, from ../include/siod.h:17, from slib.cc:88: ../include/EST_iostream.h:54:26: strstream.h: No such file or directory make[1]: *** [slib.o] Error 1 make: *** [siod] Error 2 [root@telephone speech_tools]# _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hi, had the same problem... and we wrote a patch. This patch's are for speech_tools 1.2.3 and festival 1.4.3. to use in the corresponding directory with: #patch -p1 <patch...... Hope this help. If so let it know. Have fun !!! On Sat, 2004-05-01 at 02:35, Reed Wade wrote:> Can someone tell me how to build festival on a machine with gcc 3.3.2? > > I've searched all around and even found a reference or two that the > problem exists but I'm not seeing the fix. > > thanks! > -reed > > > Symtoms are -- > > ./configure, then.... > > [root@telephone speech_tools]# make > Check system type > Remake modincludes.inc > NATIVE_AUDIO > ok > EDITLINE > config/modules/editline.mak > SIOD > siod/siod.mak > WAGON > stats/wagon/wagon.mak > SCFG > grammar/scfg/scfg.mak > WFST > grammar/wfst/wfst.mak > OLS > stats/ols.mak > RXP > rxp/rxp.mak > LINUX16_AUDIO > config/modules/linux16_audio.mak > Making in directory ./siod ... > making dependencies -- siodeditline.c cc1: warning: > "-Wno-non-template-friend" is valid for C++ but not for C/ObjC > cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC > el_complete.c cc1: warning: "-Wno-non-template-friend" is valid for C++ > but not for C/ObjC > cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC > editline.c cc1: warning: "-Wno-non-template-friend" is valid for C++ but > not for C/ObjC > cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC > el_sys_unix.c cc1: warning: "-Wno-non-template-friend" is valid for C++ > but not for C/ObjC > cc1: warning: "-Wno-deprecated" is valid for C++ but not for C/ObjC > slib.cc slib_core.cc slib_doc.cc slib_file.cc slib_format.cc > slib_list.cc slib_math.cc slib_sys.cc slib_server.cc slib_str.cc > slib_xtr.cc slib_repl.cc siod_fringe.cc siod_server.cc io.cc trace.cc > EST_SiodServer.cc siod.cc siod_est.cc > g++ -c -fno-implicit-templates -O3 -Wall -Wno-non-template-friend > -Wno-deprecated -DSUPPORT_EDITLINE -I../include slib.cc > In file included from ../include/EST_String.h:50, > from ../include/siod.h:17, > from slib.cc:88: > ../include/EST_iostream.h:54:26: strstream.h: No such file or directory > make[1]: *** [slib.o] Error 1 > make: *** [siod] Error 2 > [root@telephone speech_tools]# > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- A non-text attachment was scrubbed... Name: patch.festival-against-1.4.3-release.diff Type: text/x-patch Size: 4956 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040501/d7260d16/patch.festival-against-1.4.3-release.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: patch.speech_tools-against-1.2.3-release.diff Type: text/x-patch Size: 9009 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040501/d7260d16/patch.speech_tools-against-1.2.3-release.bin