Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kann man mit emerge auch versionen steuern?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 12:20 pm    Post subject: kann man mit emerge auch versionen steuern? Reply with quote

Hi,
also ich habe mir gerade den apache installiert und möchte jetzt php5 emergen, aber mit:

emerge php

bekomm ich ja nur php4, weiß da jemand näheres drüber?
Back to top
View user's profile Send private message
cruxnor
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 133

PostPosted: Mon Aug 02, 2004 12:23 pm    Post subject: Reply with quote

Hi,

soweit mir bekannt, kannst du nur zwischen stable und maskiert (~x86 z.b.) wählen.
Sprich wenn du die neuste PHP-Version benutzen willst folgendes in die Datei /etc/portage/package.keywords eintragen:
dev-php/php ~x86

Danach sollte php5 installiert werden.


...hth....

cruxnor
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Mon Aug 02, 2004 12:24 pm    Post subject: Reply with quote

1) man portage
2) http://www.gentoo.de/main/de/portage-2.0.50.xml

hth,
ciao
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 12:28 pm    Post subject: danke Reply with quote

danke für die schnelle Antwort werde ich gleich mal checken
Back to top
View user's profile Send private message
moe
Veteran
Veteran


Joined: 28 Mar 2003
Posts: 1289
Location: Potsdam / Germany

PostPosted: Mon Aug 02, 2004 12:32 pm    Post subject: Reply with quote

Wenn das PHP für den Apache sein soll, muss es natürlich mod_php sein.. Php ist die Konsolenversion..

Gruss Maurice
_________________
Signaturen sind doof.
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 12:44 pm    Post subject: achso Reply with quote

achso gut das du es erwähnst....
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 12:59 pm    Post subject: hmm Reply with quote

ich versuche mal auf grund der neuen erkenntnisse dann meine frage nochmal zu stellen, mit emerge mod_php zeigt er mir auch wunderbar alle versionen an, die ich installieren kann, nur wie wähle ich jetzt eine davon aus?

Ich glaub da stelle ich mich wieder mal etwas blöd an...
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 1:00 pm    Post subject: er sagt mir Reply with quote

!!! Problem in dev-php/mod_php-5.0.0 dependencies.
!!! "Specific key requires an operator (dev-php/mod_php-5.0.0) (try adding an '=')"


aber wo soll ich das "=" einfügen
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Mon Aug 02, 2004 1:05 pm    Post subject: Reply with quote

1) BITTE BITTE rtfm -> portage manual siehe link oben
2) du kannst
a) emerge /usr/portage/dev-php/mod_php/mod_php-5.0.0.ebuild ODER
b) emerge "=mod_php-5.0.0"
oder so :)

ciao
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Mon Aug 02, 2004 1:06 pm    Post subject: Reply with quote

hephaistos6 wrote:
1) man portage
2) http://www.gentoo.de/main/de/portage-2.0.50.xml
Unter 2) findest Du mindestens ein Beispiel, wo das "=" hingehört :wink: Was ich nicht verstehe, wie zeigt ein emerge mod_php verschiedene Versionen an?

Ups, wieder Zweiter...
hephaistos6: Hey, a) ist böse! :P
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Mon Aug 02, 2004 1:15 pm    Post subject: Reply with quote

@psygil: warum ist a) böse?
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 1:21 pm    Post subject: also Reply with quote

natürlich zeigt ein:

emerge php_mod keine verschiedenen Versionen an sonder:

emerge mod_php --verbose --pretend --tree

ich würde liebend gerne version b) vorziehen, also wenn ich dann den emerge befehl ausführe zeigt er mir folgendes an:


!!! all ebuilds that could satisfy "=mod_php-5.0.0" have been masked.
!!! possible candidates are:
- dev-php/mod_php-5.0.0 (masked by: -keyword)
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Mon Aug 02, 2004 1:33 pm    Post subject: Reply with quote

hephaistos6 wrote:
@psygil: warum ist a) böse?
Weil Du Portage damit 'umgehst', IIRC wird das Paket weder im world-file eingetragen noch bei Updates berücksichtigt, dafür gibt's doch jetzt /etc/portage/*, lies doch mal http://www.gentoo.de/main/de/portage-2.0.50.xml :twisted:
Code:
emerge mod_php --verbose --pretend --tree
gibt mir übrigens nur eine mod_php-Version?!?
Back to top
View user's profile Send private message
neonik
Guru
Guru


Joined: 08 Oct 2003
Posts: 501

PostPosted: Mon Aug 02, 2004 3:29 pm    Post subject: Reply with quote

# etcat -v dev-php/mod_php aus app-portage/gentoolkit zeigt dir, was für Versionen es gibt. Alles weitere einfach wie oben geschrieben ausführen.
Ich geb dir dennoch einen Tipp:
Code:
[ ! -d "/etc/portage/" ] && mkdir /etc/portage/ &&
echo =dev-php/mod_php-5.0.0 -x86 >> /etc/portage/package.keywords &&
emerge -pv =dev-php/mod_php-5.0.0


Das einfach ins Terminal pasten und ausführen.
_________________
Best regards,
neonik

netshot-0.0.8 - script that takes screenshots, generates their thumbnails and uploads them all! (has not been updated).
Back to top
View user's profile Send private message
spawnferkel
n00b
n00b


Joined: 28 Jul 2004
Posts: 69
Location: Osnabrooklyn

PostPosted: Mon Aug 02, 2004 4:13 pm    Post subject: vielen Dank Reply with quote

Oh vielen Dank, das kann ich aber leider erst morgen ausprobieren.
Ich hab auch http://www.gentoo.de/main/de/portage-2.0.50.xml gelesen, aber so 100%ig werde ich noch nicht daraus schlau. Das wird aber schon noch...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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