1 |
When I try execute sed on Gentoo, I get "-bash: /usr/bin/sed: No such file or |
2 |
directory" error message. I tried installing binary version sed-4.1.5, and |
3 |
still the same result. Here is the output of strace -f -F -v sed command: |
4 |
execve("/usr/bin/sed", ["sed"], |
5 |
["MANPATH=/usr/local/share/man:/us"..., "HOSTNAME=salisbury.k12.mo.us", "TERM=xterm", "SHELL=/bin/bash", "SSH_CLIENT=64.123.230.201 |
6 |
37491 "..., "QTDIR=/usr/qt/3", "SSH_TTY=/dev/pts/2", "USER=root", "LS_COLORS=no=00:fi=00:di=01;34:l"..., "PAGER=/usr/bin/less", "CONFIG_PROTECT_MASK=/etc/terminf"..., "MAIL=/var/mail/root", "PATH=/usr/local/sbin:/usr/local/"..., "PWD=/var/log", "EDITOR=/bin/nano", "QMAKESPEC=linux-g++", "KDEDIRS=/usr", "SHLVL=1", "HOME=/root", "PYTHONPATH=/usr/lib/portage/pym", "LESS=-R -M --shift |
7 |
5", "LOGNAME=root", "GCC_SPECS=", "CVS_RSH=ssh", "SSH_CONNECTION=64.123.230.201 |
8 |
37"..., "LESSOPEN=| |
9 |
lesspipe.sh %s", "INFOPATH=/usr/share/info:/usr/sh"..., "OPENGL_PROFILE=ati", "CONFIG_PROTECT=/var/bind /usr/sh"..., "_=/usr/bin/strace", "OLDPWD=/etc/init.d"]) |
10 |
= -1 ENOENT (No such file or directory) |
11 |
dup(2) = 3 |
12 |
fcntl(3, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE) |
13 |
fstat(3, {st_dev=makedev(0, 9), st_ino=4, st_mode=S_IFCHR|0620, st_nlink=1, |
14 |
st_uid=0, st_gid=5, st_blksize=1024, st_blocks=0, st_rdev=makedev(136, 2), |
15 |
st_atime=2007/09/13-09:08:42, st_mtime=2007/09/13-09:08:42, |
16 |
st_ctime=2007/09/10-15:15:08}) = 0 |
17 |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = |
18 |
0x2aaaaaac7000 |
19 |
lseek(3, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek) |
20 |
write(3, "strace: exec: No such file or di"..., 40strace: exec: No such file |
21 |
or directory |
22 |
) = 40 |
23 |
close(3) = 0 |
24 |
munmap(0x2aaaaaac7000, 4096) = 0 |
25 |
exit_group(1) = ? |
26 |
Process 7407 detached |
27 |
|
28 |
The following is the kernel and processor I am running: |
29 |
Linux 2.6.12-gentoo-r6 #5 Thu Aug 18 07:56:24 CDT 2005 x86_64 AMD Athlon(tm) |
30 |
64 Processor 3000+ AuthenticAMD GNU/Linux |
31 |
|
32 |
Is there something wrong with the environment? |
33 |
Any help would be appreciated. |
34 |
|
35 |
Thanks, |
36 |
Kerry |
37 |
-- |
38 |
gentoo-user@g.o mailing list |