日期:2014-05-16  浏览次数:20759 次

高分求编译问题!在线等~~UP也有分。
sean@sean-desktop:~/msilbc-2.0.0/ilbc-rfc3951$   ./configure   make   make   install
configure:   WARNING:   you   should   use   --build,   --host,   --target
configure:   WARNING:   you   should   use   --build,   --host,   --target
configure:   WARNING:   you   should   use   --build,   --host,   --target
checking   for   a   BSD-compatible   install...   /usr/bin/install   -c
checking   whether   build   environment   is   sane...   yes
checking   for   gawk...   gawk
checking   whether   make   sets   $(MAKE)...   yes
checking   for   make-gcc...   no
checking   for   gcc...   gcc
checking   for   C   compiler   default   output   file   name...   a.out
checking   whether   the   C   compiler   works...   yes
checking   whether   we   are   cross   compiling...   no
checking   for   suffix   of   executables...
checking   for   suffix   of   object   files...   o
checking   whether   we   are   using   the   GNU   C   compiler...   yes
checking   whether   gcc   accepts   -g...   yes
checking   for   gcc   option   to   accept   ISO   C89...   none   needed
checking   for   style   of   include   used   by   make...   GNU
checking   dependency   style   of   gcc...   gcc3
checking   build   system   type...   Invalid   configuration   `make ':   machine   `make '   not   recognized
configure:   error:   /bin/sh   ./config.sub   make   failed


------解决方案--------------------
首先,命令之间要加上 "; "吧
或者一个一个执行
先执行./configure
然后make
然后make install

要么就是
./configure ; make ; make install
------解决方案--------------------
中间是 分号
------解决方案--------------------
试一下
./configure && make && make install
或者三个命令分别依次执行
------解决方案--------------------
分3次执行不行吗?
如果想一次执行写个脚本会好些吧.
------解决方案--------------------
"Could not find libreadline headers or library "

老兄,你不会看这个么.系统缺少 libreadline 头文件或者库文件

不会不认识鸟语吧
------解决方案--------------------
没有readline库,装一个readline-devel包