Hi :) The newest version in portage is 0.14.3 while the latest on homepage is 0.15.7 It would be great if someone could add the latter to portage :) Best regards, Maciej Reproducible: Always Steps to Reproduce: 1. 2. 3.
can't get it built here, it hangs on browser.cpp
Compile successfully here but only with : --disable-script-node-java (without that, configure gives me this error : "The Java Native Interface is required for Script node Java support.") --disable-mozilla-plugin (without, error : "xpidl is required to build the Mozilla plug-in").
did that as well, same problem here on amd64
I couldn't emerge 0.14.3, -java -mozilla-plugin didn't help me. I tried to modify a little 0.14.3 ebuild to compile 0.15.8, i setted XPIDL="/usr/bin/xpidl" XPIDLFLAGS="-I /usr/lib/mozilla/include/idl" before ./configure ... now xpidl is found ... but the real problem is not here. Openvrml searches mozilla's libraries in others paths. locate reveals libraries' existence. Now i can't manage to include /usr/lib/mozilla/include/dom in it. g++ "-DPACKAGE_NAME=\"OpenVRML Mozilla Plugin\"" -DPACKAGE_TARNAME=\"openvrml-mozilla-plugin\" -DPACKAGE_VERSION=\"0.15.8\" "-DPACKAGE_STRING=\"OpenVRML Mozilla Plugin 0.15.8\"" -DPACKAGE_BUGREPORT=\"openvrml-develop@lists.sourceforge.net\" -DPACKAGE=\"openvrml-mozilla-plugin\" -DVERSION=\"0.15.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_PTHREAD=1 -I. -I. -I -DGTK_DISABLE_DEPRECATED -DOPENVRML_LIBEXECDIR_=\"/usr/libexec\" -I/usr/lib/mozilla/include/java -I/usr/lib/mozilla/include/plugin -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/nspr -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Os -march=athlon-xp -pipe -MT openvrml.lo -MD -MP -MF .deps/openvrml.Tpo -c openvrml.cpp -fPIC -DPIC -o .libs/openvrml.o openvrml.cpp:38:27: nsIDOMWindow.h: No such file or directory make[5]: *** [openvrml.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/openvrml-0.15.8/work/openvrml-0.15.8/mozilla-plugin/src' make[4]: *** [all-recursive] Error 1 I think java support is build correctly instead [reading lines during compiling]. Maybe we have to include dev-libs/boost among dependancies too.
At least i could emerge 0.15.8 ... with some tricks #1 emerge dev-util/boost-jam dev-util/boost [~x86 ones, other version dont'work] #2 unpack sources and edit -> openvrml-0.15.8/mozilla-plugin/src/openvrml.cpp i changed include <nsIDOMWindow.h> to <dom/nsIDOMWindow.h> [line ~ #6/7] #3 added XPIDL="/usr/bin/xpidl" XPIDLFLAGS="-I /usr/lib/mozilla/include/idl" CPPFLAGS="-I /usr/lib/mozilla/include" before ./configure #4 added mozilla USE to install mozilla-plugin now lookat works, but i can't get the plugin correctly loaded in mozilla/firefox ... it's been installed but won't load ... both browser crashed.
0.15.9 is out
could you get 0.15.9 working? if please post an ebuild patch
Created attachment 86640 [details, diff] Patch to compile openvrml-0.15.10 on gentoo Hopefully solves problems with mozilla plugin compilation. Correct location of mozilla includes is introduced, clash of None #defined by X libraries with None typedefed by boost libraries is resolved by an ugly hack, and one include directive is corrected to contain dom/ part of path. Should it be broken to three patches addressing one issue at a time?
Created attachment 86641 [details] Ebuild for openvrml-0.15.10 Probably done totally wrong, excuse, please, my lack of experience. Works at least for me at x86 (Athlon XP 2500+, default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r4) Slightly modified ebuild of openvrml-0.14.3: patch applied and dependency on dev-libs/boost introduced. Should some USE flag like mozilla be added to trigger mozilla plugin build?
This package is being removed