Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk не собирается на amd64... подскажите
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
MiF
n00b
n00b


Joined: 08 Sep 2005
Posts: 28

PostPosted: Tue Nov 22, 2005 9:41 am    Post subject: gtk не собирается на amd64... подскажи Reply with quote

Стaвлю nero? ему (да и xmms) нужен GTK первый... при попытке его собрать обламываюсь на:
Quote:

make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/gtk+-1.2.10-r11 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


В чем причина? Как побороть?
Back to top
View user's profile Send private message
viy
Veteran
Veteran


Joined: 03 Jul 2004
Posts: 1580
Location: Riga, Latvia

PostPosted: Tue Nov 22, 2005 9:55 am    Post subject: Reply with quote

Ты обрезал само сообщение об ошибке. Прихвати еще пару десятков строк...
Back to top
View user's profile Send private message
MiF
n00b
n00b


Joined: 08 Sep 2005
Posts: 28

PostPosted: Tue Nov 22, 2005 10:19 am    Post subject: Reply with quote

Ставлю так: ACCEPT_KEYWORDS="~x86" emerge nero

Прерывается на:

Quote:
(cd .libs && rm -f libgtk-1.2.so.0 && ln -s libgtk-1.2.so.0.9.1 libgtk-1.2.so.0)
(cd .libs && rm -f libgtk.so && ln -s libgtk-1.2.so.0.9.1 libgtk.so)
ar cru .libs/libgtk.a gtkaccelgroup.o gtkaccellabel.o gtkadjustment.o gtkalignment.o gtkarg.o gtkarrow.o gtkaspectframe.o gtkbin.o gtkbindings.o gtkbbox.o gtkbox.o gtkbutton.o gtkcalendar.o gtkcheckbutton.o gtkcheckmenuitem.o gtkclist.o gtkcolorsel.o gtkcombo.o gtkcontainer.o gtkctree.o gtkcurve.o gtkdata.o gtkdialog.o gtkdnd.o gtkdrawingarea.o gtkeditable.o gtkentry.o gtkeventbox.o gtkfilesel.o gtkfixed.o gtkfontsel.o gtkframe.o gtkgamma.o gtkgc.o gtkhandlebox.o gtkhbbox.o gtkhbox.o gtkhpaned.o gtkhruler.o gtkhscale.o gtkhscrollbar.o gtkhseparator.o gtkimage.o gtkinputdialog.o gtkinvisible.o gtkitem.o gtkitemfactory.o gtklabel.o gtklayout.o gtklist.o gtklistitem.o gtkmain.o gtkmarshal.o gtkmenu.o gtkmenubar.o gtkmenufactory.o gtkmenuitem.o gtkmenushell.o gtkmisc.o gtknotebook.o gtkobject.o gtkoptionmenu.o gtkpacker.o gtkpaned.o gtkpixmap.o gtkplug.o gtkpreview.o gtkprogress.o gtkprogressbar.o gtkradiobutton.o gtkradiomenuitem.o gtkrange.o gtkrc.o gtkruler.o gtkscale.o gtkscrollbar.o gtkscrolledwindow.o gtkselection.o gtkseparator.o gtksignal.o gtksocket.o gtkspinbutton.o gtkstyle.o gtkstatusbar.o gtktable.o gtktearoffmenuitem.o gtktext.o gtkthemes.o gtktipsquery.o gtktogglebutton.o gtktoolbar.o gtktooltips.o gtktree.o gtktreeitem.o gtktypeutils.o gtkvbbox.o gtkvbox.o gtkviewport.o gtkvpaned.o gtkvruler.o gtkvscale.o gtkvscrollbar.o gtkvseparator.o gtkwidget.o gtkwindow.o fnmatch.o
ranlib .libs/libgtk.a
creating libgtk.la
(cd .libs && rm -f libgtk.la && ln -s ../libgtk.la libgtk.la)
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_LIBDIR=\"/usr/lib64\" -DGTK_DATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_LOCALEDIR=\"/usr/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -DX_LOCALE -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -D_REENTRANT -march=k8 -O2 -Wall -c testgtk.c
testgtk.c: In function `reload_rc_file':
testgtk.c:7991: warning: dereferencing type-punned pointer will break strict-aliasing rules
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -march=k8 -O2 -Wall -o testgtk testgtk.o libgtk.la ../gdk/libgdk.la -L/usr/lib64 -lXi -lXext -lX11 -L/usr/lib64 -rdynamic -lgmodule -lglib -lm
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so -L/usr/lib64 -lgmodule -lglib -lXi -lXext -lX11 -lm ../gdk/.libs/libgdk.so -lgmodule -lglib -lXi -lXext -lX11 -lm -L/usr/lib64 -lXi -lXext -lX11 -L/usr/lib64 -rdynamic -lgmodule -lglib -lm -Wl,--rpath -Wl,/usr/lib64
.libs/libgtk.so: undefined reference to `_Xsetlocale'
collect2: ld returned 1 exit status
make[2]: *** [testgtk] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-libs/gtk+-1.2.10-r11 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
MiF
n00b
n00b


Joined: 08 Sep 2005
Posts: 28

PostPosted: Tue Nov 22, 2005 10:51 am    Post subject: Reply with quote

ну так что? :) подскажет кто-нить?
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: Wed Nov 23, 2005 5:28 am    Post subject: Reply with quote

Поробуй посмотреть вот этот пост:
https://forums.gentoo.org/viewtopic-t-42877-highlight-undefined+reference+xsetlocale.html
Back to top
View user's profile Send private message
MiF
n00b
n00b


Joined: 08 Sep 2005
Posts: 28

PostPosted: Wed Nov 23, 2005 11:37 am    Post subject: Reply with quote

СПС! помогло :mrgreen:
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