| Summary: | net-p2p/mldonkey-2.6.4-r2 failed to compile | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christoph Gysin <christoph.gysin> |
| Component: | Current packages | Assignee: | Gentoo net-p2p team <net-p2p> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Full compilation log
mldonkey-2.6.4-r2.ebuild.patch |
||
|
Description
Christoph Gysin
2005-10-03 01:33:14 UTC
*** Bug 107963 has been marked as a duplicate of this bug. *** please post your emerge info. also: are you installing mldonkey in "standart" way? i mean with 'emerge mldonkey'? or maybe you're using ebuild ... unpack/compile/install ? if you're using emerge, please attach full compilation log either I'm doing a "emerge -avt world" to update my system to the current stable tree. $ emerge info Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r1, 2.6.11-hardened-r14 i686) ================================================================= System uname: 2.6.11-hardened-r14 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage//packages/x86/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 bash-completion berkdb crypt cscope curl dlloader gd hardened imagemagick imap maildir mailwrapper mysql ncurses no-htdocs offensive pic qmail readline samba session slang snmp spamassassin ssl tcpd threads tiff truetype unicode userlocales vhosts x86 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS Full compilation log follows as attachment. Created attachment 69839 [details]
Full compilation log
Did you run ocaml-rebuild.sh after updating to your current Ocaml version? Please test with Ocaml 3.08.4. ocaml-3.08.4 did the trick. Please fix the dependency in mldonkey-2.6.4*, and either mark ocaml-3.08.4 stable or mldonkey-2.6.4* unstable. Created attachment 69990 [details, diff]
mldonkey-2.6.4-r2.ebuild.patch
dendency fix
(In reply to comment #6) > ocaml-3.08.4 did the trick. Thats weird, as there were no relevant changes to src/utils/lib/options.* since April 23rd, 2005. Ocaml 3.08.4 was released in August 2005. I will test compiling MLDonkey CVS with Ocaml 3.08.3 and report back. ocamlc version is 3.08.3 ocamlopt version is 3.08.3 Compiling works on Gentoo, but Ocaml and MLdonkey were compiled without ebuilds. Please post the output of: gdlib-config --libs From your compile log: checking for gdlib-config... gdlib-config checking for gdImageCreate in -lgd... yes checking for png_create_read_struct in -lpng... yes checking for gdImagePng in -lgd... no checking for gdImagePng in -lgd... no configure: png support not available in libgd checking for jpeg_CreateCompress in -ljpeg... yes checking for gdImageJpeg in -lgd... no checking for gdImageJpeg in -lgd... no configure: jpeg support not available in libgd checking support for graphical statistics... no You have libgd installed but MLDonkey could not find png or jpg support, thats weird. Please also post config.log from MLDonkey. My gd was compiled without jpeg and png support. But how is this related? I also tried compiling mldonkey without the gd USE flag (see OP). $ gdlib-config --libs -lfreetype -lz -lm (In reply to comment #6) > ocaml-3.08.4 did the trick. > > Please fix the dependency in mldonkey-2.6.4*, and either mark ocaml-3.08.4 > stable or mldonkey-2.6.4* unstable. Chris: if you've got time, i'd like to ask you to test it againg with ocaml-3. 08.3. i suppose you had your instalation broken somehow mldonkey-2.6.4-r2 compiled fine after I remerged ocaml-3.08.3. Strange indeed. Sorry for wasting your time. Please close this bug with INVALID. Comment on attachment 69990 [details, diff]
mldonkey-2.6.4-r2.ebuild.patch
please ignore this
sure - no problem;) i'm glad to hear it finally works ;] |