Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297034 - net-p2p/mldonkey-3.0.0.ebuild compile failed if ocaml3.11 installed
Summary: net-p2p/mldonkey-3.0.0.ebuild compile failed if ocaml3.11 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 14:30 UTC by s7v7nislands
Modified: 2010-09-29 13:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description s7v7nislands 2009-12-15 14:30:50 UTC
the ebuild hard encode option: --enable-ocamlver=3.10. so when ocaml3.11 installed , compiler failed. 

Reproducible: Always

Steps to Reproduce:
when ocaml installed is not 3.10




--- mldonkey-3.0.0.ebuild.old   2009-12-15 22:28:55.000000000 +0800
+++ mldonkey-3.0.0.ebuild       2009-12-15 22:16:01.000000000 +0800
@@ -87,7 +87,7 @@
                $(use_enable gnutella gnutella2) \
                $(use_enable gd) \
                $(use_enable magic) \
-               --enable-ocamlver=3.10 \
+               --enable-ocamlver=3.11 \
                ${myconf} || die "econf failed"
 }

just for me.
Comment 1 Mattia Rossi 2010-01-13 08:53:52 UTC
Same here. The suggested fix works.
Comment 2 enrique sardon 2010-03-21 21:45:16 UTC
econf \
		--sysconfdir=/etc/mldonkey \
		--sharedstatedir=/var/mldonkey \
		--localstatedir=/var/mldonkey \
		--enable-checks \
		--disable-batch \
		$(use_enable fasttrack) \
		$(use_enable gnutella) \
		$(use_enable gnutella gnutella2) \
		$(use_enable gd) \
		$(use_enable magic) \
		--enable-ocamlver=3.11 \
		${myconf} || die "econf failed"


Umm just it :P and it works, please add it please as an USEflag or by default
Comment 3 spiralvoice 2010-05-22 19:54:43 UTC
This bug is fixed in MLDonkey 3.0.2
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2010-09-29 13:34:45 UTC
Use mldonkey-3.0.5