[fcitx] make uninstall 报错

34 views
Skip to first unread message

青月

unread,
Feb 23, 2012, 3:42:38 AM2/23/12
to fc...@googlegroups.com
我以前下载的源码文件删除了,于是重新下载了一份4.2的代码。
解压后,进入目录,执行cmake ,并在后面指定了我以前安装fcitx的目录。
然后执行make  uninstall。提示错误:
bash-4.1# make uninstall
Scanning dependencies of target uninstall
CMake Error at cmake_uninstall.cmake:2 (message):
  Cannot find install manifest: "/root/test/fcitx-4.2.0/install_manifest.txt"


make[3]: *** [CMakeFiles/uninstall] 错误 1
make[2]: *** [CMakeFiles/uninstall.dir/all] 错误 2
make[1]: *** [CMakeFiles/uninstall.dir/rule] 错误 2
make: *** [uninstall] 错误 2
bash-4.1# ls
提示缺少install_manifest.txt。
我以为下载错误,重新下载。还是这个问题。
后来依次又执行了make 。执行完make后,还是没有install_manifest.txt。
索性再次执行make  install。此刻install_manifest.txt终于出现

想请教下,是否我这样卸载不对呢?为什么执行了cmake后没出现install_manifest.txt文件。
我看到http://fcitx.github.com/handbook/fcitx.html#sect1-uninstall这里对uninstall是这样描述的:
“如果你 cmake 之后产生的文件都还在。 用 root 权限执行 make uninstall 即可卸载了。 如果 cmake 之后的目录已经被你删除了,那就把代码重新下载下来,cmake 之后 make uninstall。”

Weng Xuetian

unread,
Feb 23, 2012, 3:53:20 AM2/23/12
to fc...@googlegroups.com
唔,make install 的时候才会生成那个文件。
你install 之后再 uninstall 吧 ……

2012/2/23 青月 <liushuiwu...@gmail.com>:

> --
> 您收到此邮件是因为您订阅了 Google 网上论坛的“fcitx”论坛。
> 要向此网上论坛发帖,请发送电子邮件至 fc...@googlegroups.com
> 要取消订阅此网上论坛,请发送电子邮件至 fcitx+un...@googlegroups.com
> 若有更多问题,请通过 http://groups.google.com/group/fcitx?hl=zh-CN 访问此网上论坛。

依云

unread,
Feb 23, 2012, 3:54:55 AM2/23/12
to fc...@googlegroups.com

打包吧,这样卸载容易。

--
Best regards,
lilydjwg

Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

青月

unread,
Feb 23, 2012, 5:21:30 AM2/23/12
to fc...@googlegroups.com
这个。。这个。。。
目前水平有限。。。

青月

unread,
Feb 23, 2012, 5:23:32 AM2/23/12
to fc...@googlegroups.com
嗯。我就是make  install 后在执行make uninstall的。
另外,http://fcitx.github.com/handbook/fcitx.html#sect1-uninstall是否应该提示不执行make install 无法生成所需文件呢?
另外个人感觉,要是指定了安装目录,实在不行,就直接暴力删除,嘿嘿

在 2012年2月23日 下午4:53,Weng Xuetian <wen...@gmail.com>写道:
唔,make install 的时候才会生成那个文件。
你install 之后再 uninstall 吧 ......

Weng Xuetian

unread,
Feb 23, 2012, 5:23:56 AM2/23/12
to fc...@googlegroups.com
……前面说了他用slackware……你就饶了他吧……

2012/2/23 青月 <liushuiwu...@gmail.com>:

Weng Xuetian

unread,
Feb 23, 2012, 5:24:17 AM2/23/12
to fc...@googlegroups.com
那你为何不都装比如 /opt/fcitx 下面

2012/2/23 青月 <liushuiwu...@gmail.com>:

青月

unread,
Feb 23, 2012, 5:29:21 AM2/23/12
to fc...@googlegroups.com
理解万岁

在 2012年2月23日 下午6:23,Weng Xuetian <wen...@gmail.com>写道:
......前面说了他用slackware......你就饶了他吧......
360.gif

青月

unread,
Feb 23, 2012, 5:30:41 AM2/23/12
to fc...@googlegroups.com
这个我也没什么原因。忘了什么时候看了篇文章,里面编译过一个软件,路径指定到/usr/local下,所以后来我都安装到/usr/local目录下了。

依云

unread,
Feb 23, 2012, 5:35:28 AM2/23/12
to fc...@googlegroups.com
slackware....应该也可以像 Arch 那样改下实际安装的目的地,弄个 fakeroot
环境,然后 find -type f 下获取文件列表,再用 tar 复制到 / 下。要卸载时直
接按文件列表删好了。是好麻烦,还是装个 pacman 吧。。。

On Thu, Feb 23, 2012 at 06:23:56PM +0800, Weng Xuetian wrote:
> ......前面说了他用slackware......你就饶了他吧......

青月

unread,
Feb 23, 2012, 5:38:43 AM2/23/12
to fc...@googlegroups.com
装pacman。。。。。
亚历山大。。。
Reply all
Reply to author
Forward
0 new messages