Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

xmule 1.6.1 install error

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
eunuque
n00b
n00b
User avatar
Posts: 62
Joined: Tue Aug 19, 2003 4:27 pm

xmule 1.6.1 install error

  • Quote

Post by eunuque » Tue Oct 21, 2003 9:45 am

Hi all,

I just tried to update xmule from 1.6.0 to 1.6.1
It compiles but I have an error while installing:

--------------------------------------
Making install in po
make[1]: Entering directory `/var/tmp/portage/xmule-1.6.1/work/xmule-1.6.1/po'
/bin/sh `case ".././mkinstalldirs" in /*) echo ".././mkinstalldirs" ;; *) echo "../.././mkinstalldirs" ;; esac` /var/tmp/portage/xmule-1.6.1/image//usr/share
../.././mkinstalldirs: ../.././mkinstalldirs: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/var/tmp/portage/xmule-1.6.1/work/xmule-1.6.1/po'
make: *** [install-recursive] Error 1

!!! ERROR: net-p2p/xmule-1.6.1 failed.
!!! Function einstall, Line 347, Exitcode 2
!!! einstall failed
--------------------------------------

The Makefile in /var/tmp/portage/xmule-1.6.1/work/xmule-1.6.1/po
checks one level too high to find mkinstalldirs.

I can always try to install it by hand (i.e. not using the ebuild) but
it would be nicer to get the ebuild work...
Or may be it is a well know issue?

Any hints?
Top
eunuque
n00b
n00b
User avatar
Posts: 62
Joined: Tue Aug 19, 2003 4:27 pm

  • Quote

Post by eunuque » Tue Oct 21, 2003 11:19 am

Another interesting thing is that the "manual" install worked perfectly with the source from /usr/portage/distfiles ...
Top
ProtectionFault
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Fri Nov 14, 2003 3:42 pm
Location: /dev/zero

  • Quote

Post by ProtectionFault » Sat Nov 29, 2003 2:18 pm

I had the same problem...
I modified my ebuild (/usr/portage/net-p2p/xmule/xmule-1.6.1.ebuild)

Code: Select all

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-p2p/xmule/xmule-1.6.1.ebuild,v 1.4 2003/10/18 23:19:16 scandium Exp $
                                                                                
MY_P=${P//a}
S=${WORKDIR}/${MY_P}
                                                                                
DESCRIPTION="wxWindows based client for the eDonkey/eMule/lMule network"
HOMEPAGE="http://www.xmule.org/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
                                                                                
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
 
IUSE=""
 
DEPEND=">=x11-libs/wxGTK-2.4.1
        >=sys-libs/zlib-1.1.4"
 
src_unpack() {
        unpack ${A}
        cd ${S}
        epatch ${FILESDIR}/${P}-mkinstalldir.patch
}
 
pkg_setup() {
        # FIXME: Is this really how we want to do this ?
        GREP=`grep ' unicode' /var/db/pkg/x11-libs/wxGTK*/USE`
        if [ "${GREP}" != "" ]; then
                eerror "This package doesn't work with wxGTK"
                eerror "compiled with gtk2 and unicode in USE"
                eerror "Please re-compile wxGTK with -unicode"
                die "aborting..."
        fi
}
 
src_compile () {
        aclocal
        autoconf
        autoheader
        automake
 
        econf || die
        MAKEOPTS="${MAKEOPTS} -j1" emake || die
}
 
src_install () {
        einstall || die
}
and created a patch (very dirty, i know... :lol: ) (/usr/portage/net-p2p/xmule/files/xmule-1.6.1-mkinstalldir.patch)

Code: Select all

diff -urN xmule-1.6.1/po/Makefile.in.in xmule-1.6.1.new/po/Makefile.in.in
--- xmule-1.6.1/po/Makefile.in.in       2003-11-29 14:43:39.000000000 +0100
+++ xmule-1.6.1.new/po/Makefile.in.in   2003-11-29 14:47:43.000000000 +0100
@@ -27,7 +27,7 @@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 MKINSTALLDIRS = @MKINSTALLDIRS@
-mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
 
 GMSGFMT = @GMSGFMT@
 MSGFMT = @MSGFMT@
Now it works...
ASUS Z87-PLUS, i7-4770, 2x8GB DDR3-1600, 700W OCZ Power Supply, EVGA GTX760 4GB, 3TB HDD, Gentoo ~amd64 (3.10.10, dm-crypt full disk, awesome)
Top
Post Reply

3 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic