LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 707|回复: 5

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

[复制链接]
发表于 2007-1-22 17:45:00 | 显示全部楼层 |阅读模式
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包,安装的  已经成功
希望知道上面出错的原因
怎样解决
发表于 2007-1-22 19:08:16 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-22 19:56:01 | 显示全部楼层

看了,不是太明白

我是新手
谢谢~~
回复 支持 反对

使用道具 举报

发表于 2007-1-22 20:45:36 | 显示全部楼层
  1. --- libstroke-0.5.1.ebuild.orig        2007-01-15 21:03:20.000000000 +0100
  2. +++ libstroke-0.5.1.ebuild        2007-01-15 21:39:59.000000000 +0100
  3. @@ -14,10 +14,12 @@
  4. IUSE=""
  5. DEPEND="|| ( x11-proto/xproto virtual/x11 )"
  6. +RDEPEND=${DEPEND}
  7. src_unpack() {
  8.         unpack "${A}"
  9.         cd "${S}"
  10. +        epatch ${FILESDIR}/${P}-Makefile.am.patch
  11.         epatch ${FILESDIR}/${P}-m4_syntax.patch
  12.         epatch ${FILESDIR}/${P}-no_gtk1.patch
  13.         eautoreconf || die 'eautoreconf failed'
复制代码
用这个patch一下libstroke的ebuild,就应该没问题了
回复 支持 反对

使用道具 举报

发表于 2007-1-23 11:02:07 | 显示全部楼层
下载那两个文件,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
就可以了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-1-24 10:38:48 | 显示全部楼层
Post by 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
就可以了



谢谢 !!!!明白了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表