cannot remove `libtoolT': No such file or directory



I tried to compile apache APR. The instruction sayed:

All you should have to do is this:

 ./configure
  make
  make install

After ./compile I get the following output:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove `libtoolT': No such file or directory
config.status: executing default commands
config.status: include/apr.h is unchanged
config.status: include/arch/unix/apr_private.h is unchanged

When I try to do "make" the make file could not be found:

-bash: make: command not found

What is wrong here?

share improve this question
 

3 Answers

up vote 24 down vote accepted

Edit your configure file

Change the line

$RM "$cfgfile"

to

$RM -f "$cfgfile"

This will resolve the error

rm: cannot remove `libtoolT': No such file or directory

Then try run configure. That's it :)

share improve this answer
 
 
well there is another bug see: stackoverflow.com/questions/18092461/… –  confile  Aug 6 '13 at 23:57
2  
Why this bug is still there? –  c0rp  Jan 11 '16 at 18:28
 
I think they have fixed it in latest packages.. though I didnt checked it in recent past. –  Leo Prince  Jan 12 '16 at 7:22
2  
@c0rp - Good question! Just saw it in 1.5.2. –  Don Branson  Mar 10 '16 at 18:57

Just running:

touch libtoolT

is sufficient to get it to build correctly. If you really want to edit the configure file to avoid the delete you can do that, but giving it a file to remove works too.

I tried to compile apache APR. The instruction sayed:

All you should have to do is this:

 ./configure
  make
  make install

After ./compile I get the following output:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove `libtoolT': No such file or directory
config.status: executing default commands
config.status: include/apr.h is unchanged
config.status: include/arch/unix/apr_private.h is unchanged

When I try to do "make" the make file could not be found:

-bash: make: command not found

What is wrong here?

share improve this question
 

3 Answers

up vote 24 down vote accepted

Edit your configure file

Change the line

$RM "$cfgfile"

to

$RM -f "$cfgfile"

This will resolve the error

rm: cannot remove `libtoolT': No such file or directory

Then try run configure. That's it :)

share improve this answer
 
    
well there is another bug see: stackoverflow.com/questions/18092461/… –  confile  Aug 6 '13 at 23:57
2  
Why this bug is still there? –  c0rp  Jan 11 '16 at 18:28
    
I think they have fixed it in latest packages.. though I didnt checked it in recent past. –  Leo Prince  Jan 12 '16 at 7:22
2  
@c0rp - Good question! Just saw it in 1.5.2. –  Don Branson  Mar 10 '16 at 18:57

Just running:

touch libtoolT

is sufficient to get it to build correctly. If you really want to edit the configure file to avoid the delete you can do that, but giving it a file to remove works too.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值