Re: [ILUG] Help compiling?? Fixed.

From: Daniel Stuart Kelly (dstuartkelly at domain online.ie)
Date: Thu 19 Sep 2002 - 14:25:03 IST


Lads.. thanks for your pointing me in the right direction....

There was no cc installed..

I ran
[root at domain localhost /]# find / -name cc -or -name gcc
find: /proc/1682/fd: No such file or directory
/usr/share/screen/utf8encodings/cc
/home/daniel/download/gcc
[root at domain localhost /]#

the gcc listed is a directory

I went to get the gcc rpm and tried to install.. I got

Dependency Problem:
  binutils is needed by gcc-2.96-110
  cpp is needed by gcc-2.96-110
  glibc-devel is needed by gcc-2.96-110

So I went and installed all of these then installed gcc.

next step was to run make again...

Then Getting

xwin.c:21:22: X11/Xlib.h: No such file or directory
xwin.c:22:23: X11/Xutil.h: No such file or directory
make: *** [xwin.o] Error 1

So I installed Xfree86-devel-4.2.0-8
  retried the make and it worked perfectly.

I tested the app, and now I can get to a MS terminal services server no
problems...

So thanks again for your help lads.

/Dan

Andrew Kemmy wrote:
> On Thu, 19 Sep 2002 11:42:03 +0100
> Philip Reynolds <phil at domain redbrick.dcu.ie> wrote:
>
>>It shouldn't be trying to run cc if it's not there. Chances are, if
>>there's a ``configure'' script, it should detect your proper
>>settings.
>
>
> Before sending my previous post I did a "make clean; ./configure, make"
> on the rdesktop (1.1.0) source tree that I have here. It really *does*
> call cc, although both gcc and cc are available.
>
>
>>If there is a ``configure'' script in the directory, try the
>>following, again.
>>
>>$ rm config.status
>>$ ./configure [--flags here]
>>
>>this should reset your Makefile(s) to use gcc instead of defaulting
>>to cc, which is probably what it's doing.
>>
>>--
>> Philip Reynolds
>> RFC Networks tel: 01 8832063
>>www.rfc-networks.ie fax: 01 8832041
>>--
>>Irish Linux Users' Group: ilug at domain linux.ie
>>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
>>information. List maintainer: listmaster at domain linux.ie
>
>
>



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:58 GMT