Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mtpfs-0.9 no configure script found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
siebz0r
n00b
n00b


Joined: 18 Feb 2009
Posts: 25

PostPosted: Wed Sep 09, 2009 8:55 pm    Post subject: mtpfs-0.9 no configure script found Reply with quote

I'm trying to emerge mtpfs 0.9, but it fails with this error:
build.log:
Quote:

>>> Unpacking source...
>>> Unpacking mtpfs-0.9.tar.gz to /var/tmp/portage/sys-fs/mtpfs-0.9/work
>>> Source unpacked in /var/tmp/portage/sys-fs/mtpfs-0.9/work
>>> Compiling source in /var/tmp/portage/sys-fs/mtpfs-0.9/work ...
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: sys-fs/mtpfs-0.9 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 49: Called src_compile
^[[31;01m*^[[0m environment, line 2242: Called econf '--disable-debug'
^[[31;01m*^[[0m ebuild.sh, line 539: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m die "no configure script found"
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m no configure script found
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/sys-fs/mtpfs-0.9/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-fs/mtpfs-0.9/temp/environment'.
^[[31;01m*^[[0m This ebuild is from an overlay: '/usr/local/portage/'
^[[31;01m*^[[0m


This is the ebuild:
Quote:

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

S="${WORKDIR}/mtpfs-${PV}.orig"

DESCRIPTION="A FUSE filesystem providing access to MTP devices."
HOMEPAGE="http://www.adebenham.com/mtpfs/"
SRC_URI="http://www.adebenham.com/mtpfs/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

DEPEND=">=sys-fs/fuse-2.2
>=dev-libs/glib-2.6
>=media-libs/libmtp-0.0.9"

RDEPEND="${DEPEND}"

src_compile() {
econf $(use_enable debug)
emake
}

src_install() {
einstall || die "einstall failed"
dodoc AUTHORS INSTALL NEWS README ChangeLog
}

pkg_postinst() {
einfo "To mount your MTP device, issue:"
einfo " /usr/bin/mtpfs <mountpoint>"
einfo
einfo "To unmount your MTP device, issue:"
einfo " /usr/bin/fusermount -u <mountpoint>"

if use debug; then
einfo
einfo "You have enabled debugging output."
einfo "Please make sure you run mtpfs with the -d flag."
fi
}


I've seen this error appear when the filesystem is mounted with noexec, but this isn't the source of the problem now.
I've no clue whatsoever, ebuild is the same as the one here
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Thu Sep 10, 2009 9:28 pm    Post subject: Reply with quote

Hi, I have written an ebuild for mtpfs. It does not include debug flag but this is not important for your case.
Code:
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

DESCRIPTION="MTPFS is a Fuse filesystem based on libmtp"
HOMEPAGE="http://adebenham.com/mtpfs"
SRC_URI="http://adebenham.com/mtpfs/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="sys-fs/fuse
      >=dev-libs/glib-2.18.4-r1
      media-libs/libmtp"
RDEPEND="${DEPEND}"

src_configure() {
   econf || die 'econf failed'
}

src_compile() {
   emake || die 'emake failed'
}

src_install() {
   emake DESTDIR="${D}" install || die 'installation failed'
   dodoc AUTHORS INSTALL NEWS README ChangeLog
}

pkg_postinst() {
   einfo "To mount your MTP device, issue:"
   einfo " /usr/bin/mtpfs <mountpoint>"
   einfo
   einfo "To unmount your MTP device, issue:"
   einfo " /usr/bin/fusermount -u <mountpoint>"
}

In addition, you can not compile mtpfs with above ebuild.
Code:
S="${WORKDIR}/mtpfs-${PV}.orig"

You should delete this line from ebuild. It will works...
Back to top
View user's profile Send private message
siebz0r
n00b
n00b


Joined: 18 Feb 2009
Posts: 25

PostPosted: Sat Sep 12, 2009 2:46 pm    Post subject: Reply with quote

purak, You RULE!

I replaced the ebuild with your ebuild and it installed without any problems :)
Thanx ;)
Back to top
View user's profile Send private message
purak
Apprentice
Apprentice


Joined: 21 Jun 2008
Posts: 160
Location: /dev/urandom

PostPosted: Sat Sep 12, 2009 2:53 pm    Post subject: Reply with quote

dont mention it :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum