Projects / Voice / Comments

Comments for Voice

30 Jun 2003 11:15 simpsonb

Re: Finding festival and permissions

> To get it working on my Linux system,
> probably because I haven't modified the
> path to find festival, I made a change:
>
> #define FESTIVAL_SERVER
> "/usr/local/festival/festival/bin/festival_server"
>
> #define FESTIVAL
> "/usr/local/festival/festival/bin/festival"
>
>
>
> execl(FESTIVAL_SERVER,"festival_server",
> FESTIVAL,(char *)NULL);
>
>
> Also, if voice is run as root, on my
> computer, the /dev/voice is not writable
> by a mortal user. I put in a
>
> umask(0);
>
> just before the daemon(0,0); line
>
> Alan Clifford
>


Hi Alan

Sorry for the delay. Thanks for the suggestion about adding umask(0). OOPS I wrote it while I was in root. :.) Serves me right.

Bill

17 Dec 2002 13:23 AlanClifford

Finding festival and permissions
To get it working on my Linux system, probably because I haven't modified the path to find festival, I made a change:

#define FESTIVAL_SERVER "/usr/local/festival/festival/bin/festival_server"
#define FESTIVAL "/usr/local/festival/festival/bin/festival"

execl(FESTIVAL_SERVER,"festival_server", FESTIVAL,(char *)NULL);


Also, if voice is run as root, on my computer, the /dev/voice is not writable by a mortal user. I put in a

umask(0);

just before the daemon(0,0); line

Alan Clifford

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.