unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Bruce Carleton <rbc@rbcarleton.com>
To: guile-user@gnu.org
Subject: Loading mixp-0.4 in guile-1.6.8
Date: Sun, 23 Mar 2008 19:13:29 -0700	[thread overview]
Message-ID: <FEADD4E7-0B71-4252-8935-6ACC3DED4D3D@rbcarleton.com> (raw)

I'm trying to load mixp-0.4 in guile-1.6.8 and it's failing for some  
reason.  The host system is FreeBSD 7.0.  I installed guile-1.6.8  
from the FreeBSD package.  I installed mixp-0.4 from source using  
gcc-3.4.6.

My load path looks like:

guile> %load-path
("/usr/local/share/guile/site" "/usr/local/share/guile/1.6" "/usr/ 
local/share/guile" "/usr/local/share/guile" "/usr/local/share/guile"  
".")
guile>

 From the mixp Makefile:

GUILE_SITE = /usr/local/share/guile/site
subpkgdatadir = /usr/local/share/guile/site/xml

This is the error that I'm getting is:

guile> (use-modules (xml expat)
              (xml mixp))
<unnamed port>: In procedure process-define-module in expression  
(process-define-module (list # # ...)):<unnamed port>: invalid module  
name for use-syntax ((ice-9 syncase))
ABORT: (misc-error)
Type "(backtrace)" to get more information or "(debug)" to enter the  
debugger.guile>

The backtrace is:

guile> (backtrace)
Backtrace:In unknown file:
    ?: 11* (if (or # #) (try-load-module name))
    ?: 12  [try-load-module (xml mixp)]
    ?: 13  (or (begin (try-module-linked name)) (try-module-autoload  
name) ...)
    ?: 14* [try-module-autoload (xml mixp)]
    ?: 15  (let* (# # # #) (resolve-module dir-hint-module-name #f)  
(and # #))    ...
    ?: 16  (letrec ((load-file #)) (dynamic-wind (lambda () #)  
(lambda () #) ...) ...)
    ?: 17* [dynamic-wind #<procedure #f ()> #<procedure #f ()>  
#<procedure #f ()>]
    ?: 18* [#<procedure #f ()>]
    ?: 19* (let ((file #)) (cond (# => #) (# => #)))
    ?: 20  [#<procedure #f (full)> "/usr/local/share/guile/site/xml/ 
mixp.scm"]
    ?: 21  [load-file #<primitive-procedure primitive-load> ...]
    ?: 22* [save-module-excursion #<procedure #f ()>]
    ?: 23  (let (# #) (dynamic-wind # thunk #))
    ?: 24  [dynamic-wind #<procedure #f ()> #<procedure #f ()>  
#<procedure #f ()>]
    ?: 25* [#<procedure #f ()>]
    ?: 26* [primitive-load "/usr/local/share/guile/site/xml/mixp.scm"] 
In /usr/local/share/guile/site/xml/mixp.scm:
   25: 27* (define-module (xml mixp) #{:use-module}# ...)
   25: 28  (eval-case (# #) (else #))
In unknown file:
     ...
    ?: 29  (let ((m (process-define-module #))) (set-current-module  
m) m)
    ?: 30* [process-define-module ((xml mixp) #:use-module ((ice-9  
format)) ...)]
Type "(debug-enable 'backtrace)" if you would like a  
backtraceautomatically if an error occurs in the future.
guile>


Any ideas?

Thanks,

    --Bruce






             reply	other threads:[~2008-03-24  2:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24  2:13 Bruce Carleton [this message]
2008-03-25 21:23 ` Loading mixp-0.4 in guile-1.6.8 Neil Jerram
2008-03-25 21:37   ` Neil Jerram
2008-03-25 21:47     ` Bruce Carleton
2008-03-26  5:10     ` Bruce Carleton

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.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FEADD4E7-0B71-4252-8935-6ACC3DED4D3D@rbcarleton.com \
    --to=rbc@rbcarleton.com \
    --cc=guile-user@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.
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).