Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: CC : command not found< Next Oldest | Next Newest >
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: April 24 2005,18:02 QUOTE

I've installed gcc1.dsl so compiling is most of the times no problem but when I tried to install proftpd I get the following error:
cc : command not found

./configure went wel but the error appears with the make-function.
I've checked it but something like cc.dsl or so isn't available in the repository. Can somebody advise me with this problem?

- DSL 1.0
- proftpd 1.2.10


--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 24 2005,18:34 QUOTE

Check your makefile.  There may be a variable "CC" that can be changed:
CC=gcc


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: April 24 2005,18:46 QUOTE

I allready executed this command with gcc in stead of cc but it halted on an invalid option (-02)

--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
Guest
Unregistered






Posted: April 25 2005,14:59 QUOTE

I think what mikshaw was trying to say was that, even though ./configure worked well, there may still be references to cc instead of gcc in the Makefile that ./configure created.  I got this problem before when I tried to compile some source that I got from a repacker instead of that from the original site.  Although one would normally use autoconf in order to keep things neat, the repacker thought he could just edit Makefile.in.

One thing you can do is follow what mikshaw said and wade through the makefiles AFTER running ./configure.  There maybe more than one "makefiles" and you will have to hunt for them in the subpaths.  You could get a snapshot of the contents of the source tree before and after you run ./configure to see what changed.

Another option is to do "sudo ln -s /usr/bin/gcc /usr/bin/cc" before running ./configure.

One thing that is still not clear to me about your post is whether ./configure worked without detecting gcc.  I have this nagging feeling that you may be trying to compile a source that was meant to be for another system, so ./configure assumed your compiler is called cc and used the "appropriate" switches.
Back to top
3 replies since April 24 2005,18:02 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: CC : command not found

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code