Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Computer Support (http://www.velocityreviews.com/forums/f33-computer-support.html)
-   -   errors trying to install mplayerplug-in from source (http://www.velocityreviews.com/forums/t481613-errors-trying-to-install-mplayerplug-in-from-source.html)

noalternative 02-26-2007 11:26 PM

errors trying to install mplayerplug-in from source
 
Ok, I am trying to follow the instructions in the mplayerplugin for Opera
howto. http://ubuntuforums.org/showthread.php?t=185547&page=2

Anyway, I didn't seem to get any errors during the actual compiling phase.
but when I entered "make" I seemed to run into problems. Here is the
output.


root@ubuntu:~/mplayerplug-in# ./configure --enable-x
--with-gecko-sdk=/usr/loca l/gecko-sdk1.6 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... gawk
checking whether make sets $(MAKE)... yes checking how to run the C
preprocessor... gcc -E checking for X... no
checking for egrep... grep -E
checking for ANSI C header files... no 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... no
checking X11/Xlib.h presence... no
checking for X11/Xlib.h... no
checking X11/Intrinsic.h usability... no checking X11/Intrinsic.h
presence... no checking for X11/Intrinsic.h... no
checking X11/StringDefs.h usability... no checking X11/StringDefs.h
presence... no checking for X11/StringDefs.h... no
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... no checking for unistd.h... (cached) yes checking vfork.h
usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for memset... no
checking for strcasecmp... no
checking for strchr... no
checking for strdup... no
checking for strncasecmp... no
checking for strstr... no
checking for strrchr... no
checking for snprintf... no
checking for mkfifo... no
checking for dup2... no
checking for gettimeofday... no
checking for strerror... no
checking for strtol... no
checking for memmem... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdbool.h that conforms to C99... yes checking for _Bool...
yes
checking for sys/wait.h that is POSIX.1 compatible... yes checking return
type of signal handlers... void 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... no configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
root@ubuntu:~/mplayerplug-in# make
g++ -c -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/local/gecko-sdk1.6
-I/u sr/local/gecko-sdk1.6/xpcom/include
-I/usr/local/gecko-sdk1.6/nspr/include -I/u
sr/local/gecko-sdk1.6/string/include
-I/usr/local/gecko-sdk1.6/plugin/include -
I/usr/local/gecko-sdk1.6/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC
-DXPCOM _GLUE -DMOZILLA_STRICT_API -DX_ENABLED Source/plugin.cpp In file
included from include/npplat.h:41, from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:119:24: error: X11/Xlib.h:
No suc h file or directory
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:120:25: error: X11/Xutil.h:
No su ch file or directory In file included from Source/plugin.h:55, from
Source/plugin.cpp:37:
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or
directory Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such
file or directory /usr/local/gecko-sdk1.6/plugin/include/npapi.h:315:
error: ISO C++ forbids decla ration of ‘Display’ with no type
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:315: error: expected
‘;’ befo re ‘*’ token
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:316: error: ISO C++ forbids
decla ration of ‘Visual’ with no type
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:316: error: expected
‘;’ befo re ‘*’ token
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:317: error: ‘Colormap’
does n ot name a type /usr/local/gecko-sdk1.6/plugin/include/npapi.h:488:
error: ‘XEvent’ does not name a type
/usr/local/gecko-sdk1.6/plugin/include/npapi.h:498: error: ‘Region’
does not name a type /usr/local/gecko-sdk1.6/plugin/include/npapi.h:693:
error: ‘NPRegion’ has no t been declared
/usr/local/gecko-sdk1.6/plugin/include/npupp.h:1031: error: ‘NPRegion’
has n ot been declared include/pluginbase.h:55: warning: ‘class
nsPluginInstanceBase’ has virtual f unctions but non-virtual destructor
/usr/local/gecko-sdk1.6/xpcom/include/nsISupportsBase.h:80: warning:
‘class ns ISupports’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class
nsIScriptableWMPPlugin ’ has virtual functions but non-virtual
destructor Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class
nsIScriptableMplayerP lugin’ has virtual functions but non-virtual
destructor
/usr/local/gecko-sdk1.6/xpcom/include/nsIProgrammingLanguage.h:32:
warning: ‘c lass nsIProgrammingLanguage’ has virtual functions but
non-virtual destructor
/usr/local/gecko-sdk1.6/xpcom/include/nsIClassInfo.h:33: warning: ‘class
nsICl assInfo’ has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has
virtual functions but non-virtual destructor Source/plugin-setup.h:109:
error: ‘Widget’ does not name a type Source/plugin-setup.h:169: error:
variable or field ‘DrawUI’ declared void Source/plugin-setup.h:169:
error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:169: error: expected primary-expression before
‘*’ tok en Source/plugin-setup.h:169: error: ‘instance’ was not
declared in this scope Source/plugin-setup.h:169: error: expected
primary-expression before ‘char’ Source/plugin-setup.h:170: error:
expected primary-expression before ‘int’ Source/plugin-setup.h:170:
error: expected primary-expression before ‘int’
Source/plugin-setup.h:170: error: initializer expression list treated as
compoun d expression Source/plugin-setup.h:171: warning: ‘FreeUI’
initialized and declared ‘ext ern’ Source/plugin-setup.h:171: error:
variable or field ‘FreeUI’ declared void Source/plugin-setup.h:171:
error: ‘Display’ was not declared in this scope
Source/plugin-setup.h:171: error: ‘dpy’ was not declared in this scope
Source/plugin-setup.h:171: error: expected primary-expression before
‘*’ tok en Source/plugin-setup.h:171: error: ‘instance’ was not
declared in this scope Source/plugin-setup.h:171: error: initializer
expression list treated as compoun d expression Source/plugin-setup.h:172:
warning: ‘RedrawCB’ initialized and declared ‘e xtern’
Source/plugin-setup.h:172: error: variable or field ‘RedrawCB’
declared void Source/plugin-setup.h:172: error: ‘Widget’ was not
declared in this scope Source/plugin-setup.h:172: error: ‘XtPointer’
was not declared in this scope Source/plugin-setup.h:173: error:
‘XtPointer’ was not declared in this scope Source/plugin-setup.h:173:
error: initializer expression list treated as compoun d expression
Source/plugin-setup.h:205: error: ‘XEvent’ has not been declared
Source/plugin.h:158: error: ‘Window’ does not name a type
Source/plugin.h:159: error: ‘Window’ does not name a type
Source/plugin.h:160: error: ISO C++ forbids declaration of ‘Display’
with no type Source/plugin.h:160: error: expected ‘;’ before ‘*’
token Source/plugin.h:161: error: ‘Widget’ does not name a type
Source/plugin.h:268: error: ISO C++ forbids declaration of
‘XFontStruct’ wit h no type Source/plugin.h:268: error: expected
‘;’ before ‘*’ token Source/plugin.h:269: error: ‘Pixmap’ does
not name a type Source/plugin.h:270: error: ‘Pixmap’ does not name a
type Source/plugin.h:271: error: ‘Pixmap’ does not name a type
Source/plugin.h:272: error: ‘Pixmap’ does not name a type
Source/plugin.h:273: error: ‘Pixmap’ does not name a type
Source/plugin.h:274: error: ‘Pixmap’ does not name a type
Source/plugin.h:275: error: ‘Pixmap’ does not name a type
Source/plugin.h:276: error: ‘Pixmap’ does not name a type
Source/plugin.h:277: error: ‘Pixmap’ does not name a type
Source/plugin.h:278: error: ‘Pixmap’ does not name a type
/usr/local/gecko-sdk1.6/xpcom/include/nsIServiceManager.h:40: warning:
‘class nsIServiceManager’ has virtual functions but non-virtual
destructor /usr/local/gecko-sdk1.6/xpcom/include/nsIMemory.h:54: warning:
‘class nsIMemor y’ has virtual functions but non-virtual destructor
Source/plugin.cpp: In constructor
‘nsPluginInstance::nsPluginInstance(NPP_t*) : Source/plugin.cpp:187:
error: ‘widget’ was not declared in this scope Source/plugin.cpp:188:
error: ‘display’ was not declared in this scope Source/plugin.cpp:189:
error: ‘window’ was not declared in this scope Source/plugin.cpp:190:
error: ‘player_window’ was not declared in this scope
Source/plugin.cpp:226: error: ‘font’ was not declared in this scope
Source/plugin.cpp:227: error: ‘logo’ was not declared in this scope
Source/plugin.cpp:227: error: ‘Pixmap’ was not declared in this scope
Source/plugin.cpp:227: error: expected `;' before ‘__null’
Source/plugin.cpp:228: error: ‘logomask’ was not declared in this
scope Source/plugin.cpp:228: error: expected `;' before ‘__null’
Source/plugin.cpp:229: error: ‘progress_left’ was not declared in this
scope Source/plugin.cpp:229: error: expected `;' before ‘__null’
Source/plugin.cpp:230: error: ‘progress_leftmask’ was not declared in
this s cope Source/plugin.cpp:230: error: expected `;' before ‘__null’
Source/plugin.cpp:231: error: ‘progress_middle’ was not declared in
this sco pe Source/plugin.cpp:231: error: expected `;' before ‘__null’
Source/plugin.cpp:232: error: ‘progress_middlemask’ was not declared
in this scope Source/plugin.cpp:232: error: expected `;' before
‘__null’ Source/plugin.cpp:233: error: ‘progress_right’ was not
declared in this scop e Source/plugin.cpp:233: error: expected `;' before
‘__null’ Source/plugin.cpp:234: error: ‘progress_rightmask’ was
not declared in this scope Source/plugin.cpp:234: error: expected `;'
before ‘__null’ Source/plugin.cpp:235: error: ‘progress_fill’ was
not declared in this scope Source/plugin.cpp:235: error: expected `;'
before ‘__null’ Source/plugin.cpp:236: error: ‘progress_fillmask’
was not declared in this s cope Source/plugin.cpp:236: error: expected `;'
before ‘__null’ Source/plugin.cpp: In member function ‘virtual void
nsPluginInstance::shut() : Source/plugin.cpp:327: error: ‘Display’ was
not declared in this scope Source/plugin.cpp:327: error: expected
primary-expression before ‘)’ token Source/plugin.cpp:327: error:
‘FreeUI’ cannot be used as a function Source/plugin.cpp: In member
function ‘virtual NPError nsPluginInstance::SetWi ndow(NPWindow*)’:
Source/plugin.cpp:561: error: ‘GC’ was not declared in this scope
Source/plugin.cpp:561: error: expected `;' before ‘black_gc’
Source/plugin.cpp:562: error: ‘XGCValues’ was not declared in this
scope Source/plugin.cpp:562: error: expected `;' before ‘values’
Source/plugin.cpp:582: error: ‘Window’ was not declared in this scope
Source/plugin.cpp:582: error: expected `)' before ‘window’
Source/plugin.cpp:585: error: ‘window’ was not declared in this scope
Source/plugin.cpp:593: error: ‘values’ was not declared in this scope
Source/plugin.cpp:594: error: ‘struct NPSetWindowCallbackStruct’ has
no memb er named ‘display’ Source/plugin.cpp:594: error: ‘struct
NPSetWindowCallbackStruct’ has no memb er named ‘display’
Source/plugin.cpp:594: error: ‘DefaultScreen’ was not declared in this
scope Source/plugin.cpp:594: error: ‘BlackPixel’ was not declared in
this scope Source/plugin.cpp:595: error: ‘black_gc’ was not declared
in this scope Source/plugin.cpp:596: error: ‘struct
NPSetWindowCallbackStruct’ has no memb er named ‘display’
Source/plugin.cpp:596: error: ‘Window’ was not declared in this scope
Source/plugin.cpp:596: error: ‘GCForeground’ was not declared in this
scope Source/plugin.cpp:597: error: ‘XCreateGC’ was not declared in
this scope Source/plugin.cpp:601: error: ‘struct
NPSetWindowCallbackStruct’ has no memb er named ‘display’
Source/plugin.cpp:601: error: expected `)' before ‘aWindow’
Source/plugin.cpp:602: error: ‘XDrawString’ was not declared in this
scope Source/plugin.cpp:603: error: ‘struct NPSetWindowCallbackStruct’
has no memb er named ‘display’ Source/plugin.cpp:603: error:
‘XFreeGC’ was not declared in this scope Source/plugin.cpp:616: error:
‘widget’ was not declared in this scope Source/plugin.cpp:617: error:
‘Display’ was not declared in this scope Source/plugin.cpp:617: error:
expected primary-expression before ‘)’ token Source/plugin.cpp:618:
error: ‘Window’ was not declared in this scope Source/plugin.cpp:618:
error: ‘XtWindowToWidget’ was not declared in this sc ope
Source/plugin.cpp:620: error: ‘ExposureMask’ was not declared in this
scope Source/plugin.cpp:621: error: ‘XtEventHandler’ was not declared
in this scop e Source/plugin.cpp:621: error: ‘XtAddEventHandler’ was
not declared in this s cope Source/plugin.cpp:623: error: ‘display’
was not declared in this scope Source/plugin.cpp:623: error: ‘struct
NPSetWindowCallbackStruct’ has no memb er named ‘display’
Source/plugin.cpp:627: error: ‘window’ was not declared in this scope
Source/plugin.cpp:627: error: expected `;' before ‘aWindow’
Source/plugin.cpp: In member function ‘virtual NPError
nsPluginInstance::DestroyStream(NPStream*, NPError)’:
Source/plugin.cpp:1121: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:1121: error: ‘DrawUI’ cannot be used as a function
Source/plugin.cpp: In member function ‘virtual int32
nsPluginInstance::Write(N PStream*, int32, int32, void*)’:
Source/plugin.cpp:1498: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:1501: error: ‘DrawUI’ cannot be used as a function
Source/plugin.cpp:1522: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:1525: error: ‘DrawUI’ cannot be used as a function
make: *** [plugin.o] Error 1
root@ubuntu:~/mplayerplug-in#


Any ideas on what is wrong?
--
http://www.spampoison.com


Sam 02-27-2007 12:32 AM

Re: errors trying to install mplayerplug-in from source
 
noalternative writes:

> /usr/local/gecko-sdk1.6/plugin/include/npapi.h:119:24: error: X11/Xlib.h:
> No suc h file or directory
> /usr/local/gecko-sdk1.6/plugin/include/npapi.h:120:25: error: X11/Xutil.h:
> No su ch file or directory In file included from Source/plugin.h:55, from
> Source/plugin.cpp:37:


You are missing X11/X.org development libraries. Locate the correct package
for your Linux distribution that contains the X11/X.org development toolkit,
and install it.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBF43wNx9p3GYHlUOIRAmlOAJsHbP/H0ZnMW3YIq8LYGyJ+3TlH+wCfQ+yQ
a67KX/ZiYQdkrp4NVReQ3ao=
=paXp
-----END PGP SIGNATURE-----


John-Paul Stewart 02-27-2007 02:40 AM

Re: errors trying to install mplayerplug-in from source
 
noalternative wrote:
> Ok, I am trying to follow the instructions in the mplayerplugin for Opera
> howto. http://ubuntuforums.org/showthread.php?t=185547&page=2
>
> Anyway, I didn't seem to get any errors during the actual compiling phase.
> but when I entered "make" I seemed to run into problems. Here is the
> output.

[snip]
> /usr/local/gecko-sdk1.6/plugin/include/npapi.h:119:24: error: X11/Xlib.h:
> No suc h file or directory


This and many of the other errors suggest that you're missing the
various X -dev packages. Try installing xlibs-dev. (Or you may need to
individually install libx11-dev, libxext-dev, and assorted other
libx*-dev packages instead. I'm not sure if Ubuntu will provide the
xlibs-dev package.)

noalternative 02-27-2007 11:13 AM

Re: errors trying to install mplayerplug-in from source
 
On Mon, 26 Feb 2007 21:40:48 -0500, John-Paul Stewart wrote:

> This and many of the other errors suggest that you're missing the
> various X -dev packages. Try installing xlibs-dev. (Or you may need to
> individually install libx11-dev, libxext-dev, and assorted other
> libx*-dev packages instead. I'm not sure if Ubuntu will provide the
> xlibs-dev package.)


I have installed every xorg-dev package I could think up, and I have got
fewer errors but I am still getting some.

root@ubuntu:~/mplayerplug-in# make
g++ -c -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/local/gecko-sdk1.6 -I/usr/local/gecko-sdk1.6/xpcom/include -I/usr/local/gecko-sdk1.6/nspr/include -I/usr/local/gecko-sdk1.6/string/include -I/usr/local/gecko-sdk1.6/plugin/include -I/usr/local/gecko-sdk1.6/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -DX_ENABLED plugingate/np_entry.cpp
plugingate/np_entry.cpp:108:16: error: token "->" is not valid in preprocessor expressions
plugingate/np_entry.cpp:108:1: error: unterminated #if
include/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual functions but non-virtual destructor
plugingate/np_entry.cpp: In function ‘NPError fillNetscapeFunctionTable(NPNetscapeFuncs*)’:
plugingate/np_entry.cpp:106: error: expected `}' at end of input
plugingate/np_entry.cpp: At global scope:
plugingate/np_entry.cpp:54: warning: ‘NPError fillPluginFunctionTable(NPPluginFuncs*)’ defined but not used
plugingate/np_entry.cpp:100: warning: ‘NPError fillNetscapeFunctionTable(NPNetscapeFuncs*)’ defined but not used
make: *** [np_entry.o] Error 1
root@ubuntu:~/mplayerplug-in#


--
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian"
http://www.spampoison.com


--
Posted via a free Usenet account from http://www.teranews.com


noalternative 02-27-2007 11:57 AM

Re: errors trying to install mplayerplug-in from source
 
On Mon, 26 Feb 2007 21:40:48 -0500, John-Paul Stewart wrote

> This and many of the other errors suggest that you're missing the
> various X -dev packages. Try installing xlibs-dev. (Or you may need to
> individually install libx11-dev, libxext-dev, and assorted other
> libx*-dev packages instead. I'm not sure if Ubuntu will provide the
> xlibs-dev package.)


Installed every xorg-dev package I can think of, and it shortened my list
of errors but I am still getting them.

root@ubuntu:~/mplayerplug-in# ./configure --enable-x --with-gecko-sdk=/usr/local/gecko-sdk1.6
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
I installed every xorg-dev package I can think of, and it shortened my
list of errors but I am still getting them.
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... gawk
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers
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 libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for X11/extensions/dpms.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
root@ubuntu:~/mplayerplug-in# make

config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
root@ubuntu:~/mplayerplug-in# make
g++ -c -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/local/gecko-sdk1.6 -I/usr/local/gecko-sdk1.6/xpcom/include -I/usr/local/gecko-sdk1.6/nspr/include -I/usr/local/gecko-sdk1.6/string/include -I/usr/local/gecko-sdk1.6/plugin/include -I/usr/local/gecko-sdk1.6/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -DX_ENABLED plugingate/np_entry.cpp
plugingate/np_entry.cpp:108:16: error: token "->" is not valid in preprocessor expressions
plugingate/np_entry.cpp:108:1: error: unterminated #if
include/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual functions but non-virtual destructor
plugingate/np_entry.cpp: In function ‘NPError fillNetscapeFunctionTable(NPNetscapeFuncs*)’:
plugingate/np_entry.cpp:106: error: expected `}' at end of input
plugingate/np_entry.cpp: At global scope:
plugingate/np_entry.cpp:54: warning: ‘NPError fillPluginFunctionTable(NPPluginFuncs*)’ defined but not used
plugingate/np_entry.cpp:100: warning: ‘NPError fillNetscapeFunctionTable(NPNetscapeFuncs*)’ defined but not used
make: *** [np_entry.o] Error 1
root@ubuntu:~/mplayerplug-in#

What now?

--
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian"
http://www.spampoison.com


John-Paul Stewart 02-27-2007 03:19 PM

Re: errors trying to install mplayerplug-in from source
 
noalternative wrote:
> root@ubuntu:~/mplayerplug-in# make
> g++ -c -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/local/gecko-sdk1.6 -I/usr/local/gecko-sdk1.6/xpcom/include -I/usr/local/gecko-sdk1.6/nspr/include -I/usr/local/gecko-sdk1.6/string/include -I/usr/local/gecko-sdk1.6/plugin/include -I/usr/local/gecko-sdk1.6/java/include -DGECKOSDK_ENABLED -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -DX_ENABLED plugingate/np_entry.cpp
> plugingate/np_entry.cpp:108:16: error: token "->" is not valid in preprocessor expressions
> plugingate/np_entry.cpp:108:1: error: unterminated #if


Hmm...this is suggesting that there's an "#if" on line 108 of
np_entry.cpp but looking at my copy of the sources, that should just be
"if" (no # character). It looks to me like somehow your copy of the
file got changed. Manually delete the # on line 108 and see what happens.

noalternative 02-27-2007 03:55 PM

Re: errors trying to install mplayerplug-in from source
 
On Tue, 27 Feb 2007 10:19:46 -0500, John-Paul Stewart wrote:

>
> Hmm...this is suggesting that there's an "#if" on line 108 of
> np_entry.cpp but looking at my copy of the sources, that should just be
> "if" (no # character). It looks to me like somehow your copy of the
> file got changed. Manually delete the # on line 108 and see what happens.


Where is np_entry.cpp ?

--
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian"
http://www.spampoison.com


John-Paul Stewart 02-27-2007 04:07 PM

Re: errors trying to install mplayerplug-in from source
 
noalternative wrote:
> On Tue, 27 Feb 2007 10:19:46 -0500, John-Paul Stewart wrote:
>
>> Hmm...this is suggesting that there's an "#if" on line 108 of
>> np_entry.cpp but looking at my copy of the sources, that should just be
>> "if" (no # character). It looks to me like somehow your copy of the
>> file got changed. Manually delete the # on line 108 and see what happens.

>
> Where is np_entry.cpp ?


I believe the error message said it was in the plugingate sub-directory
of wherever you installed the sources.


noalternative 02-27-2007 06:32 PM

Re: errors trying to install mplayerplug-in from source
 
On Tue, 27 Feb 2007 11:07:50 -0500, John-Paul Stewart wrote:

> noalternative wrote:
>> On Tue, 27 Feb 2007 10:19:46 -0500, John-Paul Stewart wrote:
>>
>>> Hmm...this is suggesting that there's an "#if" on line 108 of
>>> np_entry.cpp but looking at my copy of the sources, that should just be
>>> "if" (no # character). It looks to me like somehow your copy of the
>>> file got changed. Manually delete the # on line 108 and see what happens.

>>
>> Where is np_entry.cpp ?

>
> I believe the error message said it was in the plugingate sub-directory
> of wherever you installed the sources.'


I have used find / to locate both np_entry.cpp and plugingate, but it
hasn't found either.

--
Brian (not wanting to be a messiah): "You are all individuals..."
Crowd (in unison): "We are all individuals..."
Monty Python's "Life Of Brian"
http://www.spampoison.com


John-Paul Stewart 02-27-2007 07:08 PM

Re: errors trying to install mplayerplug-in from source
 
noalternative wrote:
> On Tue, 27 Feb 2007 11:07:50 -0500, John-Paul Stewart wrote:
>
>> noalternative wrote:
>>> On Tue, 27 Feb 2007 10:19:46 -0500, John-Paul Stewart wrote:
>>>
>>>> Hmm...this is suggesting that there's an "#if" on line 108 of
>>>> np_entry.cpp but looking at my copy of the sources, that should just be
>>>> "if" (no # character). It looks to me like somehow your copy of the
>>>> file got changed. Manually delete the # on line 108 and see what happens.
>>> Where is np_entry.cpp ?

>> I believe the error message said it was in the plugingate sub-directory
>> of wherever you installed the sources.'

>
> I have used find / to locate both np_entry.cpp and plugingate, but it
> hasn't found either.


What directory were you in when you did "./configure" and "make"? Go
back to it, and it will have a subdirectory called plugingate, where you
will find np_entry.cpp. Based on your earlier post, it looks like that
was ~/mplayerplug-in while you were root. So it's in root's home
directory, which is usually /root and accessible only by root.



All times are GMT. The time now is 11:49 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.