Building gcjwebplugin ===================== The plug-in links to libgcj and Glib and requires headers from Mozilla's source tree. You will need to set PKG_CONFIG_PATH if libgcj is installed in a non-standard location. PKG_CONFIG_PATH is a colon-delimited list of directories where pkg-config may find .pc files. For example: export PKG_CONFIG_PATH=$(libgcj_prefix)/lib/pkgconfig:$PKG_CONFIG_PATH Most distributions install Glib by default, so it shouldn't require any special handling. configure runs mozilla-config to locate header files that the plug-in requires, so you'll need: export PATH=$(mozilla_build_dir)/dist/bin:$PATH To build the plug-in and install it in ~/.mozilla/plugins: ./configure && make && make install Building in a directory separate from the source tree is supported. See the output from ./configure --help for more configuration options. If you build from CVS you will need at least autoconf 2.57, automake 1.6 and libtool 1.4.3 to generate the configure scripts.