From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.sources Subject: Re: ttn-pers-scheme 0.48 available Date: Mon, 09 Apr 2007 20:59:27 +0200 Message-ID: <87wt0l9xww.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1176162507 7606 80.91.229.12 (9 Apr 2007 23:48:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 Apr 2007 23:48:27 +0000 (UTC) Cc: guile-user@gnu.org, guile-sources@gnu.org To: "Issac Trotts" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Apr 10 01:48:01 2007 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.50) id 1Haz5d-0001QK-8h for guile-user@m.gmane.org; Mon, 09 Apr 2007 20:59:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Haz9T-0004Cq-Ii for guile-user@m.gmane.org; Mon, 09 Apr 2007 15:03:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Haz9N-0004B3-Ln for guile-user@gnu.org; Mon, 09 Apr 2007 15:03:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Haz9L-0004AS-E8 for guile-user@gnu.org; Mon, 09 Apr 2007 15:03:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Haz9I-0004A7-Il; Mon, 09 Apr 2007 15:03:32 -0400 Original-Received: from smtp-out2.libero.it ([212.52.84.42]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Haz5R-0006hg-6s; Mon, 09 Apr 2007 14:59:33 -0400 Original-Received: from localhost (172.31.0.50) by smtp-out2.libero.it (7.3.120) id 4611FD9800614765; Mon, 9 Apr 2007 20:59:31 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Original-Received: from smtp-out3.libero.it ([172.31.0.39]) by localhost (asav-out9.libero.it [192.168.32.37]) (amavisd-new, port 10024) with ESMTP id lHs8cnC2rNNo; Mon, 9 Apr 2007 20:59:31 +0200 (CEST) Original-Received: from ambire.localdomain (151.21.32.188) by smtp-out3.libero.it (7.3.120) id 4611FDB60098AA9A; Mon, 9 Apr 2007 20:59:31 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.50) id 1Haz5S-0001JN-TI; Mon, 09 Apr 2007 20:59:34 +0200 In-Reply-To: (Issac Trotts's message of "Sun\, 8 Apr 2007 22\:48\:41 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:5914 gmane.lisp.guile.sources:270 Archived-At: --=-=-= () "Issac Trotts" () Sun, 8 Apr 2007 22:48:41 -0700 Here's what it does on my installation of guile 1.9.0: [...] checking if (guile-user) exports `close-all-fdes-except'... no configure: error: module (guile-user) does not export close-all-fdes-except; required Do you know how to fix this? one way is to try Guile 1.4.x, but i suspect that is not what you would prefer. another way is to avoid using module (ttn call-process) and its downstreams. here is a pruned list of dependencies: x (ttn call-process) autoload (ttn-do run-signed-batch-job) i (ttn call-process) regular (ttn call-process-to-buffers) i (ttn call-process-to-buffers) regular (ttn make-buffered-caller) i (ttn make-buffered-caller) autoload (ttn gpgutils) x (ttn make-buffered-caller) regular (ttn-do htmlize-scheme) regular (ttn-do publish) autoload (ttn-do run-signed-batch-job) regular (ttn-do snap-iso) it might be incomplete. here is the emacs-lisp expression evaluated to get all the deps (tweak to suit your site): (shell-command " cd ~/build/ttn-pers-scheme && \ ( cat ~/build/gnuvola/software/*/frisk.out ; echo ; echo '(internal downstream)' ; guile-tools frisk -id ttn/*.scm ) \\ | uniq | tee `date +.ttn.usage.%Y-%m-%d`") full list can be found (temporarily, for a couple days) at: once you've decided you can live w/o these things, you can hack the configure script to not fail due to that missing function. thirdly, another way is to add the function to your guile then restart the installation to ttn-pers-scheme. attached (to avoid mail system mangling) is the function extracted from libguile/ioext.c. some minor porting probably required. lastly, another way is to change (ttn call-process) so that it doesn't need the function at all. perhaps that is easy, i don't know. thi --=-=-= Content-Type: text/x-csrc Content-Disposition: attachment; filename=close-all-fdes-except.c Content-Description: close-all-fdes-except from libguile/ioext.c SCM_DEFINE (scm_close_all_fdes_except, "close-all-fdes-except", 0, 0, 1, (SCM fdes_list), "Close all file descriptors for ports used by the interpreter\n" "except for those supplied as arguments. This procedure\n" "is intended to be used before an exec(2) call. The related\n" "procedure @code{close-all-ports-except} is unsuitable for that\n" "because it flushes port buffers.") #define FUNC_NAME s_scm_close_all_fdes_except { int i, sysrv; SCM_VALIDATE_REST_ARGUMENT (fdes_list); for (i = 0; i < scm_port_table_size; i++) { SCM thisport = scm_port_table[i]->port; SCM ls = fdes_list; int matchp = 0; SCM fd; if (! SCM_OPFPORTP (thisport)) continue; fd = scm_fileno (thisport); while (SCM_NNULLP (ls) && !matchp) { if (SCM_EQ_P (SCM_CAR (ls), fd)) { /* This used to simply goto next_port, but gcc 3.3.2 warns "deprecated use of label at end of compound statement". The march of progress and all that. */ matchp = 1; break; } ls = SCM_CDR (ls); } if (!matchp) { SCM_SYSCALL (sysrv = close (SCM_INUM (fd))); if (sysrv < 0) SCM_SYSERROR; } /* next_port: */ } return SCM_UNSPECIFIED; } #undef FUNC_NAME --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user --=-=-=--