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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"