View previous topic :: View next topic |
Author |
Message |
fat_penguin Apprentice
Joined: 25 Jul 2004 Posts: 294 Location: sud side of Switzerland
|
Posted: Sun Mar 06, 2005 10:54 am Post subject: [Risolto] Agg.pacchetti: problema con mod_perl e dipendenze |
|
|
Ciao,
volevo aggiornare un web server apache2 e ho quindi dato il solito
il risultato mi lascia pero' un po basito!
Code: |
[ebuild N ] net-www/mod_ssl-2.8.21
[nomerge ] dev-perl/mod_perl-1.27-r4
[ebuild NS ] net-www/apache-1.3.33
[ebuild NS ] sys-libs/db-4.0.14-r3
[ebuild U ] sys-process/psmisc-21.5 [21.4]
[ebuild U ] sys-apps/coreutils-5.2.1-r4 [5.2.1-r2]
[ebuild U ] sys-apps/help2man-1.33.1 [1.29]
[ebuild N ] dev-perl/Locale-gettext-1.01-r1
[ebuild U ] dev-python/mod_python-3.1.3-r1 [3.1.3]
[nomerge ] media-libs/netpbm-10.20
[ebuild U ] media-libs/svgalib-1.9.19-r3 [1.9.19-r1]
[nomerge ] net-analyzer/nmap-3.75
[ebuild U ] dev-libs/libpcre-5.0 [4.5]
[nomerge ] app-arch/tar-1.14
[ebuild U ] app-arch/ncompress-4.2.4-r1 [4.2.4]
[nomerge ] net-mail/courier-imap-3.0.8
[ebuild U ] dev-tcltk/expect-5.42.1-r1 [5.37.1-r2]
[ebuild U ] app-misc/mc-4.6.0-r13 [4.6.0-r12]
[ebuild U ] dev-libs/glib-2.6.2-r1 [2.4.8]
[nomerge ] dev-php/php-4.3.10
[ebuild U ] app-crypt/mhash-0.9.2 [0.9.1]
[nomerge ] net-misc/openssh-3.9_p1-r1
[ebuild U ] sys-apps/shadow-4.0.5-r3 [4.0.5-r2]
[ebuild U ] mail-client/mutt-1.5.6-r5 [1.5.6-r4]
[ebuild U ] net-mail/mailbase-0.00-r8 [0.00-r5]
[ebuild U ] app-text/ghostscript-7.07.1-r8 [7.07.1-r7]
[nomerge ] dev-perl/DBD-mysql-2.1027
[ebuild U ] dev-perl/DBI-1.38-r1 [1.38]
[nomerge ] dev-db/mysql-4.0.22-r2
[ebuild U ] sys-process/procps-3.2.4-r3 [3.2.4-r2]
[ebuild U ] app-editors/emacs-21.4 [21.3-r3]
|
quidi cerco di delimitare il problema con un
Code: | emerge -uDtp mod_perl |
e trovo conferma...
Code: |
[ebuild N ] net-www/mod_ssl-2.8.21
[nomerge ] dev-perl/mod_perl-1.27-r4
[ebuild NS ] net-www/apache-1.3.33
[ebuild NS ] sys-libs/db-4.0.14-r3
|
Perche mi vuole istallare apache-1.3.33 se io ho gia apache-2.0.52-r1 ???
Ho sfogliato l'ebuild di mod_perl ed ecco cosa vedo:
Code: |
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.27-r4.ebuild,v 1.6 2004/07/ 14 19:39:45 agriffis Exp $
inherit eutils
DESCRIPTION="A Perl Module for Apache"
SRC_URI="http://perl.apache.org/dist/${P}.tar.gz"
HOMEPAGE="http://perl.apache.org"
SLOT="0"
LICENSE="Apache-1.1 as-is"
KEYWORDS="x86 amd64 ~ppc sparc ~alpha ~mips"
DEPEND="dev-lang/perl dev-perl/libwww-perl =net-www/apache-1* >=sys-apps/sed-4"
IUSE="ipv6"
src_unpack() {
unpack ${A}
....
|
Forse sono io che non ho ancora ben afferrato i concetti di funzionamento del portage, ma da quel che vedo nell'ebuild di mod_perl c'è qualcosa che non quadra molto.
DEPEND="dev-lang/perl dev-perl/libwww-perl =net-www/apache-1* >=sys-apps/sed-4"
Perche richiede la dipedeza specifica di apache-1* ?
Pensando che forse il modulo mod_perl servisse solo per apache 1 ho fatto una ricerca su http://packages.gentoo.org/ e nella descrizione di questo pacchetto trovo:
Code: |
Description: An embedded Perl interpreter for Apache2
|
evidentemente server anche per apache2!
Qualche anima buona mi potrebbe erudire in merito?
byebye
fat_penguin
Last edited by fat_penguin on Sun Mar 06, 2005 5:54 pm; edited 1 time in total |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Mar 06, 2005 11:06 am Post subject: |
|
|
Credo che mod_perl-1.27-r4 sia specifico per apache-1.* come hai visto chiaramente dall'ebuild.
Nel mio sistema comunque una ricerca di mod_perl da:
Code: | * dev-perl/mod_perl
Latest version available: 1.27-r4
Latest version installed: [ Not Installed ]
Size of downloaded files: 363 kB
Homepage: http://perl.apache.org
Description: A Perl Module for Apache
License: Apache-1.1 as-is |
Ovvero non si a riferimento ad apache2. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
fat_penguin Apprentice
Joined: 25 Jul 2004 Posts: 294 Location: sud side of Switzerland
|
Posted: Sun Mar 06, 2005 11:12 am Post subject: |
|
|
Gutter, mi stai quindi dicendo che tu hai apache2 e non usi il modulo "incriminato"?
Come si spiega il fatto che su http://packages.gentoo.org sia specificato "for Apache2 ?
E' un errore e quindi andrebbe segnalato?
byebye
fat_penguin |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Mar 06, 2005 11:16 am Post subject: |
|
|
fat_penguin wrote: | Gutter, mi stai quindi dicendo che tu hai apache2 e non usi il modulo "incriminato"?
|
Si non lo uso.
fat_penguin wrote: |
Come si spiega il fatto che su http://packages.gentoo.org sia specificato "for Apache2 ?
E' un errore e quindi andrebbe segnalato?
|
Credo sia un errore. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
fat_penguin Apprentice
Joined: 25 Jul 2004 Posts: 294 Location: sud side of Switzerland
|
Posted: Sun Mar 06, 2005 11:32 am Post subject: |
|
|
Da una veloce ricerca sul sito di apache2 (http://httpd.apache.org/docs-2.0/dso.html) ho trovato questo:
Code: |
The above DSO based features have the following advantages:
* The server package is more flexible at run-time because the actual server process can be assembled at run-time vi LoadModule httpd.conf configuration commands instead of configure options at build-time. For instance this way one is able to run different server instances (standard & SSL version, minimalistic & powered up version [mod_perl, PHP3], etc.) with only one Apache installation.
|
Sembrerebbe che apache2 usi mod_perl...
byebye
fat_penguin |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Mar 06, 2005 11:38 am Post subject: |
|
|
A me non risulta nessun mod_perl nella mia installazione di apache2. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
fat_penguin Apprentice
Joined: 25 Jul 2004 Posts: 294 Location: sud side of Switzerland
|
Posted: Sun Mar 06, 2005 12:01 pm Post subject: |
|
|
gutter wrote: | A me non risulta nessun mod_perl nella mia installazione di apache2. |
Ci credo che a te non risulti...
Ecco invece cosa da a me il comando equery depends net-www/apache
Code: |
[ Searching for packages depending on net-www/apache... ]
dev-db/phpmyadmin-2.6.0_p2
dev-perl/mod_perl-1.27-r4
dev-php/phpsysinfo-2.1-r2
dev-php/mod_php-4.3.10
dev-python/mod_python-3.1.3
dev-util/subversion-1.1.1-r3
www-apps/gallery-1.4.3_p2
|
... per "tagliare la testa al toro" potrei eliminare il pacchetto mod_perl, visto che effettivamente non lo uso... ma ne avessi bisogno? Dovrei per forza istallarmi anche la apache1?
Mi sembrerebbe strano...
byebye
fat_penguin |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Mar 06, 2005 12:10 pm Post subject: |
|
|
fat_penguin wrote: |
... per "tagliare la testa al toro" potrei eliminare il pacchetto mod_perl, visto che effettivamente non lo uso... ma ne avessi bisogno? Dovrei per forza istallarmi anche la apache1?
Mi sembrerebbe strano...
|
Non mi sembra così strano dal momento che è possibile che quel modulo funzioni SOLO con apache-1 e non sia ancora stato "portato" su apache-2.
Non ci vedo nessun problema particolare.
Poi se non lo usi non mi porrei nemmeno il dubbio, lo avrei già tolto e amen _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
fat_penguin Apprentice
Joined: 25 Jul 2004 Posts: 294 Location: sud side of Switzerland
|
Posted: Sun Mar 06, 2005 12:14 pm Post subject: |
|
|
... hehe, mi sa che seguiro il tuo consiglio!!
Ho letto i cambiamenti imminenti del pacchetto apache (http://dev.gentoo.org/~vericgar/doc/apache-package-refresh.html)...
da un lato la cosaè buona... tanto per standardizzare un po le cose...
... penso comunque che qualche sysadmin non la prenderà cosi bene... non è mai simpatico cambiare le cose che funzionano!!
byebye
fat_penguin |
|
Back to top |
|
|
gutter Bodhisattva
Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Mar 06, 2005 2:46 pm Post subject: |
|
|
Metti il tag [Risolto] _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
|
|