Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php ou mod_php
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
_ShAkA_
n00b
n00b


Joined: 06 Jul 2003
Posts: 3

PostPosted: Sun Jul 06, 2003 10:25 am    Post subject: php ou mod_php Reply with quote

quand je veux emerge php ou mod_php il me retourne :

checking for sys/ipc.h... yes
checking for fopencookie... yes
configure: error: can not run test program while cross compiling

quelqu un aurait il une idee ??

Merci
Back to top
View user's profile Send private message
yaubi
Apprentice
Apprentice


Joined: 15 Jan 2003
Posts: 194
Location: Oxford, UK

PostPosted: Sun Jul 06, 2003 11:21 am    Post subject: Re: php ou mod_php Reply with quote

_ShAkA_ wrote:

configure: error: can not run test program while cross compiling


Je n'ai jamais rencontré une telle erreu, mais je suppose que cela signifie que gcc est configuré pour générer un exécutable pour une autre architecture que celle sur laquelle tu tentes la compilation.

Le problème, c'est que je ne sais pas comment on peut faire cette chose (j'aimerais bien savoir d'ailleurs). A vu de nez, j'irais voir dans le fichier /etc/make.conf vérifier les variables CHOST (et ARCH aussi tant que tu y es). Assure-toi que les valeurs qui leur sont affectées correspondent bien à l'architecture sur laquelle tu te trouves et pas quelque chose de plus exotique.

Sinon, je ne vois pas trop quoi faire ... Est que tu obtiens la même erreur en compilant autre chose, ou bien est ce que ça ne concerne que mod_php ?
_________________
Avatar de X-Ryl669. Merci à lui ! :)
Back to top
View user's profile Send private message
_ShAkA_
n00b
n00b


Joined: 06 Jul 2003
Posts: 3

PostPosted: Sun Jul 06, 2003 12:36 pm    Post subject: Reply with quote

le probleme est que quand je fait le configure a la main (sans option) il
se fait sans erreur.
J ai ce probleme depuis un emerge world -u
et merci de ta reponse ;)
Back to top
View user's profile Send private message
Dorgendubal
Apprentice
Apprentice


Joined: 24 Apr 2003
Posts: 231
Location: Switzerland (Zürich)

PostPosted: Sun Jul 06, 2003 12:51 pm    Post subject: Reply with quote

si tu arrives à le compiler à la main. tu peux ensuite l'emerger en faisant:

Code:

ebuild /usr/portage/dev-php/mod_php....ebuild merge
Back to top
View user's profile Send private message
_ShAkA_
n00b
n00b


Joined: 06 Jul 2003
Posts: 3

PostPosted: Sun Jul 06, 2003 1:25 pm    Post subject: Reply with quote

je connaissais pas,
merci ca fonctionne ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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