Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache und Php4
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
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Sun Jun 15, 2003 1:37 pm    Post subject: Apache und Php4 Reply with quote

Hallo ..
Kann mir mal einer weiterhelfen bei der Fehlermeldung ??
Ich habe für den Apache einfach.
emerge apache php mod_ssl
gemacht.
Und danach kommt beim ebuild folgendes :
# ebuild /var/db/pkg/dev-php/php-4.3.2/php-4.3.2.ebuild config
# /usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
# /usr/sbin/ebuild.sh: line 1086: pkg_config: command not found

Wie kann ich das lösen .. ??
Gruß Markus
Back to top
View user's profile Send private message
tob
n00b
n00b


Joined: 04 May 2003
Posts: 4

PostPosted: Sun Jun 15, 2003 2:11 pm    Post subject: Reply with quote

Moin,
Der ebuild fuer Apache-PHP ist "mod_php". Der "php" ebuild ist nur ein Command Line Interface (afaik sagt portage das am Ende vom PHP compilen auch)
Bye,
tob
Back to top
View user's profile Send private message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Sun Jun 15, 2003 2:13 pm    Post subject: Reply with quote

das selbe passiert auch bei dem
mod_php.
# ebuild /var/db/pkg/dev-php/mod_php-4.3.2/mod_php-4.3.2.ebuild config
#/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
Back to top
View user's profile Send private message
Tim Schumacher
n00b
n00b


Joined: 15 Jun 2003
Posts: 15
Location: Fürfeld

PostPosted: Sun Jun 15, 2003 2:22 pm    Post subject: Reply with quote

Hi schnelle,

eventuel mal portage geupdated? Vieleicht hast du ja ne alte Version oder so.

Ein emerge portage könnte eventuel helfen.

so long

Tim
_________________
WE ARE TEH BORG!
RESSISTANCE IS TEH FUTILE!
http://we-are-teh-b.org/~tim/
Back to top
View user's profile Send private message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Sun Jun 15, 2003 3:40 pm    Post subject: Reply with quote

ich habe jetzt alles nochmal geupdated ...
Also
neuen portage,
mod_php neu gemerged und
noch einmal den ebuild ausgeführt.

aber der Fehler bleibt ... :(
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Sun Jun 15, 2003 4:04 pm    Post subject: Reply with quote

Probier mal das aktuelle mod_php-4.3.2-r2 (mit ACCEPT_KEYWORDS="~x86"), vielleicht funktioniert das ja.
Back to top
View user's profile Send private message
hal9000
n00b
n00b


Joined: 18 May 2003
Posts: 21
Location: Berlin, Germany

PostPosted: Sun Jun 15, 2003 5:04 pm    Post subject: das problem habe ich auch ... Reply with quote

ich habe leider das selbe problem.
emerged apache und dann mod_php.
mod_php emerge endet mit:
Code:
>>> /usr/include/php/acconfig.h

/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
 * To have Apache run php programs, please do the following:
 * 1. Execute the command:
 *  "ebuild /var/db/pkg/dev-php/mod_php-4.3.2/mod_php-4.3.2.ebuild config"
 * 2. Edit /etc/conf.d/apache and add "-D PHP"
 * That will include the php mime types in your configuration
 * automagically and setup Apache to load php when it starts.
>>> Regenerating /etc/ld.so.cache...
>>> dev-php/mod_php-4.3.2 merged.
>>> Recording dev-php/mod_php in "world" favorites file...
/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required


probiere ich anschliessend
Code:
ebuild /var/db/pkg/dev-php/mod_php-4.3.2/mod_php-4.3.2.ebuild config

so bekomme ich
Code:
ebuild /var/db/pkg/dev-php/mod_php-4.3.2/mod_php-4.3.2.ebuild config/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
:(
Back to top
View user's profile Send private message
Tim Schumacher
n00b
n00b


Joined: 15 Jun 2003
Posts: 15
Location: Fürfeld

PostPosted: Sun Jun 15, 2003 6:54 pm    Post subject: Reply with quote

Am besten mal nen Bugreport schreiben

so long

Tim
_________________
WE ARE TEH BORG!
RESSISTANCE IS TEH FUTILE!
http://we-are-teh-b.org/~tim/
Back to top
View user's profile Send private message
wudmx
Guru
Guru


Joined: 07 Aug 2002
Posts: 527

PostPosted: Sun Jun 15, 2003 7:59 pm    Post subject: Reply with quote

bin mir nicht 1090% sicher, aber versuchs mal mit USE="-java" emerge mod_php

damals wusste keiner im irc, warum das so ist, aber derfehler war dann weg (also frag mich erst gar nmicht, was java mit mod_php zu tun :-))
Back to top
View user's profile Send private message
hal9000
n00b
n00b


Joined: 18 May 2003
Posts: 21
Location: Berlin, Germany

PostPosted: Sun Jun 15, 2003 8:15 pm    Post subject: Reply with quote

just tried that, still get the same error.
Back to top
View user's profile Send private message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Tue Jun 17, 2003 3:40 am    Post subject: Reply with quote

Also das hat leider auch nicht hingehauen..
Mir fällt dabei ein, das dieses Problem besteht seid dem
ich ein update vom Php gemacht hatte. Kann ich irgendwie
die Version davor wieder mergen ??
Back to top
View user's profile Send private message
koba
n00b
n00b


Joined: 07 Jun 2002
Posts: 45

PostPosted: Tue Jun 17, 2003 5:50 am    Post subject: Reply with quote

schnelle wrote:
Kann ich irgendwie die Version davor wieder mergen ??


ls -l /usr/portage/dev-php/mod_php/

dort findest du all noch auf deinem rechner befindlichen ebuilds für mod_php.

wenn du z.b. "mod_php-4.3.1-r2.ebuild" emergen möchtest, kannst du das einfach mit:
"emerge dev-php/mod_php/mod_php-4.3.1-r2.ebuild"

denk nur daran, das ein "emerge -u world" jedesmal eine aktuellere version installieren wird.

gruss koba
_________________
... kompilierst du noch oder surfst du schon ?
Back to top
View user's profile Send private message
ts77
Apprentice
Apprentice


Joined: 23 Mar 2003
Posts: 200
Location: Berlin, Germany

PostPosted: Tue Jun 17, 2003 7:23 am    Post subject: Reply with quote

koba wrote:

denk nur daran, das ein "emerge -u world" jedesmal eine aktuellere version installieren wird.


Darum macht man ja auch
Code:

emerge -puU world

und installiert danach die Updates, die man haben will.
Ich hab hier auch schon die Updates für OO und Mozilla jeweils nur mit -rX
rumliegen. Aber so lange lass ich aktuell meinen Rechner nicht an, so daß sich das anwerfen des Updates für diese nicht lohnt :).
Back to top
View user's profile Send private message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Tue Jun 17, 2003 4:52 pm    Post subject: Reply with quote

au weia ..
jetzt geht es gar nicht mehr zu mergen .. .:(
bei
emerge php oder emerge mod_php
kommt jetzt folgende Meldung

Calculating dependencies \
!!! Problem in dev-php/php dependencies.
!!! list index out of range


Auch nach einem rsync ..
Kennt sich da einer aus ??
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9538
Location: beyond the rim

PostPosted: Tue Jun 17, 2003 5:23 pm    Post subject: Reply with quote

Ja, das ist ein bekanntes Probelm, dass seit heute morgen oder so auftritt. Der Fehler liet in der php.eclass. Ein temporärer Fix ist die make.conf zu bearbeiten und das gd USE flag zu setzen (oder halt "USE=gd emerge ...").
Back to top
View user's profile Send private message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Wed Jun 18, 2003 3:38 am    Post subject: Reply with quote

Thanks jetzt geht es wieder ... :)
Back to top
View user's profile Send private message
schnelle
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2003
Posts: 98

PostPosted: Thu Jun 19, 2003 2:13 pm    Post subject: Reply with quote

hmm also ich bin mit meinem Latein am Ende ...
ich habe jetzt einfach mal ein

emerge --unmerge --deep apache mod_php php mod_ssl

gemacht und anschliessend alles noch mal gemerged.

emerge apache mod_ssl mod_ssl php
ebuild /var/db/pkg/dev-php/mod_php/mod_php-4.3.2.ebuild config

und anschliessend den apache neugestartet.

/etc/init.d/apache restart

Und siehe es geht immer noch nicht .. :o(
Was mach ich da nur falsch ich sollte ja jetzt eigentlich du Grundeinstellung wieder haben.

Gruß Markus
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