Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gst-plugins won't compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MIT_Service
Guru
Guru


Joined: 29 Nov 2002
Posts: 355

PostPosted: Mon Feb 10, 2003 9:55 pm    Post subject: gst-plugins won't compile Reply with quote

Today i decided that i had a little time at my hand and so i started to update gnome to version 2.2.
But when I tried to emerge gst-plugins-0.6.0-r1 I got an error.
Code:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.1/include/arts -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/usr/include/gstreamer-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -g -mcpu=athlon-xp -O2 -pipe -c gst_artsio_impl.cc -MT libgstarts_la-gst_artsio_impl.lo -MD -MP -MF .deps/libgstarts_la-gst_artsio_impl.TPlo  -fPIC -DPIC -o libgstarts_la-gst_artsio_impl.lo
/bin/sh ../../libtool --mode=link g++  -mcpu=athlon-xp -O2  -pipe   -o libgstarts.la -rpath /usr/lib/gstreamer-0.6 -module -avoid-version libgstarts_la-gst_arts.lo libgstarts_la-gst_artsio.lo libgstarts_la-gst_artsio_impl.lo -L/usr/kde/3.1/lib -ldl -lartsc -lpthread -lartsflow -lartsflow_idl
mkdir .libs
grep: /usr/lib/libasound.la: No such file or directory
sed: can't read /usr/lib/libasound.la: No such file or directory
libtool: link: `/usr/lib/libasound.la' is not a valid libtool archive
make[3]: *** [libgstarts.la] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.0-r1/work/gst-plugins-0.6.0/ext/arts'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.0-r1/work/gst-plugins-0.6.0/ext'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.0-r1/work/gst-plugins-0.6.0'
make: *** [all] Fehler 2

!!! ERROR: media-libs/gst-plugins-0.6.0-r1 failed.
!!! Function src_compile, Line 123, Exitcode 2
!!! (no error message)


I tried several use flags (-arts -kde and so on) and some less agressive compiler settings but i always got the same error.
However Gstreamer compiled flawlessly.

Anyone got a solution?
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Feb 11, 2003 1:44 am    Post subject: Reply with quote

Its seems like the dynamic linker has some problems reading /usr/lib/libasound.la. Can you check and see if they are installed?
Code:

ls -l /usr/lib/libasound*
-rwxr-xr-x    1 root     root          721 Feb  6 18:28 /usr/lib/libasound.la
lrwxrwxrwx    1 root     root           18 Feb  6 18:28 /usr/lib/libasound.so -> libasound.so.2.0.0
lrwxrwxrwx    1 root     root           23 Feb  6 18:28 /usr/lib/libasound.so.1 -> /usr/lib/libasound.so.2
lrwxrwxrwx    1 root     root           18 Feb  6 18:28 /usr/lib/libasound.so.2 -> libasound.so.2.0.0
-rwxr-xr-x    1 root     root       664464 Feb  6 18:28 /usr/lib/libasound.so.2.0.0


The contents of libasound.la is:
Code:

# libasound.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.1 (1.922.2.34 2001/09/03 01:22:13)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libasound.so.2'

# Names of this library.
library_names='libasound.so.2.0.0 libasound.so.2 libasound.so'

# The name of the static archive.
old_library=''

# Libraries that this one depends upon.
dependency_libs=' -lm -ldl -lpthread'

# Version information for libasound.
current=2
age=0
revision=0

# Is this an already installed library?
installed=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib'


Unfortunately, I'm not sure from which ebuild these libraries come from. :oops:

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
MIT_Service
Guru
Guru


Joined: 29 Nov 2002
Posts: 355

PostPosted: Tue Feb 11, 2003 10:14 am    Post subject: Reply with quote

this might be the problem: I don't have any libasound files...
I think libasound belongs to alsa - but I don't use alsa and have the -alsa use flag set.
Strange...
Back to top
View user's profile Send private message
MIT_Service
Guru
Guru


Joined: 29 Nov 2002
Posts: 355

PostPosted: Tue Feb 11, 2003 10:58 am    Post subject: Reply with quote

got a solution:
https://forums.gentoo.org/viewtopic.php?p=93459#93459
This solves the problem for me...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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