Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Не собирается PHP (Переезд с MySQL 4.0.22 на 4.1.8)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
stopa
n00b
n00b


Joined: 16 Feb 2005
Posts: 13
Location: Тюмень

PostPosted: Fri Apr 15, 2005 3:42 pm    Post subject: Не собирается PHP (Переезд с MySQL 4.0.2 Reply with quote

Как правильно апгрейдица?

После правок /etc/portage нужно сначало удалить MySQL 4.0.22. Удаляем, Ставим новую версию... теперь нужно пересобрать все пакеты, которые используют MySQL.
PHP не собирается:
Code:

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

!!! ERROR: dev-php/php-4.3.9 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Подскажите, плиз, что я не так делаю?
Back to top
View user's profile Send private message
mator
n00b
n00b


Joined: 27 Sep 2004
Posts: 31
Location: Russia, Moscow

PostPosted: Sun Apr 17, 2005 11:02 am    Post subject: Reply with quote

а в config.log от сборки php что поэтому поводу ?
_________________
/mator
Back to top
View user's profile Send private message
stopa
n00b
n00b


Joined: 16 Feb 2005
Posts: 13
Location: Тюмень

PostPosted: Sun Apr 17, 2005 1:40 pm    Post subject: Reply with quote

Ага, понял, что не так. Отучился ручками софт ставить. Там еще тучу пакетов пересобрать надо.
Скажите лучше как посмотреть, какие пакеты зависят от данного?
Back to top
View user's profile Send private message
YD
Guru
Guru


Joined: 30 Oct 2004
Posts: 466
Location: Riga, Latvia

PostPosted: Sun Apr 17, 2005 6:53 pm    Post subject: Reply with quote

equery из gentookit'а поможет.
Back to top
View user's profile Send private message
EdiG
n00b
n00b


Joined: 05 Apr 2005
Posts: 62
Location: Russia/Moscow

PostPosted: Sun Apr 17, 2005 9:04 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic.php?t=253327&highlight=executables
читай такие же проблемы
видимо проблема кроется в gcc
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Sun Apr 17, 2005 9:25 pm    Post subject: Re: Не собирается PHP (Переезд с MySQL 4 Reply with quote

stopa wrote:

PHP не собирается:
Code:

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


Можно попробовать так:
Code:
MAKEOPTS="-j1" FEATURES="-maketest -distcc -gpg" emerge php

Хотя кто его знает...
Back to top
View user's profile Send private message
ba
l33t
l33t


Joined: 25 May 2003
Posts: 804

PostPosted: Mon Apr 18, 2005 6:49 am    Post subject: Re: Не собирается PHP (Переезд с MySQL 4 Reply with quote

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

с большой вероятностью надо libwww пересобрать, а вообще revdep-rebuild has you :)
Back to top
View user's profile Send private message
stopa
n00b
n00b


Joined: 16 Feb 2005
Posts: 13
Location: Тюмень

PostPosted: Mon Apr 18, 2005 10:40 am    Post subject: Reply with quote

Точно, libwww!
Спасибо всем, с gentoo-tollkit дальше сам разберусь.

А стратегия перехода с MySQL 4.0 на 4.1.8? Вобщем это так выглядит?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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