This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hobbit installation


>>>>> "Aleksandar" == Aleksandar Bakic <bakicale@cse.msu.edu> writes:

    Aleksandar> Hi, Has somebody solved the following problem when
    Aleksandar> making Hobbit 1.3:

    Aleksandar> ...  Making all in hobbit4d make[1]: Entering
    Aleksandar> directory `/user/bakicale/guile-hobbit-1.3/hobbit4d'
    Aleksandar> (cd ..; sh ./hob -v -B . -only-c hobbit4d/libhob.scm)
    Aleksandar> ;;; loading ./hobbit4d/link.scm ;;; loading
    Aleksandar> ./hobbit4d/defs.scm ;;; loading
    Aleksandar> ./hobbit4d/guile-hobbit.scm ;;; loading
    Aleksandar> ./hobbit4d/./hobbit4d/lib-hobbit guile: No such file
    Aleksandar> or directory: "./hobbit4d/./hobbit4d/lib-hobbit"

    Aleksandar> I found that hob does `(use-modules (hobbit4d
    Aleksandar> guile-hobbit))', which in turn does `(use-modules
    Aleksandar> (hobbit4d lib-hobbit))' and crashes because of the
    Aleksandar> "./hobbit4d" prefix above. I had installed Hobbit 1.3
    Aleksandar> on another machine with an earlier version of Guile,
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the problem, the loading stuff in boot-9.scm
has changed slightly, and hobbit
has not catched up so far (next month probably).

This is THE current big problem with hobbit, which depends too much on
guile internals.

    Aleksandar> but now I can't repeat the installation on either
    Aleksandar> machine (Solaris and Linux). I also have similar code
    Aleksandar> with `use-modules' that works, so I don't know what
    Aleksandar> happened to the paths here.

    Aleksandar> I would appreciate any help, because I need to install
    Aleksandar> STklos, which requires Hobbit 1.3...

A work around is to use:

(cd ..; sh ./hob -v -B `pwd` -only-c hobbit4d/libhob.scm)

At least it works with guile-core from 18 August. If you want to use
guile-tcltk, you MUST suppress in the interp smob all the GC8MARK
stuff, or you will experience GC crashes. 

Regards.

--

B. Urban