* trouble compiling speechd-up 0.4
@ John Heim
` Hynek Hanke
` Ralph W. Reid
0 siblings, 2 replies; 5+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
I have downloaded and unzipped the latest speechd-up code. But when I run
the configure script, I get an error. I cut and pasted the output from my
session below. Note that I cut a lot of lines out of the middle for the sake
of vrevity. At the end it says cpp failed the sanity check. There doesn't
seem to be any useful information in the log.
# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
[...]checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
At this point I asked it to tisplay config.log:
# tail config.log
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_UNISTD_H 1
#define HAVE_LIBSPEECHD_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
#define HAVE_DLFCN_H 1
configure: exit 1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trouble compiling speechd-up 0.4
trouble compiling speechd-up 0.4 John Heim
@ ` Hynek Hanke
` John Heim
` Ralph W. Reid
1 sibling, 1 reply; 5+ messages in thread
From: Hynek Hanke @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
John Heim píše v St 15. 11. 2006 v 15:31 -0600:
> I have downloaded and unzipped the latest speechd-up code. But when I run
> the configure script, I get an error. I cut and pasted the output from my
> session below. Note that I cut a lot of lines out of the middle for the sake
> of vrevity. At the end it says cpp failed the sanity check. There doesn't
> seem to be any useful information in the log.
Hi John,
I think either cpp is completely missing on your system or you are using
some very old version. Please upgrade cpp and try again.
With regards,
Hynek Hanke
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trouble compiling speechd-up 0.4
` Hynek Hanke
@ ` John Heim
` Hynek Hanke
0 siblings, 1 reply; 5+ messages in thread
From: John Heim @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
----- Original Message -----
From: "Hynek Hanke" <hanke@brailcom.org>
>> John Heim said:
>> I have downloaded and unzipped the latest speechd-up code. But when I
>> run
>> the configure script, I get an error. I cut and pasted the output from
>> my
>> session below. Note that I cut a lot of lines out of the middle for the
>> sake
>> of vrevity. At the end it says cpp failed the sanity check. There
>> doesn't
>> seem to be any useful information in the log.
>
> Hi John,
>
> I think either cpp is completely missing on your system or you are using
> some very old version. Please upgrade cpp and try again.
>
Well, cpp is part of gcc, right? I just did a apt-get dist-upgrade a couple
of weeks ago. I should be using the current debian/testing. Just to be sure,
I did an 'apt-get install cpp'. That upgraded my cpp to 4.1.2
# cpp --version
cpp (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
But the configure script still gives me the exact same error.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trouble compiling speechd-up 0.4
trouble compiling speechd-up 0.4 John Heim
` Hynek Hanke
@ ` Ralph W. Reid
1 sibling, 0 replies; 5+ messages in thread
From: Ralph W. Reid @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
How much unused memory (RAM) did you have in your system when you ran
the configure script? I have come across some strange errors when
trying to compile some programs (festival for example) on memory
deprived systems. Also, is the version of gcc you are trying to use
compatible with the source code (maybe someone else can help with this
question)?
HTH and have a great day.
On Wed, Nov 15, 2006 at 03:31:23PM -0600, John Heim wrote:
> I have downloaded and unzipped the latest speechd-up code. But when I run
> the configure script, I get an error. I cut and pasted the output from my
> session below. Note that I cut a lot of lines out of the middle for the sake
> of vrevity. At the end it says cpp failed the sanity check. There doesn't
> seem to be any useful information in the log.
>
>
> # ./configure
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> [...]checking dependency style of g++... none
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.
>
> At this point I asked it to tisplay config.log:
>
> # tail config.log
> #define HAVE_SYS_IOCTL_H 1
> #define HAVE_SYS_TIME_H 1
> #define HAVE_UNISTD_H 1
> #define HAVE_LIBSPEECHD_H 1
> #define TIME_WITH_SYS_TIME 1
> #define HAVE_SELECT 1
> #define HAVE_SOCKET 1
> #define HAVE_DLFCN_H 1
>
> configure: exit 1
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Ralph. N6BNO. Wisdom comes from central processing, not from I/O.
rreid@sunset.net http://personalweb.sunset.net/~rreid
...passing through The City of Internet at the speed of light!
CIRCLE RADIUS = sqrt (x ^ 2 + y ^ 2)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: trouble compiling speechd-up 0.4
` John Heim
@ ` Hynek Hanke
0 siblings, 0 replies; 5+ messages in thread
From: Hynek Hanke @ UTC (permalink / raw)
To: John Heim, Speakup is a screen review system for Linux.
> # cpp --version
> cpp (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I just tried with gcc cpp (GCC) 4.1.2 20061028 (prerelease) (Debian
4.1.1-19) and it works ok on my system.
Could you please send the full config.log produced by running
the ./configure script? Do you experience this issue with compiling
other software too?
With regards,
Hynek Hanke
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
trouble compiling speechd-up 0.4 John Heim
` Hynek Hanke
` John Heim
` Hynek Hanke
` Ralph W. Reid
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).