Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[MOD_PHP] probleme apres la mise a jour de mysql 4.1(resolu)
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
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Fri Oct 21, 2005 8:22 am    Post subject: [MOD_PHP] probleme apres la mise a jour de mysql 4.1(resolu) Reply with quote

Bonjour,
J'ai mis a jour hier mysql (de 4.025 a 4.1) J'ai suivi les instructions suivantes (http://www.gentoo.org/doc/en/mysql-upgrading.xml). Ca s'est plutot bien passe
Seulement apache a trouve des erreurs avec libphp et libmysql. Apres redemarrage, le probleme n'etait que pour mod_php. J'ai desinstalle mod_php (dev-php/mod_php-4.4.0-r3) et j'ai decommente mod_php dans httpd.conf
J'ai aussi supprime /etc/apache2/modules.d/70_mod_php.conf
Comme j'ai besoin de php, j'ai voulu le reinstaller avec un emerge mod_php mais j'ai une erreur :
configure: error: can not run test program while cross compiling
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.4.0-r3/work/php-4.4.0/config.log

!!! ERROR: dev-php/mod_php-4.4.0-r3 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

Merci pour votre aide


Last edited by mcsky2 on Fri Oct 21, 2005 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Fri Oct 21, 2005 8:24 am    Post subject: Reply with quote

Bonjour,

utilises-tu distcc ?
Back to top
View user's profile Send private message
Pongten
Guru
Guru


Joined: 07 Apr 2004
Posts: 340
Location: Belgique (devant mon écran)

PostPosted: Fri Oct 21, 2005 8:32 am    Post subject: Reply with quote

J'ai eu un problème similaire.. mais ça remonte à un certain temps..

Je crois que j'avais résolu ça en faisant un ptit revdep-rebuild avant de refaire un emerge de php :-)
_________________
Si ton problème a une solution, rien ne sert de t'inquiéter...
Si il n'en a pas, t'inquiéter ne sert à rien
Back to top
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Fri Oct 21, 2005 9:13 am    Post subject: Reply with quote

Je n'utilise pas distcc.
Voici le resultat : revdep-rebuild
j'ai une erreur a la fin, si vous avez une solution :

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... using existing /root/.revdep-rebuild.1_files.

Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath.

Checking dynamic linking consistency... using existing /root/.revdep-rebuild.3_rebuild.

Assigning files to ebuilds... using existing /root/.revdep-rebuild.4_ebuilds.

Evaluating package order... using existing /root/.revdep-rebuild.5_order.

All prepared. Starting rebuild...
emerge --oneshot --nodeps =app-text/tetex-2.0.2-r5 =dev-php/mod_php-4.4.0-r3 =dev-php/php-4.4.0-r1 =net-fs/samba-3.0.14a-r2 =net-libs/libwww-5.4.0-r3 =net-mail/dovecot-0.99.14-r1 =x11-libs/qt-3.3.4-r3
..........
Calculating dependencies \
emerge: there are no ebuilds to satisfy "=x11-libs/qt-3.3.4-r3".


Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
or
- use -X or --package-names as first argument (try to rebuild package, not exact ebuild - ignores SLOT!)
or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
(and remove /root/.revdep-rebuild.5_order to be evaluated again)
or
- modify the above emerge command and run it manually
or
- compile or unmerge unsatisfied packages manually, remove temporary files and
try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*
Back to top
View user's profile Send private message
Pongten
Guru
Guru


Joined: 07 Apr 2004
Posts: 340
Location: Belgique (devant mon écran)

PostPosted: Fri Oct 21, 2005 9:50 am    Post subject: Reply with quote

qt-3.3.4-r3 est-elle déjà en stable ??

Sinon, tu peux ajouter un petit ACCEPT_KEYWORDS="~x86" (si tu es bien en x86) devant ton revdep-rebuild..

N'oublie pas de supprimer /root/.revdep-rebuild.5_order avant de relancer la commande
_________________
Si ton problème a une solution, rien ne sert de t'inquiéter...
Si il n'en a pas, t'inquiéter ne sert à rien
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Fri Oct 21, 2005 9:55 am    Post subject: Reply with quote

qt-3.3.4-r3 n'existe plus dans portage (d'où le message), le dernier qt "stable" est qt-3.3.4-r8, donc fais un emerge -p qt pour voir, si tout va bien un simple emerge qt suffira.

Sinon, j'ai un truc bizarre avec mysql-4.1, j'ai toujours les anciennes bibliothèques dans /usr/lib/mysql, je vais tenter de renommer ce répertoire et de refaire un revdep-rebuild...
Back to top
View user's profile Send private message
mcsky2
Guru
Guru


Joined: 25 Aug 2005
Posts: 312

PostPosted: Fri Oct 21, 2005 4:08 pm    Post subject: Reply with quote

C bon j'ai resolu le probleme.
J'ai pour cela mis a jour le qt en 3.3.4-r8
Fait : rm /root/.revdep-rebuild*.?_*
puis revdep-rebuild
et enfin un emerge mod_php

Une petite question : Pourquoi le portage qt ne s'est pas mis a jour auparavant ?
Je fais pourtant tous les jours des emerge --sync et emerge --update word
J'ai deja constate ca pour certains programmes. Des explications ou des solutions ?
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Fri Oct 21, 2005 4:11 pm    Post subject: Reply with quote

$ man emerge

Code:
       --deep (-D)
              When used in conjunction with --update, this flag forces  emerge
              to  consider  the entire dependency tree of packages, instead of
              checking only the immediate dependencies of the packages.  As an
              example, this catches updates in libraries that are not directly
              listed in the dependencies of a package.

_________________
Votre moment detente
What is the nature of conflict?
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