Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Removing alsa-lib & alsa-headers kills gedit??
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
golding
Apprentice
Apprentice


Joined: 07 Jun 2005
Posts: 232
Location: Adelaide / South Australia

PostPosted: Wed Oct 18, 2006 3:52 pm    Post subject: Removing alsa-lib & alsa-headers kills gedit?? Reply with quote

I was pruning my system by hand and thought it would be a good idea to get rid of alsa-oss, alsa-tools, alsa-firmware, alsa-lib and alsa-headers as I use the inbuilt kernel modules and should only require the alsa-utils package in addition to the kernel modules.

After I had done the removal the system wanted to re-emerge them when I went to update world with a "--with-bdeps y" so I thought I would look at the ebuilds themselves to see what needed them.

To my surprise gedit would not open, I then rebooted in case I had disturbed something, then when that failed tried the old reinstall trick, but I found it needed alsalib/headers to install.

It is a text editor, why does it need a sound lib?? How do i stop it from this stupid behavior? I tried USE="-alsa" but the emerge failed on not finding the libasound.la file.

Huh???
What gives?


Here are my use flags:
Code:
# /etc/portage/package.use

app-misc/beagle chm debug pdf spreadsheet wv
app-text/acroread nsplugin firefox
dev-java/sun-jdk browserplugin nsplugin
dev-libs/gmime mono
dev-python/gnome-python-extras firefox
dev-util/subversion -nowebdav
media-gfx/gimp scanner -doc wmf svg tiff
media-gfx/sane-frontends gimp
media-gfx/xsane gimp
media-libs/emotion xine -gstreamer
media-libs/imlib2 mmx
media-libs/libquicktime dv mmx
media-libs/win32codecs mplayer totem real quicktime
media-libs/xine-lib nvidia win32codecs vcd v4l aac
media-video/ffmpeg v4l aac -mmx
media-video/mjpegtools dv v4l 3dnow mmx
media-video/mplayer 3dnow 3dnowext aac aalib cd cdparanoia cpudetection dv dvd dvdread mmx nvidia real svga tga v4l v4l2 win32codecs xanim xvid
media-video/realplayer nsplugin firefox
media-video/totem win32codecs a52 -firefox -nsplugin
media-video/transcode a52 dv dvdread mjpeg network v4l 3dnow fame mmx
net-print/cups ppds
sys-apps/dbus mono
sys-apps/hal acpi
sys-apps/util-linux vfat msdos
sys-libs/glibc userlocales
www-client/mozilla-firefox mozsvg xprint
x11-base/xorg-server dri font-server
x11-base/xorg-x11 dri font-server sdk
x11-drivers/nvidia-drivers dlloader
x11-libs/ecore dbus
x11-libs/evas mmx
x11-misc/xscreensaver offensive
x11-terms/xterm Xaw3d toolbar
x11-terms/rxvt motif linuxkeys unicode tabs
x11-terms/mrxvt menubar

##/etc/make.conf
USE="3dnow 3dnowext a52 aac aalib alsa asf avi bash-completion bluetooth bonobo browserplugin bzlib cairo cdparanoia cdr cups dri dv dvd dvdr dvdread esd fame ffmpeg firefox freetype gif gimp glitz gnome gtk gtk2 hal imlib2 imlib java javascript jpeg kde mjpeg mmx mmxext mp3 mpg mplayer nptl nptlonly nsplugin nvidia offensive opengl pdf ppds print quicktime real sane scanner sse svg svga tga tiff totem truetype unicode usb v4l vcd win32codecs wmf wmv xine xmms xsane xvid"
LINGUAS="en"


EDIT** here is the error from the end of trying to re-emerge gedit
Code:
creating libgedit.la
(cd .libs && rm -f libgedit.la && ln -s ../libgedit.la libgedit.la)
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -fomit-frame-pointer   -o gedit -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*" gedit.o libgedit.la -Wl,--export-dynamic -pthread -lgtksourceview-1.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lglade-2.0 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lz -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnomevfs-2 -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   
libtool: link: cannot find the library `/usr/lib/libasound.la' or unhandled argument `/usr/lib/libasound.la'
make[4]: *** [gedit] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.16.1/work/gedit-2.16.1/gedit'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.16.1/work/gedit-2.16.1/gedit'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.16.1/work/gedit-2.16.1/gedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/gedit-2.16.1/work/gedit-2.16.1'
make: *** [all] Error 2

!!! ERROR: app-editors/gedit-2.16.1 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.

_________________
Regards, Robert

..... Some people can tell what time it is by looking at the sun, but I have never been able to make out the numbers.
Back to top
View user's profile Send private message
golding
Apprentice
Apprentice


Joined: 07 Jun 2005
Posts: 232
Location: Adelaide / South Australia

PostPosted: Thu Oct 19, 2006 9:49 am    Post subject: Reply with quote

C'mon, surely one of you people who read this have something, no matter how trivial, I could go on to find the answer?

Pretty please?? :-)
_________________
Regards, Robert

..... Some people can tell what time it is by looking at the sun, but I have never been able to make out the numbers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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