speechd-up compile error

Luke Yelavich themuso at themuso.com
Sat Apr 23 21:56:15 EDT 2005


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




More information about the Speakup mailing list