|
|

楼主 |
发表于 2009-4-11 02:17:31
|
显示全部楼层
谢谢。我决定自己写个ebuild来装。用gentoo这么久,不会写ebuild有点丢脸。所以我用sshfs-fuse的ebuild做蓝本:- # cat fuse-convmvfs-0.2.2.ebuild
- # Copyright 1999-2009 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- # $Header: $
- inherit eutils
- DESCRIPTION="a userland file system to convert filename charset"
- HOMEPAGE="http://fuse-convmvfs.sourceforge.net/"
- SRC_URI="http://superb-west.dl.sourceforge.net/sourceforge/fuse-convmvfs/fuse-convmvfs-0.2.4.tar.gz"
- LICENSE=""
- SLOT="0"
- KEYWORDS="~amd64"
- IUSE=""
- DEPEND="sys-fs/fuse"
- RDEPEND=""
- src_compile() {
- econf || die "Error: econf failed!"
- emake || die "Error: emake filed!"
- }
- src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- # dodoc README NEWS ChangeLog AUTHORS
- }
复制代码
結果一跑,错误:- # ebuild fuse-convmvfs-0.2.2.ebuild clean compile
- * fuse-convmvfs-0.2.4.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
- * checking ebuild checksums ;-) ... [ ok ]
- * checking auxfile checksums ;-) ... [ ok ]
- * checking miscfile checksums ;-) ... [ ok ]
- * checking fuse-convmvfs-0.2.4.tar.gz ;-) ... [ ok ]
- >>> Unpacking source...
- >>> Unpacking fuse-convmvfs-0.2.4.tar.gz to /var/tmp/portage/sys-fs/fuse-convmvfs-0.2.2/work
- >>> Source unpacked in /var/tmp/portage/sys-fs/fuse-convmvfs-0.2.2/work
- >>> Compiling source in /var/tmp/portage/sys-fs/fuse-convmvfs-0.2.2/work ...
- *
- * ERROR: sys-fs/fuse-convmvfs-0.2.2 failed.
- * Call stack:
- * ebuild.sh, line 48: Called src_compile
- * environment, line 2216: Called econf
- * ebuild.sh, line 530: Called die
- * The specific snippet of code:
- * die "no configure script found"
- * The die message:
- * no configure script found
- *
- *
复制代码 ...
configure 不是好好的在/var/tmp/portage/sys-fs/fuse-convmvfs-0.2.2/work/fuse-convmvfs-0.2.2 吗?? |
|