unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Error compiling guile modules with guile extended program
@ 2017-03-28 10:52 Vijay Pratap Chaurasia
  2017-06-23  9:28 ` Vijay Pratap Chaurasia
  0 siblings, 1 reply; 2+ messages in thread
From: Vijay Pratap Chaurasia @ 2017-03-28 10:52 UTC (permalink / raw)
  To: guile-user, Vijay Pratap Chaurasia

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


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

* Re: Error compiling guile modules with guile extended program
  2017-03-28 10:52 Error compiling guile modules with guile extended program Vijay Pratap Chaurasia
@ 2017-06-23  9:28 ` Vijay Pratap Chaurasia
  0 siblings, 0 replies; 2+ messages in thread
From: Vijay Pratap Chaurasia @ 2017-06-23  9:28 UTC (permalink / raw)
  To: guile-user; +Cc: Vijay Pratap Chaurasia

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 <vijaypcin@gmail.com
> 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


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

end of thread, other threads:[~2017-06-23  9:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-28 10:52 Error compiling guile modules with guile extended program Vijay Pratap Chaurasia
2017-06-23  9:28 ` Vijay Pratap Chaurasia

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