Linux

Gentoo Linux Rox-2.10 Startup Error Solution

After Gentoo updated to the 3.12.6 kernel and all packages were recompiled, opening rox-2.10 threw an error: ERROR from /usr/lib64/rox/ROX-Filer/AppRun: I canno

After Gentoo updated to the 3.12.6 kernel and all packages were recompiled, opening rox-2.10 threw an error:

ERROR from /usr/lib64/rox/ROX-Filer/AppRun:

I cannot find an executable binary.

   Trying to compile...

Solution: Download the patch: 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
ebuild /usr/portage/rox-base/rox/rox-2.10.ebuild digest

Recompile rox:

emerge -avt rox

Patch code attached:

--- 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"

MIMECon="/etc/xdg/rox.sourceforge.net"

+PATCHES=( "${FILESDIR}"/${P}-nostrip.patch )

+ECONF_SOURCE="${S}/${APPNAME}/src"

+AUTOTOOLS_AUTORECon\="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

N
norvyn

独立 iOS 开发者,写字的人。在一座有海的城市,慢慢地做一些小而确定的东西。An independent iOS developer and writer — slowly making small, certain things in a city by the sea.

评论Comments

加载中…Loading…

留下评论Leave a comment