Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mysql
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
kamikadze
n00b
n00b


Joined: 28 May 2006
Posts: 3

PostPosted: Sun May 28, 2006 8:21 am    Post subject: emerge mysql Reply with quote

Делаю emerge mysql
configure проходит нормально, после 5 минут компиляции получаю:

i386-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -pipe -fomit-frame-pointer -march=i686 -mtune=athlon -mmmx -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../env/db_shash.c -o db_shash.o
make[3]: Leaving directory `/var/tmp/portage/mysql-4.1.19/work/mysql/bdb/build_unix'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mysql-4.1.19/work/mysql/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.1.19/work/mysql'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.1.19 failed.
!!! Function mysql_src_compile, Line 441, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

В чём проблема? :(
Back to top
View user's profile Send private message
ZByte
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2004
Posts: 141
Location: Moscow, Russia

PostPosted: Sun May 28, 2006 9:46 am    Post subject: Reply with quote

Дай лог чуть выше, а то по этому куску ничего не ясно, нужно до строчки с error показывать
Back to top
View user's profile Send private message
kamikadze
n00b
n00b


Joined: 28 May 2006
Posts: 3

PostPosted: Sun May 28, 2006 9:49 am    Post subject: Reply with quote

ZByte wrote:
Дай лог чуть выше, а то по этому куску ничего не ясно, нужно до строчки с error показывать

Вот.


i386-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../db inc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -pipe -fomit-frame-pointer -march= i686 -mtune=athlon -mmmx -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../ db/db_ret.c -o db_ret.o
/bin/sh ./libtool --mode=compile i386-pc-linux-gnu-gcc -c -I. -I../../././bdb/di st/.. -I../../././bdb/dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -pipe -fomit-frame-pointer -march=i686 -mtune=athlon -mmmx -m3dnow -DHAVE_ERRNO_ AS_DEFINE=1 ../../././bdb/dist/../env/db_shash.c
i386-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../db inc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -pipe -fomit-frame-pointer -march= i686 -mtune=athlon -mmmx -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../ env/db_salloc.c -o db_salloc.o
/bin/sh ./libtool --mode=compile i386-pc-linux-gnu-gcc -c -I. -I../../././bdb/di st/.. -I../../././bdb/dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -pipe -fomit-frame-pointer -march=i686 -mtune=athlon -mmmx -m3dnow -DHAVE_ERRNO_ AS_DEFINE=1 ../../././bdb/dist/../db/db_truncate.c
make[3]: *** [db_truncate.o] Segmentation fault
make[3]: *** Waiting for unfinished jobs....
i386-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../db inc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O2 -pipe -fomit-frame-pointer -march= i686 -mtune=athlon -mmmx -m3dnow -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../ env/db_shash.c -o db_shash.o
make[3]: Leaving directory `/var/tmp/portage/mysql-4.1.19/work/mysql/bdb/build_u nix'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mysql-4.1.19/work/mysql/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-4.1.19/work/mysql'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-4.1.19 failed.
!!! Function mysql_src_compile, Line 441, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Sun May 28, 2006 10:53 am    Post subject: Reply with quote

проверь свои флаги компилятора
Back to top
View user's profile Send private message
kamikadze
n00b
n00b


Joined: 28 May 2006
Posts: 3

PostPosted: Sun May 28, 2006 11:00 am    Post subject: Reply with quote

fank wrote:
проверь свои флаги компилятора

Вот мой make.conf

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=i686 -mtune=athlon -mmmx -m3dnow"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome -qt -kde -dvd -alsa -cdr -X"

GENTOO_MIRRORS="http://mirror.aiya.ru/pub/gentoo/ http://ftp.citkit.ru/pub/Linux/gentoo "

#GENTOO_MIRRORS="ftp://192.168.0.1/install/Linux/install/Gentoo/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
Что здесь проверять?
Back to top
View user's profile Send private message
ZByte
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2004
Posts: 141
Location: Moscow, Russia

PostPosted: Sun May 28, 2006 2:17 pm    Post subject: Reply with quote

А у тебя достаточно места под временные файлы и память у тебя не закончилась?

Ешё вопрос: эта ошибка систематическая или только один раз вылетела?
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Mon May 29, 2006 12:21 pm    Post subject: Reply with quote

Code:
-march=i686 -mtune=athlon

почему такие флаги? имхо должно быть одинаково
какая версия gcc?
параметр mtune устарел очень давно
Back to top
View user's profile Send private message
jentuu
n00b
n00b


Joined: 26 Jan 2006
Posts: 41
Location: Georgia, Tbilisi

PostPosted: Tue May 30, 2006 9:42 pm    Post subject: Reply with quote

zdarova bratci ;)
plz visit na etom linke https://forums.gentoo.org/viewtopic-t-466917.html
u menia toje po4ti takoije problema s kompilirovanii mysqla :)
i prostite za moi russkii :oops:


spasibo vam balshoe ;)
_________________
just emerge
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