Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
не собирается PHP5
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
manowar_2005
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Tue Jun 14, 2005 9:39 pm    Post subject: не собирается PHP5 Reply with quote

последние строчки

Code:
grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/libstdc++.la' is not a valid libtool archive
make: *** [libphp5.la] Ошибка 1

!!! ERROR: dev-php/php-5.0.3-r1 failed.
!!! Function php5-sapi_src_compile, Line 445, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
YD
Guru
Guru


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

PostPosted: Tue Jun 14, 2005 10:11 pm    Post subject: Reply with quote

Если было произведено обновление GCC до версии 3.4.3 надо.

Code:

/sbin/fix_libtool_files.sh 3.4.3
env-update
source /etc/profile


з.ы. Если будут пробемы с python из-за отсутствия libstdc++.so.6 (5 для GCC 3.3), на время этих "операций" надо указать библиотеку через LD_PRELOAD.
Code:

export LD_PRELOAD="/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so.6"
Back to top
View user's profile Send private message
manowar_2005
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Wed Jun 15, 2005 7:46 am    Post subject: Reply with quote

YD wrote:
Если было произведено обновление GCC до версии 3.4.3 надо.

Code:

/sbin/fix_libtool_files.sh 3.4.3
env-update
source /etc/profile


з.ы. Если будут пробемы с python из-за отсутствия libstdc++.so.6 (5 для GCC 3.3), на время этих "операций" надо указать библиотеку через LD_PRELOAD.
Code:

export LD_PRELOAD="/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so.6"


спасибо за совет, он искал библиотеки в .../gcc-3.4.3/ , а у меня они были в .../gcc-3.4.3-2005... , я сделал симлинк и все собралось, но вот нова проблема, делаю

emerge mysql
потом от root-а
mysql_install_db

/etc/init.d/mysql start
пишет что не стартовал, хотя через mysql заходит, и не могу остановить /etc/init.d/mysql stop, пишет что mysql не запущен, а в процессах штук 15 mysql, которые приходится убивать kill-ом, что за глюк и что я не так делаю, спасибо
Back to top
View user's profile Send private message
rusxakep
Guru
Guru


Joined: 09 Jul 2004
Posts: 458

PostPosted: Wed Jun 15, 2005 7:55 am    Post subject: Reply with quote

симлинк лучше не делать - сделай что сказал YD.
Back to top
View user's profile Send private message
manowar_2005
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Wed Jun 15, 2005 8:45 am    Post subject: Reply with quote

Хорошо, а как быть с mysql?
Back to top
View user's profile Send private message
rusxakep
Guru
Guru


Joined: 09 Jul 2004
Posts: 458

PostPosted: Wed Jun 15, 2005 9:41 am    Post subject: Reply with quote

А может и не будет никакого mysql ...... :)
Back to top
View user's profile Send private message
manowar_2005
n00b
n00b


Joined: 09 Jun 2005
Posts: 12

PostPosted: Wed Jun 15, 2005 10:12 am    Post subject: Reply with quote

rusxakep wrote:
á ÍÏÖÅÔ É ÎÅ ÂÕÄÅÔ ÎÉËÁËÏÇÏ mysql ...... :)

не понял юмора
Back to top
View user's profile Send private message
kon
Apprentice
Apprentice


Joined: 05 Mar 2004
Posts: 156
Location: Russia. Saint-Petersburg

PostPosted: Wed Jun 15, 2005 4:23 pm    Post subject: Reply with quote

2 manowar_2005
Пост называется "не собирается PHP5"
Где вы тут нашли mysql?
Вот вам и юмор.
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