View previous topic :: View next topic |
Author |
Message |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Sun Jun 15, 2003 1:37 pm Post subject: Apache und Php4 |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tob n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 May 2003 Posts: 4
|
Posted: Sun Jun 15, 2003 2:11 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Sun Jun 15, 2003 2:13 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Tim Schumacher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/PowerPuffs/cartoon_powerpuff_bubbles.gif)
Joined: 15 Jun 2003 Posts: 15 Location: Fürfeld
|
Posted: Sun Jun 15, 2003 2:22 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Sun Jun 15, 2003 3:40 pm Post subject: |
|
|
ich habe jetzt alles nochmal geupdated ...
Also
neuen portage,
mod_php neu gemerged und
noch einmal den ebuild ausgeführt.
aber der Fehler bleibt ... ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Sun Jun 15, 2003 4:04 pm Post subject: |
|
|
Probier mal das aktuelle mod_php-4.3.2-r2 (mit ACCEPT_KEYWORDS="~x86"), vielleicht funktioniert das ja. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hal9000 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12704164623ed14820dac64.gif)
Joined: 18 May 2003 Posts: 21 Location: Berlin, Germany
|
Posted: Sun Jun 15, 2003 5:04 pm Post subject: das problem habe ich auch ... |
|
|
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
| ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tim Schumacher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/PowerPuffs/cartoon_powerpuff_bubbles.gif)
Joined: 15 Jun 2003 Posts: 15 Location: Fürfeld
|
Posted: Sun Jun 15, 2003 6:54 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
wudmx Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 07 Aug 2002 Posts: 527
|
Posted: Sun Jun 15, 2003 7:59 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
hal9000 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/12704164623ed14820dac64.gif)
Joined: 18 May 2003 Posts: 21 Location: Berlin, Germany
|
Posted: Sun Jun 15, 2003 8:15 pm Post subject: |
|
|
just tried that, still get the same error. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Tue Jun 17, 2003 3:40 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
koba n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Funny_Figure/klo.gif)
Joined: 07 Jun 2002 Posts: 45
|
Posted: Tue Jun 17, 2003 5:50 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ts77 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
Posted: Tue Jun 17, 2003 7:23 am Post subject: |
|
|
koba wrote: |
denk nur daran, das ein "emerge -u world" jedesmal eine aktuellere version installieren wird.
|
Darum macht man ja auch
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 |
|
![](templates/gentoo/images/spacer.gif) |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Tue Jun 17, 2003 4:52 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Genone Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/21004157514287ab2b29021.jpg)
Joined: 14 Mar 2003 Posts: 9626 Location: beyond the rim
|
Posted: Tue Jun 17, 2003 5:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Wed Jun 18, 2003 3:38 am Post subject: |
|
|
Thanks jetzt geht es wieder ... ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
schnelle Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Quake3/quake3_sarge.gif)
Joined: 26 Apr 2003 Posts: 98
|
Posted: Thu Jun 19, 2003 2:13 pm Post subject: |
|
|
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 .. (
Was mach ich da nur falsch ich sollte ja jetzt eigentlich du Grundeinstellung wieder haben.
Gruß Markus |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|