LTIB on Ubuntu (M5329EVB)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LTIB on Ubuntu (M5329EVB)

跳至解决方案
3,268 次查看
guilig
Contributor II
    Hi all,

I'am trying to use LTIB on my ubuntu but I have this message :

/bin/sh: Can't open gcc
make[1]: *** [arch/m68knommu/kernel/asm-offsets.s] Error 2
make: *** [prepare0] Error 2
error: Bad exit status from /home/guilig/Desktop/ltib/tmp/rpm-tmp.66672 (%build)


RPM build errors:
    Bad exit status from /home/guilig/Desktop/ltib/tmp/rpm-tmp.66672 (%build)
Build time for kernel-2.6.17.7-uc1: 9 seconds

Failed building kernel-2.6.17.7-uc1


f_buildrpms() returned an error, exiting

Started: Tue May 29 14:20:17 2007
Ended:   Tue May 29 14:20:27 2007
Elapsed: 10 seconds

These packages failed to build:
kernel-2.6.17.7-uc1
Build Failed

Can someone help me ?

Thaks a lot
标签 (1)
0 项奖励
回复
1 解答
672 次查看
guilig
Contributor II
Thanks a lot for your response.

It works.



在原帖中查看解决方案

0 项奖励
回复
3 回复数
672 次查看
bandeg
Contributor I
Could /bin/sh be linked to dash instead of bash?
I noticed that if it is linked to dash, ltib will not be able to find gcc.
 
For instance is this what you see when you do ls?
# ls -al /bin/sh
lrwxrwxrwx 1 root root 4 2006-09-20 10:10 /bin/sh -> dash
If so, you may want to use the package manger (I use Adept) and remove dash and add bash (if it isn't there already)  Then the system will associate /bin/sh with bash and it ltib should not fail.
 
Good luck, hope this solves it.
 
 
0 项奖励
回复
673 次查看
guilig
Contributor II
Thanks a lot for your response.

It works.



0 项奖励
回复
672 次查看
admin
Specialist II
Sorry for posting in old thread. I am having this same problem. But i am getting "bash" only. I am not getting "dash". But my problem exist.
0 项奖励
回复