You are not logged in.

#1 2008-11-24 11:42:21

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Cannot build opera-mplayer-plugin

Hello,

I'm trying to build this plugin for opera. However I get this error during makepkg -cs:

==> Starting build()...
patching file configure.in
configure: WARNING: you should use --build, --host, --target
checking for make-g++... no
checking for make-c++... no
checking for make-gpp... no
checking for make-aCC... no
checking for make-CC... no
checking for make-cxx... no
checking for make-cc++... no
checking for make-cl.exe... no
checking for make-FCC... no
checking for make-KCC... no
checking for make-RCC... no
checking for make-xlC_r... no
checking for make-xlC... no
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 make-gcc... no
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 ISO C89... none needed
checking for a BSD-compatible install... /bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for make-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: Determining mozilla/firefox packages to build against
checking for MOZPLUG... no
configure: WARNING: mozilla-plugin not found
checking for MOZPLUG... no
configure: WARNING: firefox-plugin not found
checking for MOZPLUG... no
configure: WARNING: seamonkey-plugin not found
checking for MOZPLUG... no
configure: WARNING: xulrunner-plugin not found
checking for MOZPLUG... no
configure: WARNING: libxul not found
checking for MOZPLUG... no
configure: WARNING: iceape-plugin not found
configure: error: Unable to find mozilla or firefox development files
==> ERROR: Build Failed.
    Aborting...

Not sure what to do here.  I thought installing the dependencies would be enough.  I tried adding --enable-gtk and stuff as noted in the INSTALL file, but I get similar errors.  Any help would be appreciated!

Offline

#2 2008-11-24 20:23:14

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Cannot build opera-mplayer-plugin

do you have xulrunner installed?

Offline

#3 2008-11-25 06:17:38

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: Cannot build opera-mplayer-plugin

Initially no, but installing that got me somewhat farther.  Here's what the new errors say:

...
type
Source/plugin.h:308: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:309: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:309: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:310: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:310: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:311: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:311: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:312: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:312: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:313: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:313: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:314: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:314: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin-support.cpp: In function \u2018void killmplayer(nsPluginInstance*)\u2019:
Source/plugin-support.cpp:506: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin-support.cpp:507: warning: deprecated conversion from string constant to \u2018char*\u2019
make: *** [nsScriptablePeer.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from Source/plugin.cpp:37:
Source/plugin.h:299: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:299: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:301: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:301: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:302: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:302: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:303: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:303: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:304: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:304: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:305: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:305: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:306: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:306: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:307: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:307: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:308: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:308: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:309: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:309: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:310: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:310: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:311: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:311: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:312: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:312: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:313: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:313: error: expected \u2018;\u2019 before \u2018*\u2019 token
Source/plugin.h:314: error: ISO C++ forbids declaration of \u2018GdkPixbuf\u2019 with no type
Source/plugin.h:314: error: expected \u2018;\u2019 before \u2018*\u2019 token
make: *** [plugin-support.o] Error 1
In file included from Source/plugin.cpp:45:
Source/../pixmaps/gtk_logo.h:7: error: \u2018guint8\u2019 does not name a type
Source/plugin.cpp: In member function \u2018void nsPluginInstance::shutdown()\u2019:
Source/plugin.cpp:437: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:440: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:484: error: \u2018conf_window\u2019 was not declared in this scope
Source/plugin.cpp:485: error: \u2018GTK_IS_WIDGET\u2019 was not declared in this scope
Source/plugin.cpp:486: error: \u2018gtk_widget_destroy\u2019 was not declared in this scope
Source/plugin.cpp:489: error: \u2018gtkwidget\u2019 was not declared in this scope
Source/plugin.cpp:489: error: \u2018GTK_IS_WIDGET\u2019 was not declared in this scope
Source/plugin.cpp:490: error: \u2018GTK_OBJECT\u2019 was not declared in this scope
Source/plugin.cpp:491: error: \u2018delete_signal_id\u2019 was not declared in this scope
Source/plugin.cpp:491: error: \u2018g_signal_handler_disconnect\u2019 was not declared in this scope
Source/plugin.cpp:493: error: \u2018visible_signal_id\u2019 was not declared in this scope
Source/plugin.cpp:495: error: \u2018button_window\u2019 was not declared in this scope
Source/plugin.cpp:495: error: \u2018GTK_IS_WIDGET\u2019 was not declared in this scope
Source/plugin.cpp:496: error: \u2018gtk_widget_destroy\u2019 was not declared in this scope
Source/plugin.cpp:499: error: \u2018gtkwidget\u2019 was not declared in this scope
Source/plugin.cpp:499: error: \u2018GTK_IS_WIDGET\u2019 was not declared in this scope
Source/plugin.cpp:500: error: \u2018gtk_widget_destroy\u2019 was not declared in this scope
Source/plugin.cpp: In member function \u2018void nsPluginInstance::Play()\u2019:
Source/plugin.cpp:2241: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::Pause()\u2019:
Source/plugin.cpp:2271: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::Stop()\u2019:
Source/plugin.cpp:2291: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2293: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2303: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::Quit()\u2019:
Source/plugin.cpp:2321: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2322: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::FastForward()\u2019:
Source/plugin.cpp:2348: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2349: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2351: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::FastReverse()\u2019:
Source/plugin.cpp:2375: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2376: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2378: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::Seek(double)\u2019:
Source/plugin.cpp:2391: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp:2395: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::VolumeUp()\u2019:
Source/plugin.cpp:2409: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::VolumeDown()\u2019:
Source/plugin.cpp:2423: warning: deprecated conversion from string constant to \u2018char*\u2019
Source/plugin.cpp: In member function \u2018void nsPluginInstance::SetShowControls(PRBool)\u2019:
Source/plugin.cpp:2635: error: \u2018menuitem_showcontrols\u2019 was not declared in this scope
Source/plugin.cpp:2635: error: \u2018GTK_CHECK_MENU_ITEM\u2019 was not declared in this scope
Source/plugin.cpp:2636: error: \u2018gtk_check_menu_item_set_active\u2019 was not declared in this scope
Source/plugin.cpp: In member function \u2018void nsPluginInstance::SetFullscreen(PRBool)\u2019:
Source/plugin.cpp:2650: error: \u2018GdkScreen\u2019 was not declared in this scope
Source/plugin.cpp:2650: error: \u2018screen\u2019 was not declared in this scope
Source/plugin.cpp:2651: error: \u2018GdkRectangle\u2019 was not declared in this scope
Source/plugin.cpp:2651: error: expected `;' before \u2018rect\u2019
Source/plugin.cpp:2652: error: \u2018gint\u2019 was not declared in this scope
Source/plugin.cpp:2652: error: expected `;' before \u2018wx\u2019
Source/plugin.cpp:2653: error: expected `;' before \u2018wwidth\u2019
Source/plugin.cpp:2705: error: \u2018gtkwidget\u2019 was not declared in this scope
Source/plugin.cpp:2705: error: \u2018GTK_WINDOW\u2019 was not declared in this scope
Source/plugin.cpp:2705: error: \u2018gtk_window_get_screen\u2019 was not declared in this scope
Source/plugin.cpp:2708: error: \u2018gdk_screen_get_monitor_at_window\u2019 was not declared in this scope
Source/plugin.cpp:2709: error: \u2018rect\u2019 was not declared in this scope
Source/plugin.cpp:2709: error: \u2018gdk_screen_get_monitor_geometry\u2019 was not declared in this scope
Source/plugin.cpp:2711: error: \u2018wwidth\u2019 was not declared in this scope
Source/plugin.cpp:2711: error: \u2018wheight\u2019 was not declared in this scope
Source/plugin.cpp:2711: error: \u2018gtk_window_get_size\u2019 was not declared in this scope
Source/plugin.cpp:2716: error: \u2018GDK_WINDOW_XDISPLAY\u2019 was not declared in this scope
Source/plugin.cpp:2718: error: \u2018GDK_WINDOW_XWINDOW\u2019 was not declared in this scope
Source/plugin.cpp:2719: error: \u2018fs_window\u2019 was not declared in this scope
Source/plugin.cpp:2722: error: \u2018gtk_widget_map\u2019 was not declared in this scope
Source/plugin.cpp:2725: error: \u2018gtk_window_resize\u2019 was not declared in this scope
Source/plugin.cpp:2735: error: \u2018x\u2019 was not declared in this scope
Source/plugin.cpp:2736: error: \u2018y\u2019 was not declared in this scope
Source/plugin.cpp:2737: error: \u2018disp_y\u2019 was not declared in this scope
Source/plugin.cpp:2738: error: \u2018disp_x\u2019 was not declared in this scope
Source/plugin.cpp:2748: error: \u2018pos_y\u2019 was not declared in this scope
Source/plugin.cpp:2749: error: \u2018pos_x\u2019 was not declared in this scope
Source/plugin.cpp:2750: error: \u2018drawing_area\u2019 was not declared in this scope
Source/plugin.cpp:2752: error: \u2018gtk_widget_set_usize\u2019 was not declared in this scope
Source/plugin.cpp:2753: error: \u2018fixed_container\u2019 was not declared in this scope
Source/plugin.cpp:2753: error: \u2018GTK_FIXED\u2019 was not declared in this scope
Source/plugin.cpp:2754: error: \u2018GTK_WIDGET\u2019 was not declared in this scope
Source/plugin.cpp:2754: error: \u2018gtk_fixed_move\u2019 was not declared in this scope
Source/plugin.cpp:2758: error: \u2018gtk_widget_set_usize\u2019 was not declared in this scope
Source/plugin.cpp:2759: error: \u2018fixed_container\u2019 was not declared in this scope
Source/plugin.cpp:2759: error: \u2018GTK_FIXED\u2019 was not declared in this scope
Source/plugin.cpp:2760: error: \u2018GTK_WIDGET\u2019 was not declared in this scope
Source/plugin.cpp:2760: error: \u2018gtk_fixed_move\u2019 was not declared in this scope
make: *** [plugin.o] Error 1
==> ERROR: Build Failed.
    Aborting...

Adding things like --enable-gtk or --with-gecko-sdk= give similar errors.

Offline

#4 2008-11-26 04:55:09

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: Cannot build opera-mplayer-plugin

Offline

#5 2008-11-27 02:11:51

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: Cannot build opera-mplayer-plugin

Hi, unfortunately I still get the same type of errors displayed in my last post. sad

Offline

Board footer

Powered by FluxBB