guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error compiling guile modules with guile extended program


From: Vijay Pratap Chaurasia
Subject: Re: Error compiling guile modules with guile extended program
Date: Fri, 23 Jun 2017 14:58:38 +0530

Hi,
      I am facing issue with guile extension application installation on
remote servers. We build guile in our home dirs and copy/move, the new
guile and other libraries along with scheme modules and their compiled
files to appropriate location for building extended program. When we
install extended guile application on other server, it tries to re-compile
guile modules, which fails and give below errors.

*;;; compiling /ilx/fish_tools/share/guile/2.2/system/vm/vm.scm*

*;;; compiling /ilx/fish_tools/share/guile/2.2/system/base/compile.scm*
*;;; it seems /ilx/fish_tools/share/guile/2.2/system/base/compile.scm*
*;;; is part of the compiler; skipping auto-compilation*
*;;; compiling /ilx/fish_tools/share/guile/2.2/system/base/syntax.scm*
*;;; WARNING: compilation of
/ilx/fish_tools/share/guile/2.2/system/base/syntax.scm failed:*
*;;; ERROR: In procedure variable-ref: variable is unbound: #<variable
8f896d8 value: #<undefined>>*

*;;; compiling /ilx/fish_tools/share/guile/2.2/system/base/message.scm*
*;;; WARNING: compilation of
/ilx/fish_tools/share/guile/2.2/system/base/message.scm failed:*
*;;; ERROR: In procedure variable-ref: variable is unbound: #<variable
8f896d8 value: #<undefined>>*

*.........*
*;;; compiling /ilx/fish_tools/share/guile/2.2/language/bytecode/spec.scm*
*;;; WARNING: compilation of
/ilx/fish_tools/share/guile/2.2/language/bytecode/spec.scm failed:*
*;;; ERROR: no such language bytecode*
*..........*
*;;; compiling
/ilx/fish_tools/share/guile/2.2/language/scheme/decompile-tree-il.scm*
*;;; WARNING: compilation of
/ilx/fish_tools/share/guile/2.2/language/scheme/decompile-tree-il.scm
failed:*
*;;; ERROR: no such language scheme*
*......*
*;;; compiling /ilx/fish_tools/share/guile/2.2/language/tree-il/debug.scm*
*;;; WARNING: compilation of
/ilx/fish_tools/share/guile/2.2/language/tree-il/debug.scm failed:*
*;;; ERROR: no such language tree-il*

On build server, we either use *"mv" or "cp -pr"* command to preserve the
time stamps and for remote servers, I tried all possible options I can
think to preserve the module files attributes and permission but guile
still thinks the modules .go files are not latest. I have used below
commands but it didn't help

·         tar                          “tar --selinux --acls --xattrs  -cvf
“ to build and “tar --selinux --acls --xattrs  -xvf” to extract

·         rsync                    “rsync -av -A -X -r -t -e ssh

·         scp -pr

How to transfer these scheme module and their .go files to remote servers
preserving all information to avoid re-compilation? Any help will be much
appreciated.

Thanks
Vijay


On Tue, Mar 28, 2017 at 4:22 PM, Vijay Pratap Chaurasia <address@hidden
> wrote:

> Hi,
>    I have a bunch of C/C++ libraries and functions which I link with guile
> to build an extension of guile. I have compiled guile-2.2 on RHEL5 system
> and compiled and link my program with guile successfully but when I execute
> my program, it fails to compile guile modules.
> Environment variables GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH are set
> properly. Any help appreciated.
>
> ;;; compiling /ilx/fish_tools/share/guile/2.2/system/vm/vm.scm
> ;;; compiling /ilx/fish_tools/share/guile/2.2/system/base/compile.scm
> ;;; it seems /ilx/fish_tools/share/guile/2.2/system/base/compile.scm
> ;;; is part of the compiler; skipping auto-compilation
> ;;; compiling /ilx/fish_tools/share/guile/2.2/system/base/syntax.scm
> ;;; WARNING: compilation of 
> /ilx/fish_tools/share/guile/2.2/system/base/syntax.scm
> failed:
> ;;; ERROR: In procedure variable-ref: variable is unbound: #<variable
> 8f896d8 value: #<undefined>>
> ;;; compiling /ilx/fish_tools/share/guile/2.2/system/base/message.scm
> ;;; WARNING: compilation of 
> /ilx/fish_tools/share/guile/2.2/system/base/message.scm
> failed:
> ;;; ERROR: In procedure variable-ref: variable is unbound: #<variable
> 8f896d8 value: #<undefined>>
>
> .........
> ;;; compiling /ilx/fish_tools/share/guile/2.2/language/bytecode/spec.scm
> ;;; WARNING: compilation of 
> /ilx/fish_tools/share/guile/2.2/language/bytecode/spec.scm
> failed:
> ;;; ERROR: no such language bytecode
> ..........
> ;;; compiling /ilx/fish_tools/share/guile/2.2/language/scheme/decompile-
> tree-il.scm
> ;;; WARNING: compilation of /ilx/fish_tools/share/guile/2.
> 2/language/scheme/decompile-tree-il.scm failed:
> ;;; ERROR: no such language scheme
> ......
> ;;; compiling /ilx/fish_tools/share/guile/2.2/language/tree-il/debug.scm
> ;;; WARNING: compilation of 
> /ilx/fish_tools/share/guile/2.2/language/tree-il/debug.scm
> failed:
> ;;; ERROR: no such language tree-il
>
>
> Thanks
> - Vijay
>



-- 
- vijay


reply via email to

[Prev in Thread] Current Thread [Next in Thread]