+ -
当前位置:首页 → 问答吧 → (已经解决──)安装FVWM出错,求助!!!

(已经解决──)安装FVWM出错,求助!!!

时间:2007-01-22

来源:互联网

ash: [: too many arguments
localhost ~ # emerge fvwm
Calculating dependencies... done!

>>> Emerging (1 of 2) dev-libs/libstroke-0.5.1 to /
* libstroke-0.5.1.tar.gz MD5 ;-) ... [ ok ]
* libstroke-0.5.1.tar.gz RMD160 ;-) ... [ ok ]
* libstroke-0.5.1.tar.gz SHA1 ;-) ... [ ok ]
* libstroke-0.5.1.tar.gz SHA256 ;-) ... [ ok ]
* libstroke-0.5.1.tar.gz size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking libstroke-0.5.1.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking libstroke-0.5.1.tar.gz to /var/tmp/portage/dev-libs/libstroke-0.5. 1/work
* Applying libstroke-0.5.1-m4_syntax.patch ... [ ok ]
* Applying libstroke-0.5.1-no_gtk1.patch ... [ ok ]
* Running eautoreconf in '/var/tmp/portage/dev-libs/libstroke-0.5.1/work/libstr oke-0.5.1' ...
* Requested autoconf 2.5
* Using autoconf (GNU Autoconf) 2.61
* Using autoheader (GNU Autoconf) 2.61
* Requested automake latest: 1.10
* Using automake (GNU automake) 1.10
* Using aclocal (GNU automake) 1.10
* Running aclocal ... [ ok ]
* Running libtoolize --copy --force --automake ... [ ok ]
* Running aclocal ... [ ok ]
* Running autoconf ... [ ok ]
* Running autoheader ... [ ok ]
* Running automake --add-missing --copy ... [ !! ]

* Failed Running automake !
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/dev-libs/libstroke-0.5.1/temp/automake-9504.out


!!! ERROR: dev-libs/libstroke-0.5.1 failed.
Call stack:
ebuild.sh, line 1618: Called dyn_unpack
ebuild.sh, line 755: Called qa_call 'src_unpack'
environment, line 3408: Called src_unpack
libstroke-0.5.1.ebuild, line 23: Called eautoreconf
autotools.eclass, line 94: Called eautomake
autotools.eclass, line 195: Called autotools_run_tool 'automake' '--add-miss ing' '--copy'
autotools.eclass, line 256: Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if rel evant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/libstroke-0.5. 1/temp/build.log'.

localhost ~ #







make。conf加入了 stroke



现在是自己下载的fvwm包,安装的 已经成功
希望知道上面出错的原因
怎样解决

作者: 716011   发布时间: 2007-01-22

http://bugs.gentoo.org/show_bug.cgi?id=162102

作者: wensonz   发布时间: 2007-01-23

引用:
作者: wensonz
http://bugs.gentoo.org/show_bug.cgi?id=162102
看了,不是太明白

我是新手
谢谢~~

作者: 716011   发布时间: 2007-01-23

代码:
--- libstroke-0.5.1.ebuild.orig    2007-01-15 21:03:20.000000000 +0100
+++ libstroke-0.5.1.ebuild      2007-01-15 21:39:59.000000000 +0100
@@ -14,10 +14,12 @@
 IUSE=""
 
 DEPEND="|| ( x11-proto/xproto virtual/x11 )"
+RDEPEND=${DEPEND}
 
 src_unpack() {
 unpack "${A}"
 cd "${S}"
+       epatch ${FILESDIR}/${P}-Makefile.am.patch
 epatch ${FILESDIR}/${P}-m4_syntax.patch
 epatch ${FILESDIR}/${P}-no_gtk1.patch
 eautoreconf || die 'eautoreconf failed'
用这个patch一下libstroke的ebuild,就应该没问题了

作者: Zer4tul   发布时间: 2007-01-23

下载那两个文件,ebuild的patch放到你的portage(默认是/usr/portage)/dev-libs/libstroke/下,Makefile.am.patch放到你的portage(默认是/usr/portage)/dev-libs/libstroke/files目录下,然后在libstroke下
执行: #patch libstroke-0.5.1.ebuild libstroke-0.5.1.ebuild.patch
#ebuild libstroke-0.5.1.ebuild digest
#emerge libstroke
就可以了

作者: wensonz   发布时间: 2007-01-23

引用:
作者: wensonz
下载那两个文件,ebuild的patch放到你的portage(默认是/usr/portage)/dev-libs/libstroke/下,Makefile.am.patch放到你的portage(默认是/usr/portage)/dev-libs/libstroke/files目录下,然后在libstroke下
执行: #patch libstroke-0.5.1.ebuild libstroke-0.5.1.ebuild.patch
#ebuild libstroke-0.5.1.ebuild digest
#emerge libstroke
就可以了

谢谢 !!!!明白了

作者: 716011   发布时间: 2007-01-24

热门下载

更多