Gentoo rox-2.10启动错误解决

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:54

[font=微软雅黑, Tohoma]Gentoo更新到3.12.6内核后,重编译所有包,打开rox-2.10错误:
ERROR from /usr/lib64/rox/ROX-Filer/AppRun:
[font=微软雅黑, Tohoma] I cannot find an executable binary.
[font=微软雅黑, Tohoma] Trying to compile...

解决办法:
下载patch:[color=#498b31]https://464246.bugs.gentoo.org/attachment.cgi?id=367872]https://464246.bugs.gentoo.org/attachment.cgi?id=367872
#patch patch --backup-if-mismatch /usr/portage/rox-base/rox/rox-2.10.ebuild *.patch
#ebuild /usr/portage/rox-base/rox/rox-2.10.ebuild digest
重编译rox
emerge -avt rox

附patch代码:

--- rox-2.10.ebuild 2014-01-14 22:27:47.000000000 -0500
+++ rox-2.10-r1.ebuild 2014-01-14 21:14:02.000000000 -0500
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/rox-base/rox/rox-2.10.ebuild,v 1.7 2012/05/03 04:40:44 jdhore Exp $
+# $Header: $

-EAPI=2
-inherit eutils multilib
+EAPI=5
+inherit eutils multilib autotools-utils

MY_P="rox-filer-${PV}"
S="${WORKDIR}/${MY_P}"
@@ -14,7 +14,7 @@

LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ppc sparc x86"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
IUSE="+svg +video"

RDEPEND="x11-libs/gtk+:2
@@ -39,19 +39,21 @@
MIMEDIR="/usr/share/mime"
MIMECONFDIR="/etc/xdg/rox.sourceforge.net"

+PATCHES=( "${FILESDIR}"/${P}-nostrip.patch )
+ECONF_SOURCE="${S}/${APPNAME}/src"
+AUTOTOOLS_AUTORECONF="yes"
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-nostrip.patch
+ pushd "${ECONF_SOURCE}"
+ sed -r -i "s:(AC_CHECK_LIB\(intl, gettext\)):\1\n\nAC_SEARCH_LIBS([floor],[m])\nAC_SEARCH_LIBS([dlsym],[dl]):" "configure.in"
+ autotools-utils_src_prepare
+ popd
}

src_compile() {
+ autotools-utils_src_compile
cd ${APPNAME}

- mkdir build
- pushd build
- ../src/configure
- emake
- popd
-
# don't need these directories anymore
if [ -n "${KEEP_SRC}" ]; then
pushd src

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】