Re: garnome 2.10 compile /usr/bin/ld: cannot find -lXext
- From: Simon <dev networker co nz>
- To: garnome-list gnome org
- Subject: Re: garnome 2.10 compile /usr/bin/ld: cannot find -lXext
- Date: Sat, 09 Apr 2005 16:24:39 +1200
Joachim Feise wrote:
Simon wrote on 4/7/2005 12:42:
OK... Ive had a loog at the config.log
(garnome-2.10.0.1/desktop/gnome-utils/work/main.d/gnome-utils-2.10.0/config.log)...
can you help me with what im supposed to be looking for.. Here is just
one of the errors?
configure:2716: $? = 0
configure:2719: test -s conftest.o
configure:2722: $? = 0
configure:2740: result: none needed
configure:2758: cc -c -I/root/garnome/include -L/root/garnome/lib -O2
-pipe -I/root/garnome/include conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2764: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
Hmm, looks as if the programs looks for the C++ compiler, and only finds the C
compiler. Do you have g++ installed?
OTOH, conftest.c has the file extension usually associated with a C file, so gcc
defaults to using the C compiler. You can force it to use the C++ compiler with
-x c++
Had a look at that... and yes i have g++ installed (Version: 4:3.3.5-3).
Ive checked and installed just about everything i could find to do
with g++, but still no luck... Can you help me a little more to force it
ot use the C++ compiler? Ive taken a look at your instrctions above...
But cant find a 'conftest.c' file??
Simon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]