public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* problems compiling speechd-up
@  John Heim
   ` Doug Sutherland
  0 siblings, 1 reply; 6+ messages in thread
From: John Heim @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I'm having trouble compiling speechd-up.   I'm following the instructions 
here:
http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html

I've gotten through steps 1-4 with no problems.  I installed 
speech-dispatcher via apt-get. It seems to have installed 0.6.1. And it 
works. I am no on step 5compiling speechd-up. When I get to the make all 
step, it fails, see the error message below.

# wget 
http://www.freebsoft.org/pub/projects/speechd-up/speechd-up-0.4.tar.gz
# tar -zxf speechd-up-0.4.tar.gz
# cd speechd-up-0.4/
# ./configure
# make all
make  all-am
make[1]: Entering directory `/usr/src/speechd-up-0.4'
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o speechd-up 
speechd_up-s
peechd-up.o speechd_up-options.o  -lspeechd
libtool: link: warning: library 
`/usr/lib/gcc/i486-linux-gnu/4.1.2/../../..//lib
speechd.la' was moved.
libtool: link: warning: library 
`/usr/lib/gcc/i486-linux-gnu/4.1.2/../../..//lib
speechd.la' was moved.
libtool: link: cannot find the library `/usr/lib/libglib-2.0.la'
make[1]: *** [speechd-up] Error 1
make[1]: Leaving directory `/usr/src/speechd-up-0.4'
make: *** [all] Error 2



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems compiling speechd-up
   problems compiling speechd-up John Heim
@  ` Doug Sutherland
     ` John Heim
  0 siblings, 1 reply; 6+ messages in thread
From: Doug Sutherland @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

John,

There compile stopped on
cannot find the library `/usr/lib/libglib-2.0.la'

It would seem you are missing glib.
As root try find / -name *libglib* -print
It probably won't find glib, either that or
the build doesn't have path to where it is

You seem to be on debian
apt-get install libglib

hth,
Doug


John Heim wrote:
> I'm having trouble compiling speechd-up.   I'm following the instructions 
> here:
> http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html
>
> I've gotten through steps 1-4 with no problems.  I installed 
> speech-dispatcher via apt-get. It seems to have installed 0.6.1. And it 
> works. I am no on step 5compiling speechd-up. When I get to the make all 
> step, it fails, see the error message below.
>
> # wget 
> http://www.freebsoft.org/pub/projects/speechd-up/speechd-up-0.4.tar.gz
> # tar -zxf speechd-up-0.4.tar.gz
> # cd speechd-up-0.4/
> # ./configure
> # make all
> make  all-am
> make[1]: Entering directory `/usr/src/speechd-up-0.4'
> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o speechd-up 
> speechd_up-s
> peechd-up.o speechd_up-options.o  -lspeechd
> libtool: link: warning: library 
> `/usr/lib/gcc/i486-linux-gnu/4.1.2/../../..//lib
> speechd.la' was moved.
> libtool: link: warning: library 
> `/usr/lib/gcc/i486-linux-gnu/4.1.2/../../..//lib
> speechd.la' was moved.
> libtool: link: cannot find the library `/usr/lib/libglib-2.0.la'
> make[1]: *** [speechd-up] Error 1
> make[1]: Leaving directory `/usr/src/speechd-up-0.4'
> make: *** [all] Error 2



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems compiling speechd-up
   ` Doug Sutherland
@    ` John Heim
       ` Steve Holmes
       ` Hynek Hanke
  0 siblings, 2 replies; 6+ messages in thread
From: John Heim @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

What you said didn't exactly work but this did:

# apt-get install -y libglib2.0-dev

So there are a couple of things that are left out of the instructions at
http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html

1. As noted you need libglib.

2. You need g++
# apt-get install -y g++

3. If you're running debian  sid/testing, there are no libspeechd1   and 
libspeechd1-dev packages.  You need libspeechd2 and libspeechd-dev.

I have my linux box talking via the default software synth, festival, I 
think. All I need to do now is figure out how to get it to speak via DECtalk 
software and then I will be happy. Actually, I will have one more task after 
that: I'll want to have an easy way to use the software synth if the 
hardware synth is not connected to the serial port. I wonder if there is 
some way to auto-detect that? If not, I can do it manually.  What I could do 
is have it default to the software synth and if the hardware synth is 
connected, after it boots and I log in, I can echo ltlk....

The only problem with that is that if I have it default to the hardware 
synth, it starts talking earlier in the boot process.


----- Original Message ----- 
From: "Doug Sutherland" <doug@proficio.ca>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Thursday, March 01, 2007 10:01 PM
Subject: Re: problems compiling speechd-up


> John,
>
> There compile stopped on
> cannot find the library `/usr/lib/libglib-2.0.la'
>
> It would seem you are missing glib.
> As root try find / -name *libglib* -print
> It probably won't find glib, either that or
> the build doesn't have path to where it is
>
> You seem to be on debian
> apt-get install libglib
>
> hth,
> Doug
>
>
> John Heim wrote:
>> I'm having trouble compiling speechd-up.   I'm following the instructions
>> here:
>> http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html
>>
>> I've gotten through steps 1-4 with no problems.  I installed
>> speech-dispatcher via apt-get. It seems to have installed 0.6.1. And it
>> works. I am no on step 5compiling speechd-up. When I get to the make all
>> step, it fails, see the error message below.
>>
>> # wget
>> http://www.freebsoft.org/pub/projects/speechd-up/speechd-up-0.4.tar.gz
>> # tar -zxf speechd-up-0.4.tar.gz
>> # cd speechd-up-0.4/
>> # ./configure
>> # make all
>> make  all-am
>> make[1]: Entering directory `/usr/src/speechd-up-0.4'
>> /bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o speechd-up
>> speechd_up-s
>> peechd-up.o speechd_up-options.o  -lspeechd
>> libtool: link: warning: library
>> `/usr/lib/gcc/i486-linux-gnu/4.1.2/../../..//lib
>> speechd.la' was moved.
>> libtool: link: warning: library
>> `/usr/lib/gcc/i486-linux-gnu/4.1.2/../../..//lib
>> speechd.la' was moved.
>> libtool: link: cannot find the library `/usr/lib/libglib-2.0.la'
>> make[1]: *** [speechd-up] Error 1
>> make[1]: Leaving directory `/usr/src/speechd-up-0.4'
>> make: *** [all] Error 2
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems compiling speechd-up
     ` John Heim
@      ` Steve Holmes
       ` Hynek Hanke
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

What I do for switching synths on the fly is run a shell script I wrote.
Note this is in a Slackware environment.  I will attach it below.  I
then built a couple aliases to shorten up the commands for the two
synths I frequently use.  I Compile the ketnel with Speakup and my hard
synth, speakout statically and softsynth as a loadable module.  When I
boot, speakout comes up automatically and I then switch synths as needed
later on.
----- Begin aliases -----
alias sft='/etc/rc.d/rc.speakup restart sftsyn'
alias spk='/etc/rc.d/rc.speakup restart spkout'
----- End aliases -----

----- Begin rc.speakup -----
#!/bin/sh
#
# Shel script to load and unload a modularized version of Speakup
#

case "$1" in
   'start')
      synth="$2"
      if [ "$synth" = "sftsyn" ]; then
         nice -5 /usr/bin/speech-dispatcher
      fi
      echo "$synth" >/proc/speakup/synth_name
      if [ "$synth" = "sftsyn" ]; then
         sleep 1
	 modprobe speakup_sftsyn
	 nice -n 10 /usr/bin/speechd-up
      fi
      /usr/local/bin/speakupconf load
   ;;
   'stop')
      synth=`cat /proc/speakup/synth_name`
      if [ "$synth" = "sftsyn" ]; then
	 killall -9 speechd-up
	 killall -9 speech-dispatcher
      fi
      echo "none" >/proc/speakup/synth_name
      sleep 1
      /sbin/modprobe -r "speakup_$synth"
   ;;
   'restart')
      $0 stop
      sleep 1
      $0 start "$2"
   ;;
   *)
      echo "usage $0 start|stop|restart" ;;
esac
----- End rc.speakup -----

On Fri, Mar 02, 2007 at 09:49:19AM -0600, John Heim wrote:
> What you said didn't exactly work but this did:
> 
> # apt-get install -y libglib2.0-dev
> 
> So there are a couple of things that are left out of the instructions at
> http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html
> 
> 1. As noted you need libglib.
> 
> 2. You need g++
> # apt-get install -y g++
> 
> 3. If you're running debian  sid/testing, there are no libspeechd1   and 
> libspeechd1-dev packages.  You need libspeechd2 and libspeechd-dev.
> 
> I have my linux box talking via the default software synth, festival, I 
> think. All I need to do now is figure out how to get it to speak via DECtalk 
> software and then I will be happy. Actually, I will have one more task after 
> that: I'll want to have an easy way to use the software synth if the 
> hardware synth is not connected to the serial port. I wonder if there is 
> some way to auto-detect that? If not, I can do it manually.  What I could do 
> is have it default to the software synth and if the hardware synth is 
> connected, after it boots and I log in, I can echo ltlk....
> 
> The only problem with that is that if I have it default to the hardware 
> synth, it starts talking earlier in the boot process.

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://holmesgrown.ld.net/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems compiling speechd-up
     ` John Heim
       ` Steve Holmes
@      ` Hynek Hanke
         ` Steve Holmes
  1 sibling, 1 reply; 6+ messages in thread
From: Hynek Hanke @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

John Heim píše v Pá 02. 03. 2007 v 09:49 -0600:
> So there are a couple of things that are left out of the instructions at
> http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html

Thank you, I'm going to add them and update the instructions with the
new library versions.

> I have my linux box talking via the default software synth, festival, I 
> think. All I need to do now is figure out how to get it to speak via DECtalk 
> software and then I will be happy. 

You must edit the /etc/speech-dispatcher/speechd.conf. Uncomment the
AddModule line containing the dtk-generic module and set the
DefaultModule to dtk-generic. LanguageDefaultModule options should
either be commented out or set to your likings.

In case of troubles it might also be useful to
review /etc/speech-dispatcher/dtk-generic.conf , especially the
GenericExecuteString option. It is prepared for the case that the shell
command to produce speech via dectalk is called 'say', but you might
need to change this to suit your instalation.

Have a nice day,
Hynek Hanke



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: problems compiling speechd-up
       ` Hynek Hanke
@        ` Steve Holmes
  0 siblings, 0 replies; 6+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

While you're updating things, might wanna check the version number.
Mine still says 0.1 and I am using the latest download which I think
should be 0.4 if I'm not mistaken.  I'm talking about speechd-up here.

On Fri, Mar 02, 2007 at 09:57:07PM +0100, Hynek Hanke wrote:
> John Heim pí??e v Pá 02. 03. 2007 v 09:49 -0600:
> > So there are a couple of things that are left out of the instructions at
> > http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html
> 
> Thank you, I'm going to add them and update the instructions with the
> new library versions.
> 
> > I have my linux box talking via the default software synth, festival, I 
> > think. All I need to do now is figure out how to get it to speak via DECtalk 
> > software and then I will be happy. 
> 
> You must edit the /etc/speech-dispatcher/speechd.conf. Uncomment the
> AddModule line containing the dtk-generic module and set the
> DefaultModule to dtk-generic. LanguageDefaultModule options should
> either be commented out or set to your likings.
> 
> In case of troubles it might also be useful to
> review /etc/speech-dispatcher/dtk-generic.conf , especially the
> GenericExecuteString option. It is prepared for the case that the shell
> command to produce speech via dectalk is called 'say', but you might
> need to change this to suit your instalation.
> 
> Have a nice day,
> Hynek Hanke
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
HolmesGrown Solutions
The best solutions for the best price!
http://holmesgrown.ld.net/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 problems compiling speechd-up John Heim
 ` Doug Sutherland
   ` John Heim
     ` Steve Holmes
     ` Hynek Hanke
       ` Steve Holmes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).