noob fight with linux permission (cc1plus not such file...)

support for the powerpc toolchain
Post Reply
naxil
Posts: 4
Joined: Sun Jun 03, 2012 11:39 pm

noob fight with linux permission (cc1plus not such file...)

Post by naxil » Wed Oct 23, 2013 2:07 am

hello, i have upgrade my ubuntu from 10.04 to 13.10, i have a copy of devkitPRO to other hd, i have copy again it to /home/naxil/devkitPRO
after i have write 3 line are in the bottom of my ~/.bashrc

#devkitpro
export DEVKITPRO=/home/naxil/devkitPRO
export DEVKITPCC=/home/naxil/devkitPRO/devkitPPC
PATH=$PATH:$DEVKITPPC/bin

after i have do source ~/.bashrc

i try to do make.. and i get this error

powerpc-eabi-g++: error trying to exec 'cc1plus': execvp: No such file or directory
make[2]: *** [ChannelHandler.o] Errore 1
make[1]: *** [build] Errore 2
make: *** [all] Errore 2

i have found the cc1plus file on my system (i have install build-essential and gcc and g++ packets)

naxil@naxil-old:/usr/lib/gcc/i686-linux-gnu/4.8$ ll
totale 46360
drwxr-xr-x 4 root root 4096 ott 23 01:49 ./
drwxr-xr-x 3 root root 4096 ott 12 06:49 ../
-rwxr-xr-x 1 root root 12905652 ott 12 06:52 cc1*
-rwxr-xr-x 1 root root 13946068 ott 12 06:57 cc1plus*

what i can do? i not sure what cc1 and cc1plus are.. but the powerpc-eabi-g++ not found it?

before (with 10,04) the same svn works good... (only with root, but work goods)...

any help?

suprsmashkng
Posts: 3
Joined: Sat Jul 16, 2011 8:27 pm

Re: noob fight with linux permission (cc1plus not such file.

Post by suprsmashkng » Sat Nov 30, 2013 9:30 am

Not sure if this is the actual problem, but it looks like you misspelled "DEVKITPPC" in the second export line of the ~/.bashrc snippet you provided, which would cause your PATH to be incomplete and potentially result in "missing" binaries.

naxil
Posts: 4
Joined: Sun Jun 03, 2012 11:39 pm

Re: noob fight with linux permission (cc1plus not such file.

Post by naxil » Sun Apr 13, 2014 1:30 am

i have solve, the backup of devkitpro come from ntfs , now on ext4 i have add all chmod+x to binaries and all the right privilege, now i can compile

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests