unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* problem about v1.8.0 guile
@ 2011-01-13 12:47 joe
  2011-01-13 23:25 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: joe @ 2011-01-13 12:47 UTC (permalink / raw)
  To: bug-guile

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

Hello

      Recently, we migrate scheme codes from v1.6.4 guile to v1.8.0 guile
and go to build.

      But, we get error message as below :
              ERROR: In procedure primitive-load-path:
              ERROR: Unable to find file
"../../sid1/opcodes/../cgen/cgen-opc.scm" in load path

      I confirm two things. One is whole file structure is not changed. Two
is cgen-opc.scm still exists in relative path.

      I need you help for
      1. is there any change about file loading from v1.6.4 guile to v1.8.0
guile?
      2. could you give me suggestion of how to debug guile or debug scheme
codes?

Appreciate
joe

[-- Attachment #2: Type: text/html, Size: 850 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem about v1.8.0 guile
  2011-01-13 12:47 problem about v1.8.0 guile joe
@ 2011-01-13 23:25 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-01-13 23:25 UTC (permalink / raw)
  To: joe; +Cc: bug-guile

Hi,

joe <csfvjoe@gmail.com> writes:

>       Recently, we migrate scheme codes from v1.6.4 guile to v1.8.0 guile
> and go to build.

I warmly recommend 1.8.8, the latest release of the 1.8 series.

>       But, we get error message as below :
>               ERROR: In procedure primitive-load-path:
>               ERROR: Unable to find file
> "../../sid1/opcodes/../cgen/cgen-opc.scm" in load path

Dot-dot should be avoided in file names passed to ‘primitive-load-path’,
since that procedure searches for the given file in ‘%load-path’
(info "(guile) Loading").

>       1. is there any change about file loading from v1.6.4 guile to v1.8.0
> guile?

I don’t think so, but these are two very old releases.

>       2. could you give me suggestion of how to debug guile or debug scheme
> codes?

For the problem at hand, you could try the ‘search-path’ procedure to
see what happens, or use strace(1) to see where Guile is looking for
this file.

Hope this helps,
Ludo’.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-13 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-13 12:47 problem about v1.8.0 guile joe
2011-01-13 23:25 ` Ludovic Courtès

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).