From owner-freebsd-questions@FreeBSD.ORG Sat Nov 11 14:06:17 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D4A416A415 for ; Sat, 11 Nov 2006 14:06:17 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6884943D7C for ; Sat, 11 Nov 2006 14:06:14 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [10.35.4.65] (65.4-35-10-static.chueca.wifi [10.35.4.65]) by strange.daemonsecurity.com (Postfix) with ESMTP id 9646E2E05C for ; Sat, 11 Nov 2006 15:06:08 +0100 (CET) Message-ID: <4555D865.6060106@locolomo.org> Date: Sat, 11 Nov 2006 15:04:21 +0100 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (X11/20061022) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Java plugin for Firefox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 14:06:17 -0000 Hi: How do I build the java plugin for Firefox? I have jdk15 installed without the plugin. I tried to rebuild with USE_GECKO=firefox which fails as the Makefile also states: /usr/local/include/firefox/nsDebug.h:207:1: warning: this is the location of the previous definition ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function `virtual JDresult CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)': ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: error: `nsPluginThread' was not declared in this scope ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: error: `pPluginThread' was not declared in this scope ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In member function `virtual JDresult CNSAdapter_JVMManager::PostEvent(JDUint32, IRunnable*, JDBool)': ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: error: invalid conversion from `JDUint32' to `PRThread*' ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: error: initializing argument 1 of `virtual nsresult nsIThreadManager::PostEvent(PRThread*, nsIRunnable*, PRBool)' gmake[5]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/CNSAdapter_JVMManager.o] Error 1 gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter' gmake[3]: *** [ns7-adapter] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter' gmake[2]: *** [adapter] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin' gmake[1]: *** [plugin-all] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make' gmake: *** [deploy-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. Then I tried just building it for mozilla with the idea of copying or linking the plugin to the firefox plugin dir. But building mozilla fails nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, void*)' to `int (*)(FT_Vector*, void*)' nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, void*)' to `int (*)(FT_Vector*, void*)' nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, const FT_Vector*, void*)' to `int (*)(FT_Vector*, FT_Vector*, void*)' nsType1.cpp:371: error: invalid conversion from `int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)' to `int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' gmake[4]: *** [nsType1.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src/ps' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla. Any suggestions? Secondly, is there a way to just build the plugin since I have the jdk built and installed? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9