LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   avr-ranlib: Command not found (https://www.linuxquestions.org/questions/linux-software-2/avr-ranlib-command-not-found-613081/)

oguzhana 01-12-2008 09:22 AM

avr-ranlib: Command not found
 
hi,
I am trying to install avr gcc compiler, I could install the binutils 2.15 first but I am stuck at gcc. I am going through the following document :
http://www.tuxgraphics.org/electroni...ticle352.shtml

I can run make without any trouble I guess, it reaches to the end but while running make install I got following error:

avr-ranlib /usr/local/avr/lib/gcc/avr/3.4.2/libgcc.a
make[2]: avr-ranlib: Command not found
make[2]: *** [install] Error 127
make[2]: Leaving directory `/home/oguzhan/Desktop/Oguzhan/gcc-3.4.2/obj-avr/gcc'
make[1]: *** [install-multilib] Error 2
make[1]: Leaving directory `/home/oguzhan/Desktop/Oguzhan/gcc-3.4.2/obj-avr/gcc'
make: *** [install-gcc] Error 2

avr-ranlib in my path under directory /usr/local/avr/bin and it is executable. What might be the problem with it? I can supply any info related, could you help me to fix?

author_unknown 01-12-2008 10:41 AM

navigate to the directory where the file is and execute ls -l <command name> , check out that whether the file attributes grant u <user> the execute permission or not.

oguzhana 01-12-2008 11:05 AM

It had permissions already, I even changed it with
chmod 777 to give every permission to everybody...


All times are GMT -5. The time now is 11:00 PM.