Re: [Mplayerplug-in-devel] Unable to compile mplayerplug-in v2.70 in Debian even after the fix.
Brought to you by:
kdekorte
From: Kevin D. <kde...@ya...> - 2004-10-12 23:09:47
|
Phillip, You are missing the xpm development package.. In Fedora Core 2 the rpm that provides that file is xorg-x11-devel. I'm guessing in Debian it would be XFree86-devel or something like that. Kevin On Tuesday 12 October 2004 05:00 pm, Phillip Pi wrote: > Hello. I am trying to compile Mplayerplug-in in my new Debian system > (Linux ANTian-AXP 2.6.8-1-k7 #1 Thu Oct 7 02:47:47 EDT 2004 i686 > GNU/Linux), but make is failing. Here's the compile log: > > $ ./configure > checking for g++... g++ > checking for C++ compiler default output file name... a.out > checking whether the C++ compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking for a BSD-compatible install... /usr/bin/install -c > checking for gawk... no > checking for mawk... mawk > checking for pkg-config... /usr/bin/pkg-config > checking for mozilla-plugin... yes > checking MOZPLUG_CFLAGS... -I/usr/include/mozilla/java > -I/usr/include/mozilla/plugin -I/usr/include/mozilla/xpcom > -I/usr/include/mozilla/string -I/usr/include/mozilla/nspr > checking MOZPLUG_LIBS... -L/usr/lib/mozilla -lxpcom -lplds4 -lplc4 -lnspr4 > -ldl -lc -lpthread > checking for gtk+-2.0... yes > checking GTK_CFLAGS... -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include > checking GTK_LIBS... -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 > -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 > -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > checking for gthread-2.0... yes > checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include > checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lglib-2.0 > checking how to run the C preprocessor... gcc -E > checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include > checking for gethostbyname... yes > checking for connect... yes > checking for remove... yes > checking for shmat... yes > checking for IceConnectionNumber in -lICE... yes > checking for egrep... grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking stddef.h usability... yes > checking stddef.h presence... yes > checking for stddef.h... yes > checking for stdlib.h... (cached) yes > checking for unistd.h... (cached) yes > checking X11/Xlib.h usability... yes > checking X11/Xlib.h presence... yes > checking for X11/Xlib.h... yes > checking X11/Intrinsic.h usability... yes > checking X11/Intrinsic.h presence... yes > checking for X11/Intrinsic.h... yes > checking X11/StringDefs.h usability... yes > checking X11/StringDefs.h presence... yes > checking for X11/StringDefs.h... yes > checking for sys/stat.h... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking for an ANSI C-conforming const... yes > checking whether time.h and sys/time.h may both be included... yes > checking for pid_t... yes > checking for size_t... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for unistd.h... (cached) yes > checking vfork.h usability... no > checking vfork.h presence... no > checking for vfork.h... no > checking for fork... yes > checking for vfork... yes > checking for working fork... yes > checking for working vfork... (cached) yes > checking for memset... yes > checking for strcasecmp... yes > checking for strchr... yes > checking for strdup... yes > checking for strncasecmp... yes > checking for strstr... yes > checking for strrchr... yes > checking for snprintf... yes > checking for mkfifo... yes > checking for dup2... yes > checking for gettimeofday... yes > checking for strerror... yes > checking for strtol... yes > checking for memmem... yes > checking for strlcpy... no > checking for strlcat... no > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking X11/xpm.h usability... no > checking X11/xpm.h presence... no > checking for X11/xpm.h... no > checking for DPMSQueryExtension in -lXdpms... no > checking for X11/extensions/dpms.h... yes > configure: creating ./config.status > config.status: creating Makefile > > I edited the Makefile according to add -I/usr/include/mozilla to CFLAGS > line according to > http://sourceforge.net/tracker/index.php?func=detail&aid=1023442&group_id=7 >1239&atid=530623 ... > > $ make > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > Source/plugin.cpp > In file included from /usr/include/mozilla/nsIServiceManager.h:178, > from Source/plugin.cpp:38: > /usr/include/mozilla/xpcom/nsIServiceManagerUtils.h:48: warning: `class > nsGetServiceByCID' has virtual functions but non-virtual destructor > /usr/include/mozilla/xpcom/nsIServiceManagerUtils.h:81: warning: `class > nsGetServiceByContractID' has virtual functions but non-virtual > destructor > /usr/include/mozilla/xpcom/nsIServiceManagerUtils.h:114: warning: `class > nsGetServiceFromCategory' has virtual functions but non-virtual > destructor > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > Source/nsScriptablePeer.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > plugingate/npp_gate.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > plugingate/np_entry.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > plugingate/npn_gate.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > Source/plugin-support.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > Source/plugin-setup.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > Source/plugin-list.cpp > g++ -c -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 > -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin > -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string > -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC > -I/usr/X11R6/include -DXTHREADS -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED > Source/plugin-ui.cpp > Source/plugin-ui.cpp:6:21: X11/xpm.h: No such file or directory > Source/plugin-ui.cpp:44:2: #error libXpm has not been found. Compilation > cannot continue > make: *** [plugin-ui.o] Error 1 > > $ locate xpm.h > /usr/include/wx/imagxpm.h > > > I got Mozilla v1.7.3 from apt-get install. I compiled MPlayer > v1.0pre5-3.3.4 from its source. Thank you in advance. :) |