Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc апгрейднул :/
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
Pasha
n00b
n00b


Joined: 02 Mar 2005
Posts: 33
Location: Derbyshire, UK

PostPosted: Mon Apr 04, 2005 11:39 pm    Post subject: gcc апгрейднул :/ Reply with quote

Здравствуйте.
Намедни обновил gcc и сделал gcc-config чтобы использовать новую конфигурацию.
Только вот такая проблемка: после очередного emerge --sync и emerge --update --deep world не хочет собираться gtk - получаю вот такую бяку:
Code:
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.6.4\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -O2 -march=pentium4 -mtune=pentium4 -mmmx -msse -fomit-frame-pointer -pipe -Wall -MT io-jpeg.lo -MD -MP -MF .deps/io-jpeg.Tpo -c io-jpeg.c  -fPIC -DPIC -o .libs/io-jpeg.o
In file included from gdk-pixbuf-i18n.h:4,
                 from gdk-pixbuf-private.h:32,
                 from io-jpeg.c:36:
../config.h:146:1: warning: "HAVE_STDLIB_H" redefined
In file included from /usr/include/jpeglib.h:24,
                 from io-jpeg.c:35:
/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -mtune=pentium4 -mmmx -msse -fomit-frame-pointer -pipe -Wall   -o libpixbufloader-jpeg.la -rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-jpeg.lo -ljpeg libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-jpeg.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4'
make: *** [all] Error 2

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


Очевидно что она хочет c++ библиотеку от старого гцц (которого нет), но как ей сказать чтобы брала новую?
Back to top
View user's profile Send private message
EdiG
n00b
n00b


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

PostPosted: Tue Apr 05, 2005 4:19 am    Post subject: Reply with quote

Code:
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-дата  /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5
Back to top
View user's profile Send private message
ator
n00b
n00b


Joined: 21 Feb 2004
Posts: 54
Location: Kzn

PostPosted: Tue Apr 05, 2005 6:30 am    Post subject: Reply with quote

:D Сам с этой проблемой сталкивался несколько раз и благополучно забывал после её решения. Из-за того, что она постоянно всплывает в форуме, этот вопрос даже в FAQ добавлен GF18: Emerge fails after upgrading gcc. libstdc++.la missing
Quote:

fix_libtool_files.sh 3.3.5
Back to top
View user's profile Send private message
GreenDragon
Guru
Guru


Joined: 31 Jul 2003
Posts: 319

PostPosted: Tue Apr 05, 2005 7:46 am    Post subject: Reply with quote

до какой версии апгрейтнул ту и указывай скрипту, у меня
Code:
gcc -v
...
gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r1, ssp-3.4.3.20050110-0, pie-8.7.7)
поэтому для сборки gtk+ and mod_php-5.0.3 мне понадобилось
Code:
# fix_libtool_files.sh 3.4.3
сделать, после этого все собирается на ура
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