[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: perl cpan cc: command not found



On Sat, Mar 17, 2007 at 10:37:47AM -0700, Jeff Chimene wrote:
> Hi,
> 
> While running cpan certain modules don't get built.
>    sh: cc: command not found
> 
> I know this isn't true:
> 
> ls /usr/bin/gcc -lat
> lrwxrwxrwx 1 root root 21 May 22  2006 /usr/bin/gcc -> /etc/alternatives/gcc
> 
> I'm wondering if the debian-alternatives system is interfering here?
> 
On my Sarge machine:

roberto@miami:~$ which cc
/usr/bin/cc
roberto@miami:~$ ls -l /usr/bin/cc
lrwxrwxrwx  1 root root 20 2005-03-22 23:48 /usr/bin/cc -> /etc/alternatives/cc
roberto@miami:~$ ls -l /etc/alternatives/cc
lrwxrwxrwx  1 root root 12 2005-04-03 01:05 /etc/alternatives/cc -> /usr/bin/gcc
roberto@miami:~$ ls -l /usr/bin/gcc
lrwxrwxrwx  1 root root 7 2005-04-03 01:04 /usr/bin/gcc -> gcc-3.3

Do you have the plain gcc package installed?

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: