From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Taht Subject: Re: Introducing gnugol - an org-mode-output web search client Date: Tue, 04 Jan 2011 11:11:17 -0800 Message-ID: <4D2370D5.6030807@teklibre.org> References: <4D210A00.9070901@teklibre.org> <87ipy5t4cp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=46962 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaCI8-0006qm-9I for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 14:11:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaCHy-00074O-IC for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 14:11:23 -0500 Received: from 75-145-127-229-colorado.hfc.comcastbusiness.net ([75.145.127.229]:34818 helo=gw.co.teklibre.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaCHy-00073X-Bt for emacs-orgmode@gnu.org; Tue, 04 Jan 2011 14:11:22 -0500 Received: from cruithne.co.teklibre.org (unknown [IPv6:2002:4b91:7fe5:3::20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "cruithne.co.teklibre.org", Issuer "CA Cert Signing Authority" (verified OK)) by gw.co.teklibre.org (Postfix) with ESMTPS id D21DC5E9E6 for ; Tue, 4 Jan 2011 12:11:19 -0700 (MST) In-Reply-To: <87ipy5t4cp.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, spc@conman.org Hi Bastien, On 01/04/2011 01:17 AM, Bastien wrote: > Hi Dave, > > Dave Taht writes: > >> 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) > > Looks interesting! It's so awesome to have people trying this - my last project had 2 users total.... >> Installation instructions: A fix for one of the problems reported on this list (by bart, thx!) was to make sure that the path /usr/local/lib was in /etc/ld.so.conf or in /etc/ld.so.conf.d and to run sudo ldconfig after installing libjannson. I've updated the documentation to reflect his. > > I'm using ArchLinux. I installed jansson from `yaourt -S jansson', > jansson compiles fine. I then looked for curl-dev but couldn't find > it in ArchLinux. If you got this far on the build, you probably have the curl-dev dependency resolved via other means. libcurl-dev? > I cloned the last git repo of Gnugol and tried to compile it but I get > this error: A small fix for one of the two utf-8 issues remaining got pushed out yesterday. (again in response to a bug report - thx Max/sean) The remaining utf-8 issue only (so far as I know) affects international characters at the command line, not in emacs's gnugol.el, which both url encodes utf8 and then shell escapes it before handing it to the shell. (it however requires that emacs be in utf-8 mode in the first place) I've added some site-specific searches to gnugol.el in the latest commits. > ,---- > | ../engines/engines.o: In function `gnugol_try_openlib': > | /home/guerry/install/git/Gnugol/src/engines/engines.c:21: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking > | /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libdl.a(dlopen.o): In function `dlopen': > | (.text+0x1b): undefined reference to `__dlopen' > | /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libdl.a(dlclose.o): In function `dlclose': > | (.text+0x8): undefined reference to `__dlclose' > | /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libdl.a(dlsym.o): In function `dlsym': > | (.text+0x1b): undefined reference to `__dlsym' > | /usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../libdl.a(dlerror.o): In function `dlerror': > | (.text+0x8): undefined reference to `__dlerror' > | collect2: ld returned 1 exit status > | make[2]: *** [gnugol] Error 1 > | make[2]: Leaving directory `/home/guerry/install/git/Gnugol/src/clients' > | make[1]: *** [all] Error 2 > | make[1]: Leaving directory `/home/guerry/install/git/Gnugol/src' > | make: *** [all] Error 2 Regrettably I didn't write the dll code, and my gcc is at version 4.4.3 My guesses are that you need to specify some sort of "-dynamic" option to gcc on your platform or specify the libdl shared object? (there is no -dynamic option on gcc 4.4.3 however) Do the other engines break as well? (make -k) I've gnugold on your error message without being particularly enlightened thus far. > `---- > > Hope that helps, > I expected teething problems. Will figure this one out soon. Thanks for trying gnugol!