Issac Trotts | 9 Apr 2007 07:48
Picon
Gravatar

Re: ttn-pers-scheme 0.48 available

Here's what it does on my installation of guile 1.9.0:

checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for install-info... install-info
checking for guile... /usr/local/bin/guile
checking for guile-config... /usr/local/bin/guile-config
checking for guile-tools... /usr/local/bin/guile-tools
checking if (guile-user) exports `identity'... yes
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?

-ijt

On 4/7/07, Thien-Thi Nguyen <ttn <at> gnuvola.org> wrote:
release notes:

  more web stuff dabbling.
  emacs calls, now...

  thi

README excerpt:

  This directory contains ttn's personal scheme library,
  a collection of Guile Scheme code and intervening text
  (-: as well as a maintenance methodology :-).

NEWS excerpt:

  - 0.48 | 2007-04-07

    - After DATE, THING will be removed; DO NOT rely on it

      - 2007-10-15: proc `(ttn html-world) render-html-world'
      - 2008-04-15: proc `(ttn-html-world) html-world'

        You can use `html-world.html-data' (cleaner, more general).

    - Dropped module: (ttn echo)
    - Dropped module: (ttn stringutils)

        These were announced in release 0.44 (2005-09-04).

    - Dropped (ttn abbrev-tree) proc: scrub
    - Dropped (ttn abbrev-tree) proc: split-first-word
    - Dropped (ttn abbrev-tree) proc: list->sep-string

        These were announced (in the manual but not in NEWS -- oops!)
        in release 0.43 (2005-08-20).

    - Dropped module: (ttn moduleutils)
    - Dropped feature: quoting support in `read-text-db-table'

        These were announced in release 0.42 (2005-06-05).

    - Changes to module (ttn html-world)

      - External program no longer needed: mogrify(1)

        This is part of the package `ImageMagick' and was used to invert
        a ppm image .  Now, this is done with another external program,
        pnminvert(1), part of the package `Netpbm'.  See modules.af for
        a full list.

      - New #:gen method: #:ppmforge

        This uses ppmforge(1) with options `-quiet -stars 0' to create
        the ppm image.  A large majority of the time, the image does not
        correspond to any landmass found on Earth, but sometimes a vague
        similarity occurs.  The #:ppmforge method is now the default for
        `html-world' and `html-world.html-data'.

      - New keyword arg for `html-world.html-data': #:link-tree

        Normally, the proc `href' from module (ttn html-data) is used to
        construct the tree (nested list of strings) that represents a
        chunk of text that is to be marked up w/ an HTML <A HREF...></A>
        tag.  This option lets you use another proc.

      - New proc: string<-image-command
      - New proc: randomly-hyperlinked

        These are the underlying mechanisms in `html-world.html-data',
        now generalized and documented.  Let the madness begin...

    - Optimization: `flatten' does nothing for the null string

    - New (ttn html-data) procs: tt, pre, div, span

    - New keyword for `listener': #:catch-tag SYMBOL

    - New (ttn dirutils) macro: with-cwd

    - New (ttn shell-command-to-string) proc: file-lines

    - New (ttn sanity) proc: ppsrc

    - New module: (ttn markup)

        Procedures in this module support definition of markup languages
        and related tree (nested list of strings) construction.  Flatten
        the trees to get the grotty <ELEM ATTR=VALUE>BODY</ELEM> stuff.

    - New homepage: http://www.gnuvola.org/software/ttn-pers-scheme/

        Please update your bookmarks.  Old glug.org urls can be
        munged to get the new url by passing them through:

        sed 's,/people/ttn/,/,;s,/ps/,/ttn-pers-scheme/,'

        Note: old urls in NEWS will remain unchanged, intentionally.

tarball, prettified source, etc, in dir:

   http://www.gnuvola.org/software/ttn-pers-scheme/


_______________________________________________
Guile-user mailing list
Guile-user <at> gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

_______________________________________________
Guile-user mailing list
Guile-user <at> gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Thien-Thi Nguyen | 9 Apr 2007 20:59
Favicon

Re: ttn-pers-scheme 0.48 available

() "Issac Trotts" <issac.trotts <at> gmail.com>
() 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:
<http://www.gnuvola.org/.ttn.usage.2007-04-09>

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

Attachment (close-all-fdes-except.c): text/x-csrc, 1414 bytes
_______________________________________________
Guile-user mailing list
Guile-user <at> gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Issac Trotts | 9 Apr 2007 22:37
Picon
Gravatar

Re: ttn-pers-scheme 0.48 available



On 4/9/07, Thien-Thi Nguyen <ttn <at> gnuvola.org> wrote:
() "Issac Trotts" <issac.trotts <at> gmail.com>
() 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.

Here's what happens when configuring ttn-pers-scheme under guile-1.4.1.107, grabbed from http://www.gnuvola.org/software

issac <at> jaynes:~/downloads/ttn-pers-scheme-0.48$ ./configure
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for install-info... install-info
checking for guile... /usr/local/bin/guile
checking for guile-config... /usr/local/bin/guile-config
checking for guile-tools... /usr/local/bin/guile-tools
checking if (guile-user) exports `identity'... yes
checking if (guile-user) exports `close-all-fdes-except'... yes
checking for Guile site directory... ${prefix}/share/guile/site
checking if Guile supports :prefix in use-modules clause... yes
checking if (ice-9 string-fun) is available... yes
checking if (ice-9 rdelim) is available... yes
checking if (ice-9 accumulate) is available... no
configure: error: required guile module not found: (ice-9 accumulate)

Where can I get ice-9 accumulate?

Issac
 

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:
< http://www.gnuvola.org/.ttn.usage.2007-04-09>

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




_______________________________________________
Guile-user mailing list
Guile-user <at> gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
Thien-Thi Nguyen | 9 Apr 2007 23:43
Favicon

Re: ttn-pers-scheme 0.48 available

() "Issac Trotts" <issac.trotts <at> gmail.com>
() Mon, 9 Apr 2007 13:37:53 -0700

   [problems] configuring ttn-pers-scheme under guile-1.4.1.107,
   grabbed from http://www.gnuvola.org/software

   Where can I get ice-9 accumulate?

hmm, looks like i have gone out-of-order publishing-wise.  sloppy!
sorry about that.  since you show appearance of having adventurous
spirit, try this out:

<http://www.gnuvola.org/tmp/guile-1.4.1.107.9.0.3.tar.gz>

bug-reports and other feedback welcome.

thi

_______________________________________________
Guile-user mailing list
Guile-user <at> gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


Gmane