The issue persists in 12.10

The patch provided in post #10 has worked for me.  I've been using
search monkey for several hours with no crash ;-)

Here are the instructions for creating a patched version of
searchmonkey-0.8.1

1) Download the 0.8.1 source from
http://sourceforge.net/projects/searchmonkey/files/searchmonkey/ and
unzip.

2) Apply the patch (thanks Mateusz!) from post #10 using

$ patch -p0 < searchmonkey-fixes.patch

3) Install the necessary build tools.  In my case, I needed the
following.  YMMV.

$ sudo apt-get install gtk+-2.0

4) configure the makefile, and build it

$ configure && make

5) You now have an executable (src/searchmonkey).  Install it:

$ sudo make install


I also tried to build searchmonkey-2.0.0.  The code won't compile without a 
small bug-fix.  I won't bother adding a patch, as resulting application is, 
IMHO, vastly inferior to the old version.

1) Download the 2.0.0 source from
http://sourceforge.net/projects/searchmonkey/files/Searchmonkey2 and
unzip

2) Install the necessary build tools.  In my case, I needed the
following:

$ sudo apt-get install qt4-qmake libqt4-core libqt4-dev libqt4-dev-bin
g++

3) Fix a bug in the code - it won't compile otherwise(!)  In file
Utility.h, there is a template IsValueInRange<>, which is dependent on
the templates LowerBoundFIt<> and UpperBoundFit<>, but which is declared
ahead of it.

Simply change the order so that IsValueInRange<> comes
afterLowerBoundFIt<> and UpperBoundFit<>.

4) create the makefile from the QT project file, and build it.

$ qmake && make

5) you have an executable, searchmonkey

PS - I wanted to send the bug-fix back to the project maintainers, but
their forum, mailing-list and contact addresses lead nowhere....

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/178701

Title:
  Searchmonkey crashes when a result is selected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/searchmonkey/+bug/178701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to