public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* speechd-up compile error
@  Charles Hallenbeck
   ` Kirk Reiser
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup Distribution List

I retrieved the CVS version of speechd-up and installed the various 
components it needed. This is a Debian environment, and I am still 
finding things I need to install from time to time. But the compile 
failed with a problem I can't figure out.

I did this:

./build.sh, it ran okay.
./configure, that too ran okay.
make

and I get a problem in main.c, line 421, where it tells me "PIDPATH is 
not defined, first use in this function, etc. The source statement is an 
"if" that tries to compare VIDPATH (all caps) to a null string, but 
evidently there ain't any PIDPATH.

What have I overlooked?

Thanks,
Chuck


-- 
The Moon is Waxing Gibbous (99% of Full)
"Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
Visit my download site at http://www.mhcable.com/~chuckh


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

* Re: speechd-up compile error
   speechd-up compile error Charles Hallenbeck
@  ` Kirk Reiser
     ` Charles Hallenbeck
                     ` (2 more replies)
   ` Luke Yelavich
   ` Sean McMahon
  2 siblings, 3 replies; 12+ messages in thread
From: Kirk Reiser @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.; +Cc: Speakup Distribution List

Hi Chuck  You should check the installation document again but I think
you have not installed the glibc2-dev package or something like that.
All of the packages mentioned in the installation docs must be
installed.  I hope to modify that someday soonish because I think it
is to complicated the way it is.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061


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

* Re: speechd-up compile error
   speechd-up compile error Charles Hallenbeck
   ` Kirk Reiser
@  ` Luke Yelavich
     ` Luke Yelavich
     ` Charles Hallenbeck
   ` Sean McMahon
  2 siblings, 2 replies; 12+ messages in thread
From: Luke Yelavich @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Apr 23, 2005 at 09:10:30PM EST, Charles Hallenbeck wrote:
> I retrieved the CVS version of speechd-up and installed the various 
> components it needed. This is a Debian environment, and I am still 
> finding things I need to install from time to time. But the compile 
> failed with a problem I can't figure out.

<Snip>

> and I get a problem in main.c, line 421, where it tells me "PIDPATH is 
> not defined, first use in this function, etc. The source statement is an 
> "if" that tries to compare VIDPATH (all caps) to a null string, but 
> evidently there ain't any PIDPATH.

Nothing. You need to modify the Makefile. The line you are specifically 
looking for is the line that does the compiling. You need to add an 
argument to that line, after the $(CC) variable. Your COMPILE line 
probably looks something like this:

COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) 
$(AM_CFLAGS) $(CFLAGS)

You have to add the speechd_up_CFLAGS variable like this.

COMPILE = $(CC) $(speechd_up_CFLAGS) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) 
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)

Also as Kirk mentioned, you have to ensure you have glib2 development 
packages installed as well.

Hope this helps.
- -- 
Luke

Get my public GPG key here: http://www.themuso.com/themuso-gpg-key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCavy/jVefwtBjIM4RAuw8AJwOO7q80DjDgIqKS1uqGyEhWbC9EgCgsXo4
I/tP/0+mFrXDrOnahNvmfwk=
=Tmgp
-----END PGP SIGNATURE-----


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

* Re: speechd-up compile error
   ` Luke Yelavich
@    ` Luke Yelavich
       ` Charles Hallenbeck
     ` Charles Hallenbeck
  1 sibling, 1 reply; 12+ messages in thread
From: Luke Yelavich @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Apr 24, 2005 at 11:56:15AM EST, Luke Yelavich wrote:
> Nothing. You need to modify the Makefile. The line you are specifically 
> looking for is the line that does the compiling. You need to add an 
> argument to that line, after the $(CC) variable. Your COMPILE line 
> probably looks something like this:
> 
> COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) 
> $(AM_CFLAGS) $(CFLAGS)
> 
> You have to add the speechd_up_CFLAGS variable like this.
> 
> COMPILE = $(CC) $(speechd_up_CFLAGS) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) 
> $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
> 
> Also as Kirk mentioned, you have to ensure you have glib2 development 
> packages installed as well.

Just a note about that. I have sent a fix to Hynek to be comitted to 
CVS, so it should build properly after a fresh checkout.
- -- 
Luke

Get my public GPG key here: http://www.themuso.com/themuso-gpg-key.txt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCawhvjVefwtBjIM4RAh1yAJ0e1sTAin7pB8MkOq59rnWLQGGgmACgkwC2
ejhUZcx7y+U+QS7NOpmIa9A=
=2nI1
-----END PGP SIGNATURE-----


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

* Re: speechd-up compile error
   ` Kirk Reiser
@    ` Charles Hallenbeck
       ` Sean McMahon
     ` Sean McMahon
     ` jim grimsby
  2 siblings, 1 reply; 12+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi Kirk,

Okay, I will double check it. The glibc2-dev package could not be found 
by my apt-get command, so maybe there is a slightly different name. I 
will pursue it.

Chuck


-- 
The Moon is Full
"Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
Visit my download site at http://www.mhcable.com/~chuckh


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

* Re: speechd-up compile error
   ` Luke Yelavich
     ` Luke Yelavich
@    ` Charles Hallenbeck
  1 sibling, 0 replies; 12+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Thanks, Luke. I will give that s shot too, but first I have to find that 
library.


-- 
The Moon is Full
"Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
Visit my download site at http://www.mhcable.com/~chuckh


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

* Re: speechd-up compile error
     ` Luke Yelavich
@      ` Charles Hallenbeck
         ` Charles Hallenbeck
  0 siblings, 1 reply; 12+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Okay, I got the speechd-up to compile. Seems like the library I needed 
was "libglib2.0-dev", and it compiled without adding that Makefile 
modification. Now to see if it works!

Love this Debian box! Great tools for problem solving.

-- 
The Moon is Full
"Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
Visit my download site at http://www.mhcable.com/~chuckh


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

* Re: speechd-up compile error
       ` Charles Hallenbeck
@        ` Charles Hallenbeck
  0 siblings, 0 replies; 12+ messages in thread
From: Charles Hallenbeck @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.


It works. I have software speech again (if I need it) thanks to all.




-- 
The Moon is Full
"Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
Visit my download site at http://www.mhcable.com/~chuckh


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

* Re: speechd-up compile error
   speechd-up compile error Charles Hallenbeck
   ` Kirk Reiser
   ` Luke Yelavich
@  ` Sean McMahon
  2 siblings, 0 replies; 12+ messages in thread
From: Sean McMahon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

apt-get install automake1.7 or later.  Maybe apt-get install flite-dev?  The
upgrading of automake fixed the problem in my case.  When you upgrade your
automake, remove your old automake.
----- Original Message ----- 
From: "Charles Hallenbeck" <chuckh@hhs48.com>
To: "Speakup Distribution List" <speakup@speech.braille.uwo.ca>
Sent: Saturday, April 23, 2005 4:10 AM
Subject: speechd-up compile error


> I retrieved the CVS version of speechd-up and installed the various
> components it needed. This is a Debian environment, and I am still
> finding things I need to install from time to time. But the compile
> failed with a problem I can't figure out.
>
> I did this:
>
> ./build.sh, it ran okay.
> ./configure, that too ran okay.
> make
>
> and I get a problem in main.c, line 421, where it tells me "PIDPATH is
> not defined, first use in this function, etc. The source statement is an
> "if" that tries to compare VIDPATH (all caps) to a null string, but
> evidently there ain't any PIDPATH.
>
> What have I overlooked?
>
> Thanks,
> Chuck
>
>
> -- 
> The Moon is Waxing Gibbous (99% of Full)
> "Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
> Visit my download site at http://www.mhcable.com/~chuckh
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



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

* Re: speechd-up compile error
   ` Kirk Reiser
     ` Charles Hallenbeck
@    ` Sean McMahon
     ` jim grimsby
  2 siblings, 0 replies; 12+ messages in thread
From: Sean McMahon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Unless there's been an update, install in the cvs tree of speechd_up doesn't
mention glib2-dev or libspeechd.  Probably a few others.
----- Original Message ----- 
From: "Kirk Reiser" <kirk@braille.uwo.ca>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Cc: "Speakup Distribution List" <speakup@speech.braille.uwo.ca>
Sent: Saturday, April 23, 2005 6:31 PM
Subject: Re: speechd-up compile error


> Hi Chuck  You should check the installation document again but I think
> you have not installed the glibc2-dev package or something like that.
> All of the packages mentioned in the installation docs must be
> installed.  I hope to modify that someday soonish because I think it
> is to complicated the way it is.
>
>   Kirk
>
> -- 
>
> Kirk Reiser The Computer Braille Facility
> e-mail: kirk@braille.uwo.ca University of Western Ontario
> phone: (519) 661-3061
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



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

* Re: speechd-up compile error
     ` Charles Hallenbeck
@      ` Sean McMahon
  0 siblings, 0 replies; 12+ messages in thread
From: Sean McMahon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

libglib2-dev I think is the name of the package.  Do an apt-cache search for
glib2.
----- Original Message ----- 
From: "Charles Hallenbeck" <chuckh@hhs48.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Sunday, April 24, 2005 1:42 AM
Subject: Re: speechd-up compile error


> Hi Kirk,
>
> Okay, I will double check it. The glibc2-dev package could not be found
> by my apt-get command, so maybe there is a slightly different name. I
> will pursue it.
>
> Chuck
>
>
> -- 
> The Moon is Full
> "Things are in the saddle, and they ride mankind." Ralph Waldo Emerson
> Visit my download site at http://www.mhcable.com/~chuckh
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



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

* RE: speechd-up compile error
   ` Kirk Reiser
     ` Charles Hallenbeck
     ` Sean McMahon
@    ` jim grimsby
  2 siblings, 0 replies; 12+ messages in thread
From: jim grimsby @  UTC (permalink / raw)
  To: 'Speakup is a screen review system for Linux.'

Hi, 
Make sure all packages are the versions you need.  
To do this use apt-show-versions package name.  
The nice thing is all the packages you need you can get with apt-get
install packagename 
Also note you are going to have to make your own kernel because the
debian version of the speakup kernel does not have sftsyn in it.  
That brings up a good question 
A linux kernel is just that a linux kernel right?  So lets say I
downloaded the rpm kernels maid debian packages using alien would they
install and work on my debian system?  If so all I would have to do is
get the packages convert them to deb packages and send them to the sight
and we would have new kernels we could install using dpkg -I package
name.  
Let me know if that is possible.  

-----Original Message-----
From: speakup-bounces@braille.uwo.ca
[mailto:speakup-bounces@braille.uwo.ca] On Behalf Of Kirk Reiser
Sent: 2005-04-23 6:31MD
To: Speakup is a screen review system for Linux.
Cc: Speakup Distribution List
Subject: Re: speechd-up compile error


Hi Chuck  You should check the installation document again but I think
you have not installed the glibc2-dev package or something like that.
All of the packages mentioned in the installation docs must be
installed.  I hope to modify that someday soonish because I think it is
to complicated the way it is.

  Kirk

-- 

Kirk Reiser				The Computer Braille Facility
e-mail: kirk@braille.uwo.ca		University of Western Ontario
phone: (519) 661-3061

_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup




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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 speechd-up compile error Charles Hallenbeck
 ` Kirk Reiser
   ` Charles Hallenbeck
     ` Sean McMahon
   ` Sean McMahon
   ` jim grimsby
 ` Luke Yelavich
   ` Luke Yelavich
     ` Charles Hallenbeck
       ` Charles Hallenbeck
   ` Charles Hallenbeck
 ` Sean McMahon

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