当前位置: 技术问答>linux和unix
RedHat Es3 上面配置qmial的问题,编译的时候包127的错误
来源: 互联网 发布时间:2015-10-14
本文导语: 在RedHat Es3上面每次安装ucspi-tcp-0.88make的时候都会报错,如下: [root@mail11 qmail]# tar zxvf ucspi-tcp-0.88.tar.gz ucspi-tcp-0.88 ucspi-tcp-0.88/README ucspi-tcp-0.88/TODO ucspi-tcp-0.88/CHANGES ucspi-tcp-0.88/VERSION ...... ......(省略) ucspi-tcp-0.88/w...
在RedHat Es3上面每次安装ucspi-tcp-0.88make的时候都会报错,如下:
[root@mail11 qmail]# tar zxvf ucspi-tcp-0.88.tar.gz
ucspi-tcp-0.88
ucspi-tcp-0.88/README
ucspi-tcp-0.88/TODO
ucspi-tcp-0.88/CHANGES
ucspi-tcp-0.88/VERSION
......
......(省略)
ucspi-tcp-0.88/warn-shsgr
ucspi-tcp-0.88/x86cpuid.c
[root@mail11 qmail]# cd ucspi-tcp-0.88
[root@mail11 ucspi-tcp-0.88]# patch -p1 compile
chmod 755 compile
cat warn-auto.sh choose.sh
| sed s}HOME}"`head -1 conf-home`"}g
> choose
chmod 755 choose
./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
./compile tcpserver.c
./compile: line 3: exec: gcc: not found
make: *** [tcpserver.o] Error 127
[root@mail11 ucspi-tcp-0.88]# make setup check
./compile tcpserver.c
./compile: line 3: exec: gcc: not found
make: *** [tcpserver.o] Error 127
请高手指导原因。
另外文档上说ucspi-tcp-0.88.tar.gz有三个patch
http://qmail.te8.com/rpms/glibc-2.3.1/ucspi-tcp-0.88.a_record.patch
http://qmail.te8.com/rpms/glibc-2.3.1/ucspi-tcp-0.88.errno.patch
http://qmail.te8.com/rpms/glibc-2.3.1/ucspi-tcp-0.88.nobase.patch
由于http://qmail.te8.com上不去,还有一个ucspi-tcp-0.88.nobase.patch我找不到,就是前两个都是在别的包里面偶尔发现。有没有哪位好心人手头上有这三个patch,麻烦给我发个mail,实在是感谢!xiangcq@tom.com
[root@mail11 qmail]# tar zxvf ucspi-tcp-0.88.tar.gz
ucspi-tcp-0.88
ucspi-tcp-0.88/README
ucspi-tcp-0.88/TODO
ucspi-tcp-0.88/CHANGES
ucspi-tcp-0.88/VERSION
......
......(省略)
ucspi-tcp-0.88/warn-shsgr
ucspi-tcp-0.88/x86cpuid.c
[root@mail11 qmail]# cd ucspi-tcp-0.88
[root@mail11 ucspi-tcp-0.88]# patch -p1 compile
chmod 755 compile
cat warn-auto.sh choose.sh
| sed s}HOME}"`head -1 conf-home`"}g
> choose
chmod 755 choose
./choose clr trypoll iopause.h1 iopause.h2 > iopause.h
./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
./compile tcpserver.c
./compile: line 3: exec: gcc: not found
make: *** [tcpserver.o] Error 127
[root@mail11 ucspi-tcp-0.88]# make setup check
./compile tcpserver.c
./compile: line 3: exec: gcc: not found
make: *** [tcpserver.o] Error 127
请高手指导原因。
另外文档上说ucspi-tcp-0.88.tar.gz有三个patch
http://qmail.te8.com/rpms/glibc-2.3.1/ucspi-tcp-0.88.a_record.patch
http://qmail.te8.com/rpms/glibc-2.3.1/ucspi-tcp-0.88.errno.patch
http://qmail.te8.com/rpms/glibc-2.3.1/ucspi-tcp-0.88.nobase.patch
由于http://qmail.te8.com上不去,还有一个ucspi-tcp-0.88.nobase.patch我找不到,就是前两个都是在别的包里面偶尔发现。有没有哪位好心人手头上有这三个patch,麻烦给我发个mail,实在是感谢!xiangcq@tom.com
|
你好象没装开发环境,找不到gcc, 是不是没有安装开发工具包。