[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Introducing gnugol - an org-mode-output web search client
From: |
Bart Bunting |
Subject: |
Re: [Orgmode] Introducing gnugol - an org-mode-output web search client |
Date: |
Mon, 03 Jan 2011 16:00:51 +1100 |
User-agent: |
Notmuch/0.5 (http://notmuchmail.org) Emacs/23.1.50.1 (x86_64-pc-linux-gnu) |
Hi Dave,
I have tried to download the git source of gnugol and compile it.
Running into a few issues at the moment: I did download and build the
jansson library which is installed in /usr/local
However when I run gnugol I'm seeing the following error:
Errors: google(1): ../engines/google.so: cannot open shared object file: No
such file or directory
google: failed to acquire shared lib
Warnings:google(1): Not in default location, error: libjansson.so.0: cannot
open shared object file: No such file or directory
address@hidden:~/src/Gnugol$
I have the *.so files from gnugol in the default place that the makefile
puts them, /var/lib/gnugol. I also tried simlinking them into
/usr/local/lib but this doesn't appear to make any difference.
The error also suggests that the janson library isn't being found.
Although the ldd output doesn't appear to list it?
$ which gnugol
/usr/local/bin/gnugol
address@hidden:~/src/Gnugol$ ldd /usr/local/bin/gnugol
linux-vdso.so.1 => (0x00007fffab5ff000)
libcurl-gnutls.so.4 => /usr/lib/libcurl-gnutls.so.4 (0x00007f8c9eccc000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f8c9eac8000)
libc.so.6 => /lib/libc.so.6 (0x00007f8c9e744000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x00007f8c9e511000)
liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f8c9e303000)
libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f8c9e0b7000)
librt.so.1 => /lib/librt.so.1 (0x00007f8c9deae000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007f8c9dc79000)
libz.so.1 => /lib/libz.so.1 (0x00007f8c9da60000)
libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0x00007f8c9d7bf000)
libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f8c9d545000)
/lib64/ld-linux-x86-64.so.2 (0x00007f8c9ef44000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00007f8c9d329000)
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f8c9d10f000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8c9cef1000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007f8c9cc2c000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007f8c9ca05000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00007f8c9c801000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007f8c9c5f8000)
libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f8c9c3e7000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f8c9c1e3000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00007f8c9bfdf000)
address@hidden:~/src/Gnugol$
I'm running the current unstable ubuntu branch natty. It also appears
to have no package for janson.
Any suggestions would be welcome.
Cheers
Bart
On Sun, 02 Jan 2011 15:28:00 -0800, Dave Taht <address@hidden> wrote:
> I have been an avid user of org-mode for over 2 years now.
>
> It has grown increasingly painful to exit emacs to use anything else!
> Recently I found that making the jump to web-search-space was bothering
> me...
>
> So over the holiday I wrote a command line web search client with an
> emacs interface and called it "gnugol". It uses the google json and bing
> json APIs to search the web, and outputs the results in plain text, in
> whatever format you're working in, notably, org, so you can navigate the
> results in the mind-set you're in.
>
> Gnugol is small, fast, simple, and growing more useful by the day. (I
> wrote the doc (http://gnugol.taht.net) for it in org-mode, too)
>
> It's not fully baked yet, but it's usable/reliable enough to have
> plausible promise for other org-mode users, so I'm announcing it today,
> here, in the hope I'll get comments, criticism, and patches.(especially,
> patches! I'm not much of an elisp hacker, and a full on in-org interface
> is thus far beyond me)
>
> Installation instructions:
>
> gnugol compiles on various linuxen (tested on debian/ubuntu x86, arm,
> x86_64) and OSX
>
> If you are using debian, you should be able to obtain almost all the
> dependencies by doing a:
>
> sudo apt-get install curl-dev
>
> Regrettably, the json library jansson does not have a debian package yet
> (at least on my distro), so you need to download and build it
> separately. The git version has API changes that I haven't grokked yet,
> so get version 1.3 from:
>
> http://www.digip.org/jansson/
>
> And go through the standard ./configure && make && make install # process
>
> And for gnugol itself:
>
> git clone git://github.com/dtaht/Gnugol.git
> cd Gnugol
> make; sudo make install
>
> Copy the src/lisp/gnugol.el into your ~/.emacs.d directory and put a
> (require 'gnugol) into your .emacs...
>
> At the command line:
>
> $ gnugol keywords to search for
>
> In Emacs, esc-x gnugol<ret> phrase to look for
>
> Example output:
>
> # note, wrapped by my mail client, not gnugol
> address@hidden:~/src/gnugol$ gnugol org-mode search engine
>
> ** [[http://orgmode.org/worg/blorgit.php][Blorgit: Org-Mode based, git
> amenable, blogging engine]]
> Blorgit is a blogging engine which uses Org-Mode for markup, runs on
> the Search The search bar compares your search terms as a perl-style
> regular
> **
> [[http://orgmode.org/worg/org-tutorials/advanced-searching.php][Advanced
> searching - Org-Mode]]
> For querying a collection of org files, Org-mode includes a powerful
> built
> ** [[http://orgmode.org/worg/org-contrib/org-mac-maillink.php][Org Link
> -- create Org-mode hyperlinks to Entourage mail messages]]
> The default is "copy-org-link". Then enter the exact key combination
> that
> **
> [[http://metajack.im/2009/01/01/journaling-with-emacs-orgmode/][Journaling
> with Emacs OrgMode]]
> Jan 1, 2009 (interactive) (switch-to-buffer (find-file
> org-journal-file)) (widen) (let (( today a real-time search engine for
> the Web, and Chesspark,
> ** [[http://www.emacswiki.org/emacs/OrgMode][EmacsWiki: Org Mode]]
> Aug 9, 2010 Lisp:org-mairix.el integrates Org mode with mairix email
> search. outline-magic. el Google's Code Hosting feature has a new wiki
> engine.
>
> ... Submitted in the hope that this might be useful and interesting... enjoy
>
> --
> Dave Taht
> http://nex-6.taht.net
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
--
Bart Bunting
URSYS Pty. Ltd
13 Burwood Rd. Burwood NSW 2134 Australia
Ph. +61 2 8745 2811
Fax +61 2 8745 2828