Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22379 - Gnome-media searches for wrong gstreamer pkgconfig file
Summary: Gnome-media searches for wrong gstreamer pkgconfig file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-06 21:07 UTC by Jacob Farkas
Modified: 2003-06-07 18:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge gst-plugins > output 2>&1 (output,626.87 KB, text/plain)
2003-06-07 17:06 UTC, Jacob Farkas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Farkas 2003-06-06 21:07:09 UTC
When I tried to install gnome, it would error out installing gnome-media.
Gnome-media said it couldn't find gstreamer. I tried emerging
gstreamer-0.6.1-r1, gstreamer-0.6.0-r2, and installing gstreamer-0.6.1 from
source from gstreamer.sourceforge.net.

Reproducible: Always
Steps to Reproduce:
1. 'emerge gnome-media'
Actual Results:  
The following error message was printing out and the emerge failed.
checking for   gstreamer-0.6 >= 0.5.2 gstreamer-libs-0.6 >= 0.5.2              
 libgnomeui-2.0 >= 1.102.0... Package gstreamer-libs-0.6 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `gstreamer-libs-0.6.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-libs-0.6' found
checking for                gstreamer-0.5 >= 0.5.2 gstreamer-libs-0.5 >= 0.5.2 
   libgnomeui-2.0 >= 1.102.0... Package gstreamer-0.5 was not found in the
pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.5.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.5' found
configure: error: you need GStreamer installed

!!! ERROR: gnome-extra/gnome-media-2.2.1.1 failed.
!!! Function econf, Line 304, Exitcode 1
!!! econf failed 

Expected Results:  
Gnome-media should have installed successfully.

I finally found a workaround to the problem by creating a link from
/usr/lib/pkgconfig/gstreamer-0.6.pc to /usr/lib/pkgconfig/gstreamer-libs-0.6.pc
Either gstreamer needs to create that link so gnome-media will find it, or
gnome-media needs to check for the gstreamer-0.6.pc file.
Comment 1 Link M Dupont 2003-06-06 23:28:04 UTC
The package gst-plugins provides /usr/lib/pkgconfig/gstreamer-libs-0.6.pc

gnome-media's got a dependency on both gstreamer and gst-plugins. Try re-emerging gst-plugins, and check for gstreamer-libs-0.6.pc. Then try emerging gnome-media again.
Comment 2 Jacob Farkas 2003-06-07 00:24:55 UTC
gst-plugins 0.6.1 is installed. I tried unmerging and re-emerging it in my process of trying to solve the problem and the emerge was successful, so it seems that gst-plugins 0.6.1 may not be installing that file correctly.
Comment 3 foser (RETIRED) gentoo-dev 2003-06-07 06:11:08 UTC
can you confirm the file mentioned in #1 really is there ? Or just give the full output of 'ls /usr/lib/pkgconfig/gstreamer-*' .

And also please provide your 'emerge info' output as requested in the bug submission form.
Comment 4 Jacob Farkas 2003-06-07 12:58:36 UTC
/usr/lib/pkgconfig/ls -la gstreamer-*
-rw-r--r--    1 root     root          408 2003-06-06 15:56 gstreamer-0.6.pc
-rw-r--r--    1 root     root          324 2003-06-06 15:56 gstreamer-control-0.6.pc
lrwxrwxrwx    1 root     root           35 2003-06-06 18:49 gstreamer-libs-0.6.pc -> /usr/lib/pkgconfig/gstreamer-0.6.pc

The last one is the link that I created by hand to make it work.

Here's my emerge info (sorry, I missed where it asked for it on the bug form):
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts crypt encode libg++ libwww mikmod nls pdflib xml2 xv zlib gdbm berkdb slang readline bonobo svga guile gpm tcpd pam ssl perl python imlib oggvorbis qt motif X gtk gnome alsa avi cdr cups dvd esd gtkhtml fbcon gif java jpeg -kde mmx mpeg ncurses opengl png quicktime spell sdl sse truetype usb xmms"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse2 -mmmx"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


It might just somehow be a problem with my system, since I've been running into a couple of other packages that won't install and complain about missing files for packages that are installed. I didn't do anything different from the last time I installed gentoo on this computer to get to this point though. I followed all the steps in the install documentation, and up to the point i encountered this error I had only done a boostrap, emerge system, emerge gentoo-sources, and emerge xfree, so I'm not sure what could have broken along the way.
Comment 5 foser (RETIRED) gentoo-dev 2003-06-07 13:23:47 UTC
hmm remove the link, this should've been provided by gst-plugins. please attach the output of 'qpkg -l gst-plugins' .
Comment 6 Jacob Farkas 2003-06-07 14:17:15 UTC
qpkg -l gst-plugins
CONTENTS:
/var
/var/lib
/usr
/usr/lib
/usr/lib/libgstplay-0.6.la
/usr/lib/libgstplay-0.6.so.0.0.1
/usr/lib/libgstmedia-info-0.6.so.0.0.0
/usr/lib/gstreamer-0.6
/usr/lib/gstreamer-0.6/libgstcdplayer.la
/usr/lib/gstreamer-0.6/libgstcdplayer.so
/usr/lib/gstreamer-0.6/libgstmpeg2enc.la
/usr/lib/gstreamer-0.6/libgstmpeg2enc.so
/usr/lib/gstreamer-0.6/libgstalaw.la
/usr/lib/gstreamer-0.6/libgstalaw.so
/usr/lib/gstreamer-0.6/libgstfilter.la
/usr/lib/gstreamer-0.6/libgstfilter.so
/usr/lib/gstreamer-0.6/libgstvideosink.la
/usr/lib/gstreamer-0.6/libgstvideosink.so
/usr/lib/gstreamer-0.6/libgstsilence.la
/usr/lib/gstreamer-0.6/libgstsilence.so
/usr/lib/gstreamer-0.6/libgstalsa.la
/usr/lib/gstreamer-0.6/libgstalsa.so
/usr/lib/gstreamer-0.6/libgstintfloat.la
/usr/lib/gstreamer-0.6/libgstintfloat.so
/usr/lib/gstreamer-0.6/libgstaudio.la
/usr/lib/gstreamer-0.6/libgstaudio.so
/usr/lib/gstreamer-0.6/libgsteffectv.la
/usr/lib/gstreamer-0.6/libgsteffectv.so
/usr/lib/gstreamer-0.6/libgstidct.la
/usr/lib/gstreamer-0.6/libgstidct.so
/usr/lib/gstreamer-0.6/libgstmpeg1encoder.la
/usr/lib/gstreamer-0.6/libgstmpeg1encoder.so
/usr/lib/gstreamer-0.6/libgstqtdemux.la
/usr/lib/gstreamer-0.6/libgstqtdemux.so
/usr/lib/gstreamer-0.6/libgstoneton.la
/usr/lib/gstreamer-0.6/libgstoneton.so
/usr/lib/gstreamer-0.6/libgstfestival.la
/usr/lib/gstreamer-0.6/libgstfestival.so
/usr/lib/gstreamer-0.6/libgststereo.la
/usr/lib/gstreamer-0.6/libgststereo.so
/usr/lib/gstreamer-0.6/libgstdeinterlace.la
/usr/lib/gstreamer-0.6/libgstdeinterlace.so
/usr/lib/gstreamer-0.6/libgstmp1videoparse.la
/usr/lib/gstreamer-0.6/libgstmp1videoparse.so
/usr/lib/gstreamer-0.6/libgsta52dec.la
/usr/lib/gstreamer-0.6/libgsta52dec.so
/usr/lib/gstreamer-0.6/libgstmpeg2types.la
/usr/lib/gstreamer-0.6/libgstmpeg2types.so
/usr/lib/gstreamer-0.6/libgstspeed.la
/usr/lib/gstreamer-0.6/libgstspeed.so
/usr/lib/gstreamer-0.6/libgstqcam.la
/usr/lib/gstreamer-0.6/libgstqcam.so
/usr/lib/gstreamer-0.6/libgststereosplit.la
/usr/lib/gstreamer-0.6/libgststereosplit.so
/usr/lib/gstreamer-0.6/libgstrtjpeg.la
/usr/lib/gstreamer-0.6/libgstrtjpeg.so
/usr/lib/gstreamer-0.6/libgstv4lsrc.la
/usr/lib/gstreamer-0.6/libgstv4lsrc.so
/usr/lib/gstreamer-0.6/libgstwavenc.la
/usr/lib/gstreamer-0.6/libgstwavenc.so
/usr/lib/gstreamer-0.6/libgstsmooth.la
/usr/lib/gstreamer-0.6/libgstsmooth.so
/usr/lib/gstreamer-0.6/libgstmedian.la
/usr/lib/gstreamer-0.6/libgstmedian.so
/usr/lib/gstreamer-0.6/libgstsinesrc.la
/usr/lib/gstreamer-0.6/libgstsinesrc.so
/usr/lib/gstreamer-0.6/libgstmulaw.la
/usr/lib/gstreamer-0.6/libgstmulaw.so
/usr/lib/gstreamer-0.6/libgstchart.la
/usr/lib/gstreamer-0.6/libgstchart.so
/usr/lib/gstreamer-0.6/libgstmono2stereo.la
/usr/lib/gstreamer-0.6/libgstmono2stereo.so
/usr/lib/gstreamer-0.6/libgstmpegstream.la
/usr/lib/gstreamer-0.6/libgstmpegstream.so
/usr/lib/gstreamer-0.6/libgstflxdec.la
/usr/lib/gstreamer-0.6/libgstflxdec.so
/usr/lib/gstreamer-0.6/libgstauparse.la
/usr/lib/gstreamer-0.6/libgstauparse.so
/usr/lib/gstreamer-0.6/libgstpassthrough.la
/usr/lib/gstreamer-0.6/libgstpassthrough.so
/usr/lib/gstreamer-0.6/libgstvumeter.la
/usr/lib/gstreamer-0.6/libgstvumeter.so
/usr/lib/gstreamer-0.6/libgstvbidec.la
/usr/lib/gstreamer-0.6/libgstvbidec.so
/usr/lib/gstreamer-0.6/libgstmpeg2subt.la
/usr/lib/gstreamer-0.6/libgstmpeg2subt.so
/usr/lib/gstreamer-0.6/libgstudp.la
/usr/lib/gstreamer-0.6/libgstudp.so
/usr/lib/gstreamer-0.6/libgstmonoscope.la
/usr/lib/gstreamer-0.6/libgstmonoscope.so
/usr/lib/gstreamer-0.6/libgstv4lmjpegsink.la
/usr/lib/gstreamer-0.6/libgstv4lmjpegsink.so
/usr/lib/gstreamer-0.6/libgstossaudio.la
/usr/lib/gstreamer-0.6/libgstossaudio.so
/usr/lib/gstreamer-0.6/libgstvideotestsrc.la
/usr/lib/gstreamer-0.6/libgstvideotestsrc.so
/usr/lib/gstreamer-0.6/libgstv4lmjpegsrc.la
/usr/lib/gstreamer-0.6/libgstv4lmjpegsrc.so
/usr/lib/gstreamer-0.6/libgstriff.la
/usr/lib/gstreamer-0.6/libgstriff.so
/usr/lib/gstreamer-0.6/libgstvcdsrc.la
/usr/lib/gstreamer-0.6/libgstvcdsrc.so
/usr/lib/gstreamer-0.6/libgstaudioscale.la
/usr/lib/gstreamer-0.6/libgstaudioscale.so
/usr/lib/gstreamer-0.6/libgstlevel.la
/usr/lib/gstreamer-0.6/libgstlevel.so
/usr/lib/gstreamer-0.6/libgstavimux.la
/usr/lib/gstreamer-0.6/libgstavimux.so
/usr/lib/gstreamer-0.6/libgstadder.la
/usr/lib/gstreamer-0.6/libgstadder.so
/usr/lib/gstreamer-0.6/libgstvolenv.la
/usr/lib/gstreamer-0.6/libgstvolenv.so
/usr/lib/gstreamer-0.6/libgstmpeg1types.la
/usr/lib/gstreamer-0.6/libgstmpeg1types.so
/usr/lib/gstreamer-0.6/libgstac3parse.la/usr/lib/gstreamer-0.6/libgstac3parse.so
/usr/lib/gstreamer-0.6/libgstmp3types.la
/usr/lib/gstreamer-0.6/libgstmp3types.so
/usr/lib/gstreamer-0.6/libgststereo2mono.la
/usr/lib/gstreamer-0.6/libgststereo2mono.so
/usr/lib/gstreamer-0.6/libgstavidemux.la
/usr/lib/gstreamer-0.6/libgstavidemux.so
/usr/lib/gstreamer-0.6/libgstwavparse.la
/usr/lib/gstreamer-0.6/libgstwavparse.so
/usr/lib/gstreamer-0.6/libgstspectrum.la
/usr/lib/gstreamer-0.6/libgstspectrum.so
/usr/lib/gstreamer-0.6/libgstv4lelement.la
/usr/lib/gstreamer-0.6/libgstv4lelement.so
/usr/lib/gstreamer-0.6/libgstmodplug.la
/usr/lib/gstreamer-0.6/libgstmodplug.so
/usr/lib/gstreamer-0.6/libgstcdxaparse.la
/usr/lib/gstreamer-0.6/libgstcdxaparse.so
/usr/lib/gstreamer-0.6/libgstcutter.la
/usr/lib/gstreamer-0.6/libgstcutter.so
/usr/lib/gstreamer-0.6/libgstsynaesthesia.la
/usr/lib/gstreamer-0.6/libgstsynaesthesia.so
/usr/lib/gstreamer-0.6/libgstplayondemand.la
/usr/lib/gstreamer-0.6/libgstplayondemand.so
/usr/lib/gstreamer-0.6/libgstvideoscale.la
/usr/lib/gstreamer-0.6/libgstvideoscale.so
/usr/lib/gstreamer-0.6/libgstvolume.la
/usr/lib/gstreamer-0.6/libgstvolume.so
/usr/lib/gstreamer-0.6/libmixmatrix.la
/usr/lib/gstreamer-0.6/libmixmatrix.so
/usr/lib/gstreamer-0.6/libgstvideocrop.la
/usr/lib/gstreamer-0.6/libgstvideocrop.so
/usr/lib/gstreamer-0.6/libgstmpegaudio.la
/usr/lib/gstreamer-0.6/libgstmpegaudio.so
/usr/lib/gstreamer-0.6/libgstmpeg1systemencode.la
/usr/lib/gstreamer-0.6/libgstmpeg1systemencode.so
/usr/lib/gstreamer-0.6/libgstmpegaudioparse.la
/usr/lib/gstreamer-0.6/libgstmpegaudioparse.so
/usr/lib/gstreamer-0.6/libgstsmpte.la
/usr/lib/gstreamer-0.6/libgstsmpte.so
/usr/lib/gstreamer-0.6/libgstresample.la
/usr/lib/gstreamer-0.6/libgstresample.so
/usr/lib/gstreamer-0.6/libgsty4menc.la
/usr/lib/gstreamer-0.6/libgsty4menc.so
/usr/lib/gstreamer-0.6/libgstxvideosink.la
/usr/lib/gstreamer-0.6/libgstxvideosink.so
/usr/lib/gstreamer-0.6/libgstvideo.la
/usr/lib/gstreamer-0.6/libgstvideo.so
/usr/lib/gstreamer-0.6/libgstgoom.la
/usr/lib/gstreamer-0.6/libgstgoom.so
/usr/lib/libgstgconf-0.6.so.0.0.1
/usr/lib/libgstmedia-info-0.6.la
/usr/lib/libgstmedia-info-0.6.so -> libgstmedia-info-0.6.so.0.0.0
/usr/lib/libgstplay-0.6.so.0 -> libgstplay-0.6.so.0.0.1
/usr/lib/libgstgconf-0.6.la
/usr/lib/libgstgconf-0.6.so -> libgstgconf-0.6.so.0.0.1
/usr/share
/usr/share/doc
/usr/share/doc/gst-plugins-0.6.1
/usr/share/doc/gst-plugins-0.6.1/README.gz
/usr/share/doc/gst-plugins-0.6.1/RELEASE.gz
/usr/share/doc/gst-plugins-0.6.1/TODO.gz
/usr/share/doc/gst-plugins-0.6.1/INSTALL.gz
/usr/share/doc/gst-plugins-0.6.1/COPYING.gz
/usr/share/doc/gst-plugins-0.6.1/AUTHORS.gz
/usr/include
/usr/include/gstreamer-0.6
/usr/include/gstreamer-0.6/gst
/usr/include/gstreamer-0.6/gst/idct
/usr/include/gstreamer-0.6/gst/idct/idct.h
/usr/include/gstreamer-0.6/gst/play
/usr/include/gstreamer-0.6/gst/play/play.h
/usr/include/gstreamer-0.6/gst/riff
/usr/include/gstreamer-0.6/gst/riff/riff.h
/usr/include/gstreamer-0.6/gst/audio
/usr/include/gstreamer-0.6/gst/audio/audio.h
/usr/include/gstreamer-0.6/gst/gconf
/usr/include/gstreamer-0.6/gst/gconf/gconf.h
/usr/include/gstreamer-0.6/gst/resample
/usr/include/gstreamer-0.6/gst/resample/resample.h
/usr/include/gstreamer-0.6/gst/video
/usr/include/gstreamer-0.6/gst/video/video.h
/usr/include/gstreamer-0.6/gst/floatcast
/usr/include/gstreamer-0.6/gst/floatcast/floatcast.h
/usr/include/gstreamer-0.6/gst/media-info
/usr/include/gstreamer-0.6/gst/media-info/media-info.h
/usr/lib/libgstplay-0.6.so -> libgstplay-0.6.so.0.0.1
/usr/lib/libgstmedia-info-0.6.so.0 -> libgstmedia-info-0.6.so.0.0.0
/usr/lib/libgstgconf-0.6.so.0 -> libgstgconf-0.6.so.0.0.1

I don't see anything there going into the pkgconfig directory.
Comment 7 foser (RETIRED) gentoo-dev 2003-06-07 14:57:47 UTC
neither do i and thats real weird. can you re-emerge gst-plugins and attach the full output ?
Comment 8 Jacob Farkas 2003-06-07 17:06:00 UTC
Created attachment 12921 [details]
emerge gst-plugins > output 2>&1

This is the output of emerge gst-plugins
Comment 9 Jacob Farkas 2003-06-07 17:09:12 UTC
I removed the link and went back to check after this emerge and the gstreamer-libs-0.6.pc file is there. I'm not sure what happened differently though, as I emerged gst-plugins when i was trying to solve this at first and it wouldn't install the gstreamer-libs-0.6.pc file. 
At this point though I have gnome-media and gstreamer both installed and I was just re-installing gst-plugins, rather than installing it all with no supporting packages.
Anyways, I guess it works now, although I'm completely confused as to why it didn't work before. :-\
Comment 10 foser (RETIRED) gentoo-dev 2003-06-07 18:21:43 UTC
i have no idea either, but since it isn't reproducable there is nothing to work on. closing.