View previous topic :: View next topic |
Author |
Message |
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Mon Feb 10, 2003 10:13 am Post subject: execvp Permission denied |
|
|
Trying to emerge gnome today, i get this error
Code: |
>>> md5 ;-) ladspa_sdk_1.12.tgz
>>> Unpacking source...
>>> Unpacking ladspa_sdk_1.12.tgz
>>> Source unpacked.
cc -I. -Wall -Werror -march=athlon-xp -O3 -pipe -fPIC -o plugins/amp.o -c plugins/amp.c
make: execvp: cc: Permission denied
make: *** [../plugins/amp.so] Error 127
!!! ERROR: media-libs/ladspa-sdk-1.12 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
|
i'm logged as root...
how can i fix?
John |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Feb 10, 2003 5:10 pm Post subject: |
|
|
Do you have grsecurity enabled in your kernel? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Mon Feb 10, 2003 6:10 pm Post subject: |
|
|
mmm yep..
i had vanilla-source, but now i use gentoo's... and i have set security lvl "low".
John |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Feb 10, 2003 8:10 pm Post subject: |
|
|
low shouldn't cause this, although it's something to keep in mind. What does "which cc" say, and is this file executable? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Mon Feb 10, 2003 8:38 pm Post subject: |
|
|
Code: |
bash-2.05b# which cc
which: no cc in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/X11R
6/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1
_beta/bin:/opt/blackdown-jdk-1.4.1_beta/jre/bin:/usr/qt/3/bin)
|
???
even more confused
John |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Mon Feb 10, 2003 8:40 pm Post subject: |
|
|
Code: |
bash-2.05b# cd /usr/bin/
bash-2.05b# ls -l cc
-rw-r--r-- 1 root root 0 Feb 8 14:43 cc
|
must set this as executable?
I'll try
[edit] get a differente error (I've set cc executable)
Code: |
>>> md5 ;-) ladspa_sdk_1.12.tgz
>>> Unpacking source...
>>> Unpacking ladspa_sdk_1.12.tgz
>>> Source unpacked.
cc -I. -Wall -Werror -march=athlon-xp -O3 -pipe -fPIC -o plugins/amp.o -c plugins/amp.c
ld -o ../plugins/amp.so plugins/amp.o -shared
ld: cannot open plugins/amp.o: No such file or directory
make: *** [../plugins/amp.so] Error 1
!!! ERROR: media-libs/ladspa-sdk-1.12 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)
|
John |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Mon Feb 10, 2003 8:46 pm Post subject: |
|
|
maybe you should run etc-update && source /etc/profile ? _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Feb 10, 2003 8:49 pm Post subject: |
|
|
What version of gcc-config do you have installed? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Mon Feb 10, 2003 9:09 pm Post subject: |
|
|
antonik: did before posting, lead to nothing
rac:
Code: |
bash-2.05b$ qpkg -i gcc-config
sys-devel/gcc-config-1.3.1 *
Utility to change the gcc compiler being used. [ http://www.gentoo.org/ ]
sys-devel/gcc-config-1.2.7
Utility to change the gcc compiler being used. [ http://www.gentoo.org/ ]
sys-devel/gcc-config-1.3.0
Utility to change the gcc compiler being used. [ http://www.gentoo.org/ ]
sys-devel/gcc-config-1.2.9
Utility to change the gcc compiler being used. [ http://www.gentoo.org/ ]
sys-devel/gcc-config-1.3.1
Utility to change the gcc compiler being used. [ http://www.gentoo.org/ ]
|
thanks guys, i'm a bit confused
John |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Mon Feb 10, 2003 11:05 pm Post subject: |
|
|
maybe you should get a binary gcc and compile a new gcc? _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Tue Feb 11, 2003 5:42 pm Post subject: |
|
|
ok, today i managed to emerge -u system ...
everything went fine, but i still have this error while tryng to emerge new XFree or enlightenment-cvs or gnome2 (where it finds the error i've post above )
I'm far from the solution... as soon as I can i'll post the error i have with XFree
John |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Tue Feb 11, 2003 8:00 pm Post subject: |
|
|
Code: |
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.99.4/work/xc/lib/GL/dri'
installing in lib/GL/GL...
make[4]: Entering directory `/var/tmp/portage/xfree-4.2.99.4/work/xc/lib/GL/GL'
gcc -m32 -c -o ../../../lib/GL/glx/glapi_x86.o ../../../lib/GL/glx/glapi_x86.S
../../../lib/GL/glx/glapi_x86.S:2:22: assyntax.h: No such file or directory
../../../lib/GL/glx/glapi_x86.S:3:26: glapioffsets.h: No such file or directory
make[4]: *** [../../../lib/GL/glx/glapi_x86.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.99.4/work/xc/lib/GL/GL'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.99.4/work/xc/lib/GL'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.99.4/work/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.99.4/work/xc'
make: *** [install] Error 2
!!! ERROR: x11-base/xfree-4.2.99.4 failed.
!!! Function src_install, Line 323, Exitcode 2
!!! (no error message)
bash-2.05b#
|
this is the error i get with Xfree..
any suggestion?
John |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Feb 11, 2003 10:26 pm Post subject: |
|
|
do you have the "dri" thing in the kernel? _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Tue Feb 11, 2003 10:59 pm Post subject: |
|
|
yes, I've controlled and I have DRI in kernel (not module)
the strange thing is that while tryng to check my kernel configuration i cd /usr/src/linux and typed make menuconfig
well... it says "gcc execvp: permission denied". gcc was without exec permissions.... and i don't know why!!!! Even g++..
I really don't know what is going on here :p
John |
|
Back to top |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Wed Feb 12, 2003 12:50 am Post subject: |
|
|
odd stuff indeed. if i where you i whould do a complete reinstall from a knoppix cd
or you can try something like emerge -e world (reemerge everything)
but i whould go with the knoppix option. _________________ NoManNoProblem
Get lost before you get shot. |
|
Back to top |
|
|
john Doe n00b
Joined: 28 Jan 2003 Posts: 31
|
Posted: Wed Feb 12, 2003 11:38 am Post subject: |
|
|
antonik wrote: | odd stuff indeed. if i where you i whould do a complete reinstall from a knoppix cd
or you can try something like emerge -e world (reemerge everything)
but i whould go with the knoppix option. |
eheh I like to try to solve problems before drastic measures :p
btw, everything seems to work now.
I managed to #emerge -u world toniught, and everything went fine.
It seems to be permissions on some /bin/ executables, like gcc and cc and g++ that weren't executables no more (-rw-r--r--).
The only thing I don't understand right now is why they became no executable and how (everything worked before)... and 'm sorry that I don't remember last emerges before getting with the problem.
However, thanks for the help
John |
|
Back to top |
|
|
|