View previous topic :: View next topic |
Author |
Message |
crevette Guru
Joined: 21 May 2002 Posts: 543 Location: Chrooted in Nice, France
|
Posted: Mon Jul 07, 2003 5:26 pm Post subject: |
|
|
why the gnome-2.3.3 ebuilds need to update xfree and gcc? _________________ http://www.mille-mathias.info |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Mon Jul 07, 2003 5:50 pm Post subject: |
|
|
crevette wrote: | why the gnome-2.3.3 ebuilds need to update xfree and gcc? |
gtk+2.2.2 needs the new xfree, but I don't know of any reason these ebuilds should be wanting a newer version of gcc... |
|
Back to top |
|
|
crevette Guru
Joined: 21 May 2002 Posts: 543 Location: Chrooted in Nice, France
|
Posted: Mon Jul 07, 2003 6:41 pm Post subject: |
|
|
i did an
Code: | ACCEPT_KEYWORDS="~x86" emerge gnome-base/gnome/gnome-2.3.3-r11.ebuild -Uup |
with only -up there are some blocking ebuilds _________________ http://www.mille-mathias.info |
|
Back to top |
|
|
swat Tux's lil' helper
Joined: 21 Jul 2002 Posts: 144
|
Posted: Mon Jul 07, 2003 7:57 pm Post subject: |
|
|
/etc/X11/Sessions/Gnome doesn't appear to be being read anymore - at least, it is no longer executing :
/usr/X11R6/bin/xmodmap -e "pointer = 1 2 3 6 7 4 5"
/usr/bin/imwheel -p -b "67"
That I added at the very end before exec $command.
Has this changed in gnome 2.3.3? If so - how do I fix?
Thanks
Simon |
|
Back to top |
|
|
G-LiTe` Tux's lil' helper
Joined: 06 May 2003 Posts: 147
|
Posted: Tue Jul 08, 2003 8:18 am Post subject: |
|
|
Gnome now uses /etc/X11/dm/Sessions/.
The files in there are not scripts, they contain some more info which should be pretty easy to edit.
The command in it can only be one line afaik, though. But you can just tell it to execute a script in /etc/X11/Sessions/. Should work fine.
Just edit the line in /etc/X11/dm/Sessions/gnome.desktop:
to:
Code: | Exec=/etc/X11/Sessions/Gnome |
|
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
|
Back to top |
|
|
clubbabyseals n00b
Joined: 22 Jul 2002 Posts: 21
|
Posted: Tue Jul 08, 2003 4:10 pm Post subject: |
|
|
is this a gnome death or gcc?
running gnome 2.2.1
using ~x86
using gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
trying to emerge -u gnome to 2.3.3
i get this when it gets to gedit, among others....
Code: | /bin/sh ../../libtool --mode=link gcc -O2 -mcpu=i686 -pipe -g -g -g -g -g -o libspell.la -rpath /usr/lib/gedit-2/plugins -module -avoid-version spell.lo gedit-spell-checker.lo gedit-spell-checker-dialog.lo gedit-spell-language-dialog.lo gedit-automatic-spell-checker.lo gedit-spell-checker-dialog-marshal.lo -laspell -lpopt
grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is not a valid libtool archive
make[4]: *** [libspell.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gedit-2.3.2-r1/work/gedit-2.3.2/plugins/spell'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/gedit-2.3.2-r1/work/gedit-2.3.2/plugins/spell'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gedit-2.3.2-r1/work/gedit-2.3.2/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gedit-2.3.2-r1/work/gedit-2.3.2'
make: *** [all] Error 2
!!! ERROR: app-editors/gedit-2.3.2-r1 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure
|
i got a similar failure while trying to -u world, then gave up on that and tried gnome by itself. |
|
Back to top |
|
|
DiS-K n00b
Joined: 31 Aug 2002 Posts: 52 Location: The Netherlands, Delft
|
Posted: Tue Jul 08, 2003 4:20 pm Post subject: |
|
|
I'd say it's a gcc problem, which I concluded from this:
Quote: | /bin/sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' is not a valid libtool archive |
I'd say: try fiddling around with gcc-config |
|
Back to top |
|
|
clubbabyseals n00b
Joined: 22 Jul 2002 Posts: 21
|
Posted: Tue Jul 08, 2003 4:33 pm Post subject: |
|
|
that's what i that thinking...
now how would i go about 'fiddling around with gcc-config'?
i don't see anything in /etc/...
oh, found it...
ok... if i do gcc-config -L to look for location of libs i get
Code: | /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3
|
but the error i am getting is looking for things here:
Quote: | /bin/sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la: No such file or directory
|
where would i go to try and change that?
i haven't had this problem on much of anything else, just -u gnome. |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Tue Jul 08, 2003 4:49 pm Post subject: |
|
|
that's some hardcoded crap, I just ln -s the 3.2.3 dir to 3.2.2 and it compiles - it's an evil hack but it works. |
|
Back to top |
|
|
clubbabyseals n00b
Joined: 22 Jul 2002 Posts: 21
|
Posted: Tue Jul 08, 2003 5:23 pm Post subject: |
|
|
holy crap!
Lovechild, once again i bow to your greatness...
of course as soon as you mentioned it it was a 'smack forehead' why wasn't i thinking? response...
thanks! |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Tue Jul 08, 2003 5:51 pm Post subject: |
|
|
clubbabyseals wrote: | holy crap!
Lovechild, once again i bow to your greatness...
of course as soon as you mentioned it it was a 'smack forehead' why wasn't i thinking? response...
thanks! |
We had this problem earlier with some other packages - something about that path getting hardcoded or something.. linking it really isn't a fix. |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Jul 08, 2003 7:45 pm Post subject: |
|
|
Yea, I've run into that #$@!$ problem myself... The way I've fixed it is to use something like Code: | grep -R "3.2.2/libstdc++.la" /usr/lib/*.la | to find the file(s) that are looking in the wrong place and edit accordingly...
I found a few typos in the gedit and yelp deps (sorry! ) and have posted them in the new tarball... They aren't big deals, but fixed anyway... |
|
Back to top |
|
|
silvercat n00b
Joined: 07 Aug 2002 Posts: 54 Location: Canada
|
Posted: Wed Jul 09, 2003 2:29 am Post subject: |
|
|
Okay... i am having problems emerging control-center-2.3.4... i unmerged linc... and then re-emerged ORBit- 2.7.2-r2... and control-center still isn't able to compile successfully... it's the only one on the list that's outputed from the command line that Lin_Matt provided:
Code: | for la in $(grep liblinc /usr/lib/*.la -H|cut -f1 -d:); do qpkg -v -f $la; done |
And this is the last part of the output i get from the failed emerge:
Code: | /bin/sh ../libtool --mode=link gcc -march=pentium2 -O3 -pipe -g -g -g -g -g -Wall -o gnome-settings-daemon factory.o gnome-settings-daemon.o gnome-settings-font.o gnome-settings-mouse.o gnome-settings-keyboard.o gnome-settings-background.o gnome-settings-xsettings.o gnome-settings-locate-pointer.o gnome-settings-sound.o gnome-settings-accessibility-keyboard.o gnome-settings-screensaver.o gnome-settings-default-editor.o gnome-settings-gtk1theme.o gnome-settings-xrdb.o xsettings-common.o xsettings-manager.o gnome-settings-keybindings.o gnome-settings-typing-break.o reaper.o GNOME_SettingsDaemon-common.o GNOME_SettingsDaemon-stubs.o GNOME_SettingsDaemon-skels.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lesd -laudiofile -lgnome-desktop-2 -lgnomeui-2 -lSM -lICE -lstartup-notification-1 -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lgthread-2.0 -lORBit-2 -lgobject-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0 -lSM -lICE -L/usr/X11R6/lib -lX11 ../libbackground/libbackground.la../libsounds/libsounds.a -L../libwindow-settings/ -lgnome-window-settings -lXxf86misc
mkdir .libs
libtool: link: cannot find the library `/usr/lib/liblinc.la'
make[3]: *** [gnome-settings-daemon] Error 1
make[3]: Leaving directory `/os2/portage-tmp/portage/control-center-2.3.4/work/control-center-2.3.4/gnome-settings-daemon'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/os2/portage-tmp/portage/control-center-2.3.4/work/control-center-2.3.4/gnome-settings-daemon'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/os2/portage-tmp/portage/control-center-2.3.4/work/control-center-2.3.4'
make: *** [all-recursive-am] Error 2
!!! ERROR: gnome-base/control-center-2.3.4 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure |
The only packages i didn't re-compile after unmerging linc are:
gnome-extra/at-spi-1.1.8 *
gnome-base/libgnomeprint-1.116.1 *
gnome-base/libgnomeprintui-1.116.0 *
media-libs/gst-plugins-0.5.1 *
media-libs/gst-plugins-0.5.2 *
But i'm not sure if it matters if i re-emerge those packages before i emerge control-center.. |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Wed Jul 09, 2003 7:42 am Post subject: |
|
|
I just reemerged linc.. Seems fine. |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Wed Jul 09, 2003 2:12 pm Post subject: |
|
|
Freak_NL wrote: | I just reemerged linc.. Seems fine. |
It's been deprecated. You really need to remove it as it's now folded into ORBit2 and you will cause problems down the road.
silvercat
If I remember correctly, you are gonna have to edit /usr/lib/libgnome-window-settings.la and remove the liblinc reference there for control-center to compile.... |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Jul 09, 2003 2:36 pm Post subject: |
|
|
Okay, couldn't we then remove linc from the -current tarball ? |
|
Back to top |
|
|
silvercat n00b
Joined: 07 Aug 2002 Posts: 54 Location: Canada
|
Posted: Wed Jul 09, 2003 3:04 pm Post subject: |
|
|
Okay thanks Lin_Matt... that did the trick... now i just got to check all my gnome apps... and see which ones need to be re-emerged (because they may still be linked to liblinc).. |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Wed Jul 09, 2003 5:34 pm Post subject: |
|
|
Lovechild wrote: | Okay, couldn't we then remove linc from the -current tarball ? |
Doh! Yea... Thanks for pointing that one out... It's corrected in cvs. |
|
Back to top |
|
|
Apolonius Guru
Joined: 24 Jan 2003 Posts: 325
|
Posted: Wed Jul 09, 2003 5:40 pm Post subject: |
|
|
a little info:
The gnome-themes-extras on cvs gets rid of all the annoying warnings about "midpoint and libsvg" when launching an app in a term. |
|
Back to top |
|
|
Ansorg Apprentice
Joined: 13 Jul 2002 Posts: 193
|
Posted: Wed Jul 09, 2003 6:00 pm Post subject: |
|
|
Lin_Matt wrote: | Freak_NL wrote: | I just reemerged linc.. Seems fine. |
It's been deprecated. You really need to remove it as it's now folded into ORBit2 and you will cause problems down the road.
silvercat
If I remember correctly, you are gonna have to edit /usr/lib/libgnome-window-settings.la and remove the liblinc reference there for control-center to compile.... |
Boy, this linc thing is causing major trouble:
a Code: | ldd /usr/bin/* |grep "not found" | listed about 50 times liblinc.so.1 - means all of the apps would need a reemerge.
Unfortunately reemerging just does not work. Every package i tried stopped with the same error about Code: | /bin/sed: can't read /usr/lib/liblinc.la: No such file or directory | or
Code: | libtool: link: cannot find the library `/usr/lib/liblinc.la |
I tried the suggestion given for control-center but ist still stops with the same error
now, the changelog says ORBIT now includes linc. But how to tell that to all the apps that search for it?
gues I 'll go back to liblinc and ORBit2-2.6 ... _________________ thanks
Jens |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Wed Jul 09, 2003 7:33 pm Post subject: |
|
|
Here's what I had to do to fix all the compile problems related to the linc removal:
1. Run Code: | for la in $(grep liblinc /usr/lib/*.la -H|cut -f1 -d:); do qpkg -v -f $la; done | and re-emerge the packages it spits out. You might have to play with the order of these a bit, but it will eventually work. You can also just run the grep part of the command and edit the files manually, but you will still have to recompile..
2. Edit /usr/lib/libgnome-window-settings.la and remove the liblinc reference. You could also just unemerge then emerge control-center.
3. Run Code: | grep liblinc /usr/lib/* -R | This will give ya a list of the remaining libraries still linked against liblinc.
4. Run Code: | grep liblinc /usr/bin/* -R | There shouldn't be much here after the previous few steps, but there will prolly be something.
This is a ROYAL PITA and has taken me a few days to filter thru everything, but hey... that's the joys of bleeding edge... |
|
Back to top |
|
|
Ansorg Apprentice
Joined: 13 Jul 2002 Posts: 193
|
Posted: Thu Jul 10, 2003 8:23 am Post subject: everything works but control-center |
|
|
thanks,
i followed your instructions and got everything emerged and running again, including epiphany-cvs and galeon-cvs
everything but control-center
I unmerged it and now try to emerge again but ist stops at this point
Code: | gcc: /usr/lib/libgnome-window-settings.so: No such file or directory
|
any ideas about this? _________________ thanks
Jens |
|
Back to top |
|
|
amd n00b
Joined: 26 Nov 2002 Posts: 65 Location: Saaremaa / Estonia
|
Posted: Thu Jul 10, 2003 2:44 pm Post subject: |
|
|
there's one call called revdep-rebuild.
Code: |
Decoder root # revdep-rebuild -pv
Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.
Collecting system binaries and libraries...
done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /usr/lib/gimp/1.3/plug-ins/helpbrowser (requires libgtkhtml-2.so.0)
broken /usr/lib/xine/plugins/1.0.0/xineplug_inp_gnome_vfs.so (requires liblinc.so.1)
broken /usr/lib/devhelp/libdevhelp.so (requires libgtkhtml-2.so.0 liblinc.so.1)
broken /usr/lib/libgtksharpglue.so (requires liblinc.so.1)
broken /usr/lib/bonobo/libfile-roller-component.so (requires liblinc.so.1)
broken /usr/lib/bonobo/libnautilus-audio-properties-view.so (requires liblinc.so.1 liblinc.so.1)
broken /usr/lib/gstreamer-0.6/libgstgnomevfssink.so (requires liblinc.so.1)
broken /usr/lib/gstreamer-0.6/libgstgnomevfssrc.so (requires liblinc.so.1)
... a lot of files ...
|
and after this it shows the list of packages broken. You may have to manually edit package.mask to get all stuff emerged. Have fun and happy breaking
Oh one more thing. Some of the files are binary packages. Usually no need to re-emerge these. |
|
Back to top |
|
|
silvercat n00b
Joined: 07 Aug 2002 Posts: 54 Location: Canada
|
Posted: Thu Jul 10, 2003 3:01 pm Post subject: |
|
|
Quote: | i followed your instructions and got everything emerged and running again, including epiphany-cvs and galeon-cvs
everything but control-center
I unmerged it and now try to emerge again but ist stops at this point |
Run the command:
Code: | gcc: /usr/lib/libgnome-window-settings.so: No such file or directory |
And try to play around with the order of the re-merging... do it one by one... try with the libraries first... hope this helps.. |
|
Back to top |
|
|
|