Re: [ILUG] Help compiling??

From: Philip Reynolds (phil at domain redbrick.dcu.ie)
Date: Thu 19 Sep 2002 - 11:50:04 IST


Daniel Stuart Kelly's [dstuartkelly at domain online.ie] 33 lines of wisdom included:
> Morning all...
>
> OK I have my system set up and sort of working, thats Day 1 taken care of.
>
> Day 2 now cinsists of setting up rdesktop. http://www.rdesktop.org. When
> I go to install it It gives me an error saying
>
> >make: cc: Command not found
> >make: *** [rdesktop.o] Error 127
>
> So I go look up this in their newsgrop history. One other similar
> occurance that I can find is someone getting
>
> >make: gcc: Command not found
>
> The solution to this was to install GCC. So I go and try this only to
> get the error
>
> >Created "Makefile" in */gcc-3.2 using "mt-frag"
> >./configure: cc: command not found
> >*** The command 'cc -o conftest -g
>
> I've run a locate cc |grep cc$ and that didnt give back anything
> helpful. So what I need to know is WTF do I do to get this shaggin thing
> up and running..

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.

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


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