Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installare aMule-Adunanza
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3 ... 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Fri Jun 17, 2005 9:10 pm    Post subject: Installare aMule-Adunanza Reply with quote

sto installando l'amule con la patch adunanza, ho scaricato l'ebuild ma:
Code:
   # ebuild amule-2.0.0_rc8.ebuild digest
: command not foundnet-p2p/amule/amule-2.0.0_rc8.ebuild: line 4:
.eclass: No such file or directoryne 1458: /usr/portage/eclass/wxwidgets

!!! ERROR: net-p2p/amule-2.0.0_rc8 failed.
!!! Function inherit, Line 1459, Exitcode 1
.eclass in inherit()sr/portage/eclass/wxwidgets
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in net-p2p/amule-2.0.0_rc8 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

: command not foundnet-p2p/amule/amule-2.0.0_rc8.ebuild: line 4:
.eclass: No such file or directoryne 1458: /usr/portage/eclass/wxwidgets

!!! ERROR: net-p2p/amule-2.0.0_rc8 failed.
!!! Function inherit, Line 1459, Exitcode 1
.eclass in inherit()sr/portage/eclass/wxwidgets
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in net-p2p/amule-2.0.0_rc8 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)

doebuild(): aux_get() error reading net-p2p/amule-2.0.0_rc8; aborting.

consigli? :D

ecco l'ebuild:
Code:
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.0.0_rc8.ebuild,v 1.1 2004/26/12 17:30:55 unzsnu Exp $

inherit eutils wxwidgets

MY_P=${P/m/M}
MY_P=${MY_P/_/}
S=${WORKDIR}/${MY_P}

DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
         http://amuleadu.altervista.org/amule-adunanza-2.0.0rc8-1.diff.gz
         http://unzsnu.altervista.org/amule-2.0.0rc8-icons.patch.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gtk2 nls remote stats unicode gd"

DEPEND="gtk2? ( >=x11-libs/wxGTK-2.5.3 )
        !gtk2? ( >=x11-libs/wxGTK-2.4.2-r2 )
        >=net-misc/curl-7.11.0
        >=sys-libs/zlib-1.2.1
        stats? ( >=media-libs/gd-2.0.26 )
        gd? ( >=media-libs/gd-2.0.26 )
        !net-p2p/xmule"

pkg_setup() {

        if ! use gtk2 >& /dev/null ; then
                need-wxwidgets gtk || die "gtk version of x11-libs/wxGTK not found"
        elif use unicode >& /dev/null ; then
                export WX_GTK_VER="2.5"
                need-wxwidgets unicode || die "You need to emerge unicoded wxGTK with USE='gtk2 unicode'"
        else
                export WX_GTK_VER="2.5"
                need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'"
        fi

}

src_unpack() {  einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
                unpack ${A}
                cd ${S}
                ewarn "Provo ad applicare le patches Adu e Icone"
        epatch ${WORKDIR}/amule-adunanza-2.0.0rc8-1.diff || die "Patch ADU non applicata"
        einfo "Patch Adunanza applicata"
        ewarn "Sto per applicare la patch icone, se perde colpi non preoccupatevi"
        ewarn "è stata studiata per la r7. Non inficia amule in alcun modo "
        patch -p1 < ${WORKDIR}/amule-2.0.0rc8-icons.patch
        einfo "Patch icone Gnome applicata"
}

src_compile() {

        if use gtk2 >& /dev/null && use remote >& /dev/null ; then
                EXTRA_ECONF="--enable-amule-daemon"
        fi

        econf \
                --disable-optimise \
                --with-wx-config=${WX_CONFIG} \
                --with-wxbase-config=${WX_CONFIG} \
                `use_enable nls` \
                `use_enable remote amulecmd` \
                `use_enable remote amulecmdgui` \
                `use_enable remote webserver` \
                `use_enable remote webservergui` \
                `use_enable stats cas` \
                `use_enable stats wxcas` \
                `use_enable stats alc` \
                `use_enable stats alcc` \
                `use_enable debug` \
                || die

        emake -j1 || die
}

src_install() {
        make DESTDIR=${D} install || die
}


Last edited by ---willy--- on Thu Jul 07, 2005 11:13 am; edited 1 time in total
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Fri Jun 17, 2005 9:14 pm    Post subject: Reply with quote

Io ti consiglierei di passare ad una versione più aggiornata di amule :D

Comunque il digest lo fai indicando l'ebuild con tutto il path e lanciando il comando fuori dalla directory dell'ebuild stesso
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Fri Jun 17, 2005 9:19 pm    Post subject: Reply with quote

ma di ebuild con la patch adunanza ho trovato solo questo. c'è qualcosa di + aggiornato o lo devo fare a manina? perchè io sono solo di passaggio a casa di amici miei (a milano) che hanno fastweb, quindi non varrebbe la pena... lo faccio solo perchè mi piange il cuore con fastweb scaricare così lentamente!! :lol:
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Fri Jun 17, 2005 9:20 pm    Post subject: Reply with quote

cmq ho provato come dici tu ma mi da lo stesso errore....:(
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Fri Jun 17, 2005 9:30 pm    Post subject: Reply with quote

Il problema è che se hai il portage aggiornato (ovvero è già presenta amule >=2.0.1) hanno cambiato molte cose per le wxGTK. L'ebuild che stai tentando di usare (che non è ufficiale) penso si affidi ad una struttura precedente di portage (in particolare le eclass).

Per eseguire il digest, ad esempio dalla root dell'amministratore:
Code:
# ebuild /path/to/ebuild/foobar.ebuild digest
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Fri Jun 17, 2005 9:35 pm    Post subject: Reply with quote

fabius wrote:
Per eseguire il digest, ad esempio dalla root dell'amministratore:
Code:
# ebuild /path/to/ebuild/foobar.ebuild digest

questo l'ho fatto, ma niente, quindi il problema credo sia quello che hai detto, visto che aggiorno il sistema quasi giornalmente. quindi cosa posso fare? quasi quasi scarico direttamente il tarball degli ultimi sorgenti. sai com'è, cerco sempre di usare portage :wink:

1 altra cosa: ed è possibile avere installata una versione di amule senza patch ed una con la patch??

ehi, cmq Grazie 1000 eh! :wink: :D
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Fri Jun 17, 2005 9:47 pm    Post subject: Reply with quote

---willy--- wrote:
1 altra cosa: ed è possibile avere installata una versione di amule senza patch ed una con la patch?

Per ottenere una cosa del genere l'ebuild dovrebbe essere slottato, ma quello di amule non lo prevede nativamente: prova a giocare con l'ebuild :)
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Sun Jun 19, 2005 2:12 am    Post subject: Reply with quote

ho scaricato l'ebuild aggiornato da qui, ma quando dò emerge amule si blocca dando:
Code:
.......
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: error: cannot find input file: intl/Makefile.in

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/amule-2.0.1/work/aMule-2.0.1/config.log

!!! ERROR: net-p2p/amule-2.0.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

qualcuno mi aiuta? è possibile che non riesco ad installare amule adunanza?? :(
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Sun Jun 19, 2005 9:56 am    Post subject: Reply with quote

se non sbaglio richiede le wxgtk 2.5.1 che sono mascherate
_________________
C.
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Sun Jun 19, 2005 11:26 am    Post subject: Reply with quote

Code:
~ $ emerge -s wxgtk
Searching...   
[ Results for search key : wxgtk ]
[ Applications found : 1 ]
 
*  x11-libs/wxGTK
      Latest version available: 2.6.0-r1
      Latest version installed: 2.6.0-r1
      Size of downloaded files: 14,126 kB
      Homepage:    http://www.wxwindows.org
      Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit and wxbase non-gui library
      License:     wxWinLL-3
Back to top
View user's profile Send private message
oleo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2004
Posts: 117

PostPosted: Wed Jul 06, 2005 11:38 pm    Post subject: Reply with quote

---willy--- wrote:
Code:

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/amule-2.0.1/work/aMule-2.0.1/config.log

!!! ERROR: net-p2p/amule-2.0.1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Anche io ho lo stesso problema!!! Nessuna idea su come risolverlo? Ho le wxGTK 2.6.0-r1, gtk+ 2.6.8.
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Thu Jul 07, 2005 7:59 am    Post subject: Reply with quote

fermo là, te lo do io l'ebuild :wink:
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Thu Jul 07, 2005 8:04 am    Post subject: Reply with quote

Code:

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

inherit eutils wxwidgets

MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}

DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
         http://amuleadu.altervista.org/files/amule-adunanza-2.0.2-1.patch.gz"

RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="amuled gtk2 nls remote stats unicode"

DEPEND=">=x11-libs/wxGTK-2.6.0
        >=net-misc/curl-7.11.0
        >=sys-libs/zlib-1.2.1
        dev-util/cvs
        stats? ( >=media-libs/gd-2.0.26 )
        remote? ( >=media-libs/libpng-1.2.0 )
        !net-p2p/xmule"

pkg_setup() {
        export WX_GTK_VER="2.6"
        if ! use gtk2; then
                need-wxwidgets gtk
        elif use unicode; then
                need-wxwidgets unicode
        else
                need-wxwidgets gtk2
        fi
}


src_unpack() {
        einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
                unpack ${A}
                cd ${S}
                ewarn "Provo ad applicare la patch Adu"
        patch -p0 < ${WORKDIR}/amule-adunanza-2.0.2-1.patch || die "Patch Adunanza non applicata"
        einfo "Patch Adunanza applicata"
}


src_compile() {
        if use amuled; then
                EXTRA_ECONF="--enable-amule-daemon --enable-amule-gui"
        fi
         ./autogen.sh
         econf \
                --enable-debug \
                --disable-optimise \
                --with-wx-config=${WX_CONFIG} \
                --with-wxbase-config=${WX_CONFIG} \
                `use_enable nls` \
                `use_enable remote amulecmd` \
                `use_enable remote amulecmdgui` \
                `use_enable remote webserver` \
                `use_enable remote webservergui` \
                `use_enable stats cas` \
                `use_enable stats wxcas` \
                `use_enable stats alc` \
                `use_enable stats alcc` \
                || die

        emake -j1 || die
}

src_install() {
        make DESTDIR=${D} install || die

        if use amuled || use amuleweb; then
                if ! id p2p >/dev/null; then
                        enewgroup p2p
                        enewuser p2p -1 /bin/false /home/p2p p2p
                fi
        fi

        if use amuled; then
                insinto /etc/conf.d; newins ${FILESDIR}/amuled.confd amuled
                exeinto /etc/init.d; newexe ${FILESDIR}/amuled.initd amuled
        fi

        if use amuleweb; then
                insinto /etc/conf.d; newins ${FILESDIR}/amuleweb.confd amuleweb
                exeinto /etc/init.d; newexe ${FILESDIR}/amuleweb.initd amuleweb
        fi
}


con questo sei a posto ;)


EDIT: ehi, fammi sapere se hai problemi!
Back to top
View user's profile Send private message
oleo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2004
Posts: 117

PostPosted: Thu Jul 07, 2005 9:11 am    Post subject: Reply with quote

WOW! Thanks! Mi ha fregato una dipendenza CVS del cavolo!!! :twisted:
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Thu Jul 07, 2005 9:18 am    Post subject: Reply with quote

oleo wrote:
WOW! Thanks! Mi ha fregato una dipendenza CVS del cavolo!!! :twisted:

eh si :) in più se noti in questo e-build il link è per la patch 2.0.2 ;)
Back to top
View user's profile Send private message
otaku
Guru
Guru


Joined: 16 Dec 2004
Posts: 428
Location: Rho (MI)

PostPosted: Thu Jul 07, 2005 9:56 am    Post subject: Reply with quote

modificando queste parti dell'ebuild in questa maniera:
Code:
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
   http://amuleadu.altervista.org/files/${PN}-adunanza-${PV}-${PR:1}.patch.gz"

src_unpack() {
   unpack ${A}
   cd ${S}
   epatch ../${PN}-adunanza-${PV}-${PR:1}.patch
}

si ottiene un ebuild che scarica la versione più recente della patch adunanza... andrebbe salvato come amule-2.0.3-r1.ebuild, e compila amile 2.0.3 con la prima release della patch (:
_________________
Ventiquattr'ore al giorno in preda a una follia contorta...
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Thu Jul 07, 2005 10:10 am    Post subject: Reply with quote

oops...non sapevo fosse uscita la 2.0.3....altrimenti avrei postato l'ebuild aggiornato :roll: :D
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Thu Jul 07, 2005 11:02 am    Post subject: Reply with quote

@---willy---: Per favore mettiamo titoli un poco più chiari :roll:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Thu Jul 07, 2005 11:11 am    Post subject: Reply with quote

@gutter: hai ragione gutter, ma il titolo l'ho messo quando ho aperto il topic (non proprio in questi giorni) , ed era corretto. a metà discussione si è cominciato ad andare OT....:roll:
cmq ora lo cambio in qualcosa che possa essere più facile da trovare per chi volesse installare amule con la patch adunanza ;)
Back to top
View user's profile Send private message
jikko
Apprentice
Apprentice


Joined: 17 Nov 2004
Posts: 192
Location: Pioltello Milano Italy

PostPosted: Thu Jul 07, 2005 1:00 pm    Post subject: Reply with quote

graz willy
_________________
...Bill nostro che non sei nei cieli e non capisci il perche', e questa cosa ti sta sull ca@@o da morire, dacci oggi il nostro chip quotidiano...
(Luciano Ligabue, baby e' un mondo super)
Back to top
View user's profile Send private message
---willy---
Apprentice
Apprentice


Joined: 06 Mar 2005
Posts: 195

PostPosted: Thu Jul 07, 2005 1:26 pm    Post subject: Reply with quote

nada
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Thu Jul 07, 2005 6:44 pm    Post subject: Reply with quote

---willy--- wrote:
per chi volesse installare amule con la patch adunanza ;)

scusa l'ignoranza... io uso amule tramite i server adunanza e nn ho mai avuto problemi di nessun tipo... che modifiche apporta questa famosa patch ?
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Thu Jul 07, 2005 6:57 pm    Post subject: Reply with quote

Anche io me lo sono domandato, cosa fa quella patch ?
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
unz
l33t
l33t


Joined: 28 Jul 2004
Posts: 819
Location: Roma, Italia

PostPosted: Thu Jul 07, 2005 7:00 pm    Post subject: Reply with quote

mettila e te ne accorgerai ... si vola ;)

ebuild per l'ultima versione [2.0.3] ... ma penso che a breve arriverà una 2.0.4 in quanto la versione per windows ha implementato altra roba
Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

inherit eutils wxwidgets

MY_P=${P/m/M}
S=${WORKDIR}/${MY_P}

DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
    http://amuleadu.altervista.org/files/amule-adunanza-2.0.3-1.patch.gz"

RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="amuled gtk2 nls remote stats unicode"

DEPEND=">=x11-libs/wxGTK-2.6.0
   >=net-misc/curl-7.11.0
   >=sys-libs/zlib-1.2.1
        dev-util/cvs
   stats? ( >=media-libs/gd-2.0.26 )
   remote? ( >=media-libs/libpng-1.2.0 )
   !net-p2p/xmule"

pkg_setup() {
   export WX_GTK_VER="2.6"
   if ! use gtk2; then
      need-wxwidgets gtk
   elif use unicode; then
      need-wxwidgets unicode
   else
      need-wxwidgets gtk2
   fi
}


src_unpack() {   
   einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
      unpack ${A}
      cd ${S}   
      ewarn "Provo ad applicare la patch Adu"
   patch -p0 < ${WORKDIR}/amule-adunanza-2.0.3-1.patch || die "Patch Adunanza non applicata"
   einfo "Patch Adunanza applicata"
}


src_compile() {
   if use amuled; then
      EXTRA_ECONF="--enable-amule-daemon --enable-amule-gui"
   fi
    ./autogen.sh
    econf \
      --enable-debug \
      --disable-optimise \
      --with-wx-config=${WX_CONFIG} \
      --with-wxbase-config=${WX_CONFIG} \
      `use_enable nls` \
      `use_enable remote amulecmd` \
      `use_enable remote amulecmdgui` \
      `use_enable remote webserver` \
      `use_enable remote webservergui` \
      `use_enable stats cas` \
      `use_enable stats wxcas` \
      `use_enable stats alc` \
      `use_enable stats alcc` \
      || die

   emake -j1 || die
}

src_install() {
   make DESTDIR=${D} install || die

   if use amuled || use amuleweb; then
      if ! id p2p >/dev/null; then
              enewgroup p2p
         enewuser p2p -1 /bin/false /home/p2p p2p
      fi
   fi

   if use amuled; then
           insinto /etc/conf.d; newins ${FILESDIR}/amuled.confd amuled
           exeinto /etc/init.d; newexe ${FILESDIR}/amuled.initd amuled
   fi

   if use amuleweb; then
           insinto /etc/conf.d; newins ${FILESDIR}/amuleweb.confd amuleweb
           exeinto /etc/init.d; newexe ${FILESDIR}/amuleweb.initd amuleweb
   fi
}

_________________
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/


Last edited by unz on Fri Jul 08, 2005 7:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Thu Jul 07, 2005 7:06 pm    Post subject: Reply with quote

E come fa a velocizzare? E per "si vola" cosa intendi, che raggiungo sopra i 700 per dire?
Allo stato attuale, di come uso amule (quando sono disperato) non ho mai visti tipo piu' di un 17, o qualcosa del genere...
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Goto page 1, 2, 3 ... 11, 12, 13  Next
Page 1 of 13

 
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