View previous topic :: View next topic |
Author |
Message |
mcsky2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush3.gif)
Joined: 25 Aug 2005 Posts: 312
|
Posted: Fri Oct 21, 2005 8:22 am Post subject: [MOD_PHP] probleme apres la mise a jour de mysql 4.1(resolu) |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
ultrabug Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/7913985864368c78613b63.gif)
Joined: 24 Jan 2005 Posts: 698 Location: Paris
|
Posted: Fri Oct 21, 2005 8:24 am Post subject: |
|
|
Bonjour,
utilises-tu distcc ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pongten Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_medic.gif)
Joined: 07 Apr 2004 Posts: 340 Location: Belgique (devant mon écran)
|
Posted: Fri Oct 21, 2005 8:32 am Post subject: |
|
|
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 ![Smile :-)](images/smiles/icon_smile.gif) _________________ 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 |
|
![](templates/gentoo/images/spacer.gif) |
mcsky2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush3.gif)
Joined: 25 Aug 2005 Posts: 312
|
Posted: Fri Oct 21, 2005 9:13 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Pongten Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_terran_medic.gif)
Joined: 07 Apr 2004 Posts: 340 Location: Belgique (devant mon écran)
|
Posted: Fri Oct 21, 2005 9:50 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cylgalad Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Fri Oct 21, 2005 9:55 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
mcsky2 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Guybrush3.gif)
Joined: 25 Aug 2005 Posts: 312
|
Posted: Fri Oct 21, 2005 4:08 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Oct 21, 2005 4:11 pm Post subject: |
|
|
$ 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 |
|
![](templates/gentoo/images/spacer.gif) |
|