From: Bart Bunting <bart@ursys.com.au>
To: Dave Taht <d@teklibre.org>, emacs-orgmode@gnu.org
Subject: Re: Introducing gnugol - an org-mode-output web search client
Date: Mon, 03 Jan 2011 16:00:51 +1100 [thread overview]
Message-ID: <87oc7yvaws.fsf@bunting.net.au> (raw)
In-Reply-To: <4D210A00.9070901@teklibre.org>
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
bart@zig:~/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
bart@zig:~/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)
bart@zig:~/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 <d@teklibre.org> 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
> d@cruithne:~/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.
> Emacs-orgmode@gnu.org
> 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
next prev parent reply other threads:[~2011-01-03 21:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-02 23:28 Introducing gnugol - an org-mode-output web search client Dave Taht
2011-01-03 5:00 ` Bart Bunting [this message]
2011-01-04 10:06 ` Achim Gratz
2011-01-04 10:21 ` Bart Bunting
2011-01-04 9:17 ` Bastien
2011-01-04 9:57 ` Manuel Hermenegildo
2011-01-04 19:11 ` Dave Taht
2011-01-05 2:05 ` Matt Lundin
2011-01-05 8:40 ` Achim Gratz
2011-01-06 17:06 ` Allen S. Rout
2011-01-06 18:19 ` brian powell
2011-01-06 20:11 ` Konrad Hinsen
2011-01-07 11:35 ` brian powell
2011-01-08 17:42 ` Dave Taht
2011-01-08 17:21 ` Dave Taht
2011-01-08 18:12 ` Dave Taht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oc7yvaws.fsf@bunting.net.au \
--to=bart@ursys.com.au \
--cc=d@teklibre.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).