56 lines
1.5 KiB
Text
56 lines
1.5 KiB
Text
This file is licensed under the terms of the expat license, see the file EXPAT.
|
|
|
|
+++ Installing Midori +++
|
|
|
|
Building and installing Midori is straightforward.
|
|
|
|
Make sure you have Python 2.4 or higher installed.
|
|
|
|
Change to the Midori folder on your hard disk in a terminal.
|
|
|
|
Run './waf configure'
|
|
|
|
Run './waf build'
|
|
|
|
You can now run Midori from the build folder like so
|
|
|
|
'./waf build --run'
|
|
|
|
This is a convenience that will load extensions as well as
|
|
localizations from the build folder.
|
|
|
|
You can install it with './waf install'
|
|
|
|
For further options run './waf --help'
|
|
|
|
+++ Debugging Midori +++
|
|
|
|
Run './waf configure -d full' from the Midori folder.
|
|
|
|
Run './waf build'
|
|
|
|
Midori is now built with debugging symbols.
|
|
|
|
Make sure you have installed 'gdb', the GNU Debugger.
|
|
|
|
Run Midori as 'gdb _build_/default/midori/midori'.
|
|
|
|
Try to reproduce a crash that you experienced earlier,
|
|
this time Midori will freeze at the point of the crash.
|
|
Switch to your terminal, type bt ('backtrace') and hit Return.
|
|
What you obtained now is a backtrace that should include
|
|
function names and line numbers.
|
|
|
|
If the problem is a warning and not a crash, try this:
|
|
|
|
'G_DEBUG=all gdb _build_/default/midori/midori'
|
|
|
|
If you are interested in HTTP communication, try this:
|
|
|
|
'MIDORI_SOUP_DEBUG=2 _build_/default/midori/midori'
|
|
|
|
Where '2' can be a level between 0 and 3.
|
|
|
|
For further information a tutorial for gdb and
|
|
reading up on how you can install debugging
|
|
symbols for libraries used by Midori are recommended.
|