summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorStanislav Brabec <utx@src.gnome.org>2001-01-22 20:56:02 +0000
committerStanislav Brabec <utx@src.gnome.org>2001-01-22 20:56:02 +0000
commitce3ca82ac2644328cd29f0c68ffd759b3644fad5 (patch)
tree92fd7f4611fba55d0c8dde3961f8074abf88e8de /README
parentdd4ae7804df9b6a987439ea74c32edd49e97d57c (diff)
downloadnautilus-ce3ca82ac2644328cd29f0c68ffd759b3644fad5.tar.gz
Added support for db1 emulation in Berkeley DB3. DB3 needs
* configure.in: Added support for db1 emulation in Berkeley DB3. DB3 needs --enable-compat185. * README: Describe solutions of linking errors with mozilla libs (partially copied from Galeon's FAQ).
Diffstat (limited to 'README')
-rw-r--r--README37
1 files changed, 37 insertions, 0 deletions
diff --git a/README b/README
index 29c73e1a9..10f41b3e2 100644
--- a/README
+++ b/README
@@ -283,6 +283,43 @@ need to do some environment setup for the Mozilla component:
export MOZILLA_FIVE_HOME=/foo/bar/mozilla/dist/bin
export LD_LIBRARY_PATH=/foo/bar/mozilla/dist/bin:$LD_LIBRARY_PATH
+If you experience linking problems (e. g. undefined reference to
+`nsString type_info node'), please note that both applications
+(mozilla and nautilus) must be compiled not only with the same version
+of compiler, but also with the same compiler flags. Download the right
+mozilla package for your distribution (see upper). If you have built
+Mozilla from source, Mozilla by default adds CXXFLAGS -fno-rtti and
+-fno-exceptions or -fno-handle-exceptions (depends on gcc version).
+You have two chances to make things in sync:
+
+1)
+Compile mozilla with this .mozconfig script: (You must place it in your home directory)
+
+# sh
+# Build configuration script
+#
+# See http://www.mozilla.org/build/unix.html for build instructions.
+#
+
+# Options for 'configure' (same as command-line options).
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --enable-strip-libs
+ac_add_options --enable-cpp-rtti
+ac_add_options --disable-mailnews
+ac_add_options --enable-optimize
+
+2)
+Configure mozilla with standard configure script and compile it.
+Before configuring Nautilus set proper CXXFLAGS. For example with
+latest gcc it means:
+
+CXXFLAGS='-fno-rtti -fno-exceptions'
+export CXXFLAGS
+
+For more see configure.in in mozilla source. You can save some space by
+disabling RTTI.
+
Finally, you can disable the Mozilla component (even if Mozilla
development libraries are installed in your system) as follows: