View previous topic :: View next topic |
Author |
Message |
d_f0rce n00b
Joined: 06 Oct 2002 Posts: 27
|
Posted: Wed Feb 26, 2003 8:16 pm Post subject: Bug in mplayer ebuild - segmentation fault |
|
|
Hi,
there is a bug in the mplayer ebuild. I'm using Gentoo 1.2 and whichever version of mplayer 0.90_rc* I emerge, I always get an immediate segmentation fault on mplayer startup.
I tried disabling many USE flags and reemerged the package but with no results. As the ebuild unsets the CFLAGS variable this problem can't be an optimization problem. Moreover I don't like those heavy optimization flags and compiled my whole Gentoo only with O2, so there shouldn't be any other "overoptimized" libraries which mplayer could use.
As I couldn't find anything useful in Google and my last emerge from mplayer rc4 failed again, I decided to recompile the package manually and install it on top of my failed installation.
I took some configure options from the ebuild and let configure do the rest.
These are my parameters:
./configure --prefix=/usr --datadir=/usr/share/mplayer --confdir=/usr/share/mplayer --enable-gui --enable-largefiles --enable-linux-devfs --enable-mpdvdkit --enable-dvdnav --enable-xmms --enable-mencoder --enable-tv
I checked the configure output if everything was found and did a make && make install.
Eh voila - it works again.
I don't know which parameter is set by the ebuild that makes mplayer segfault but as I disabled most of the USE flags it could be that it is one of the default options set on configure invocation.
Perhaps one of these:
--enable-menu --enable-shared-pp --enable-dynamic-plugins --enable-real
I don't have time to investigate further and I already spent much too much time in this but I thought others could have the same problem and would be interested in this quick work-around.
Greetings,
Alex |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Feb 26, 2003 9:49 pm Post subject: |
|
|
A bug report would be helpful. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Bobbie Tux's lil' helper
Joined: 21 Jul 2002 Posts: 77
|
Posted: Wed Feb 26, 2003 11:07 pm Post subject: |
|
|
Yeah same thing for me since version > 0.90 rc2
It comes from -O4 flag set in the mplayer makefile which is activated for some configuratiions (but not all if I remeber). |
|
Back to top |
|
|
Bobbie Tux's lil' helper
Joined: 21 Jul 2002 Posts: 77
|
|
Back to top |
|
|
|