From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Diogo F. S. Ramos Newsgroups: gmane.lisp.guile.user Subject: Re: Installing scheme only programs Date: Thu, 10 Mar 2011 14:42:10 -0300 (BRT) Message-ID: <20110310.144210.1911182161656752268.diogofsr@gmail.com> References: <20110310.035029.58396821684886596.diogofsr@gmail.com> <1299751076.3717.591.camel@gbgh-dsk-01148.sig.ads> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299778941 8122 80.91.229.12 (10 Mar 2011 17:42:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 17:42:21 +0000 (UTC) Cc: guile-user@gnu.org To: tcolgate@gmail.com Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 10 18:42:16 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxjsO-0004kT-CJ for guile-user@m.gmane.org; Thu, 10 Mar 2011 18:42:16 +0100 Original-Received: from localhost ([127.0.0.1]:35604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxjsN-0007yN-Ra for guile-user@m.gmane.org; Thu, 10 Mar 2011 12:42:15 -0500 Original-Received: from [140.186.70.92] (port=58079 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxjsA-0007xn-1M for guile-user@gnu.org; Thu, 10 Mar 2011 12:42:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxjs8-00040Y-RJ for guile-user@gnu.org; Thu, 10 Mar 2011 12:42:01 -0500 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:49965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxjs8-00040O-O7 for guile-user@gnu.org; Thu, 10 Mar 2011 12:42:00 -0500 Original-Received: by gyb13 with SMTP id 13so1020519gyb.0 for ; Thu, 10 Mar 2011 09:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:message-id:to:cc:subject:from:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=FZh9KkyLqdSwvC3HBGcqHe4EhvVGTh3t3Kav8jKVrR8=; b=ggx18xdQj6sjPElN+OdlI7Vje42GYRIVtjjbYzRm5sopSl4jGP4whYOfWrboGjfRyz LwlcLgPov6oCYW1Z4tyE+OBM0fdcEUZz2R5HRNJVgFSRCki8xyQexHouIXIz9fQVHFrk aoXDn7O/zVcPFT/AQ5GKOvGPSgvEJ3H6ihhxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZFKT6Q9L+fjzYb5ImdyD/f+1GSLijwxcJnOSf1GsWHk+xgr/bskA1uwHJX4DWqfTi5 OmbYYr2HRk7E2zDrCUz9/vFdz19Bu5xuCii/35F37RpEC02IS/YiuqOYbcYajFCWhTgT qDJS4102CkWWwtKeiweiLnCXr9l3Wy+BMLSck= Original-Received: by 10.150.215.16 with SMTP id n16mr1292544ybg.224.1299778920250; Thu, 10 Mar 2011 09:42:00 -0800 (PST) Original-Received: from localhost (189-68-66-173.dsl.telesp.net.br [189.68.66.173]) by mx.google.com with ESMTPS id c39sm2042950anc.7.2011.03.10.09.41.57 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Mar 2011 09:41:58 -0800 (PST) In-Reply-To: <1299751076.3717.591.camel@gbgh-dsk-01148.sig.ads> X-Mailer: Mew version 6.3.50 on Emacs 23.2 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8517 Archived-At: > I use the following trick to get things into the guile site directory > (and still pass a make distcheck). > > In configure.ac > GUILE_PROGS > GUILE_FLAGS > GUILE_SITE_DIR > > GUILE_PREFIX=`$GUILE_CONFIG info prefix` > AC_SUBST(GUILE_PREFIX) > > In src/Makefile.am: > SUFFIXES = .scm .go > .scm.go: > $(top_srcdir)/build-environ $(GUILE_COMPILE) -o "$@" "$<" > > guilesite = @GUILE_SITE@ > guileprefix = @GUILE_PREFIX@ > guilesitesuffix = `echo $(guilesite) | sed -e 's!^$(guileprefix)!!'` > guilesnmpdir = $(exec_prefix)/$(guilesitesuffix)/snmp > guilesnmp_DATA = $(SCHEMESOURCES) $(GOBJECTS) Nice to know, thank you. This reminds me of an issue that I'm having with guile-gnome, but I guess it's a theme that would be appropriate to come in here. I'm using the great m4 macros from guile.m4 to test if some guile modules are installed. The thing is, while I can test for (gnome-2), I can't for, say, (gnome gtk), because, as I understand it, (gnome-2) prepares the paths to enable loading gnome modules, but, as I'm not /using/ (gnome-2) at configure time, I can't locate them. -- Diogo F. S. Ramos