MPlayer_gui compiling problems - Solved

discuss compiling applications for Puppy
Post Reply
Message
Author
User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

MPlayer_gui compiling problems - Solved

#1 Post by Tman »

Hi,

I was trying to compile mplayer from svn with the following options:

Code: Select all

	./configure --prefix=/usr \
	            --confdir=/etc/mplayer \
	            --enable-gui \
	            --enable-runtime-cpudetection \
	            --enable-menu \
	            --enable-xmms \
	            --disable-mencoder \
	            --disable-ossaudio \
	            --disable-arts \
	            --disable-esd \
	            --disable-pulse \
	            --disable-jack \
	            --disable-openal \
	            --disable-hardcoded-tables \
	            --disable-profile \
	            --disable-sighandler \
	            --disable-crash-debug \
	            --enable-xinerama \
	            --disable-ffmpeg_a
but I get the following error message from the terminal

Code: Select all

Error: The GUI requires the X11 extension XShape (which was not found).
If I use --disable-menu and --disable-gui, then mplayer will compile, but
it won't have a frontend.

Pfind finds shape.h, and I don't know why the compiler can't seem to find it. :(
Last edited by Tman on Wed 03 Oct 2012, 21:08, edited 1 time in total.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi Tman

i found this on an ubuntu post
Add --enable-xshape for compiling. Not a clue why but it works.

thanks a lot. worked like a charm.
worth a try
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#3 Post by Tman »

666philb,

thanks for the tip. Strange...in the configure options, it says that xshape is autodetected, I guess that function wasn't working too well. I added --enable-xshape,
and it gave me an error message saying it needs zlib. So I installed zlib from the wary repository, along with the DEV files. Mplayer compiled, but I still get no gui...something else is wrong.

Well ... at least I'm getting closer. I will add more specific ./configure options, now that I realize that autodetect doesn't always work.

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#4 Post by Tman »

Okay, I found the problem.

I compiled the pet using a modified buildpet script.
Buildpet optimizes the .png files through optipng ..this is usually a good thing.
But with Mplayer, it seems that using optipng (and maybe advancecomp also)
damages the theme, and the gui does not work.

Luckily, I have backups of the Mplayer themes. I injected the original theme back into the malfunctioning pet, and
the gui appears ..yeeessss! :)

So it seems that 666philb's advice for the configure otions was correct.

Thanks, 666philb!

Post Reply