[cad-linux] Re: Getting xspace, and Bruno's draft to run ; executable data

  • From: Bruno Postle <bruno@xxxxxxxxxx>
  • To: CAD Linux list <cad-linux@xxxxxxxxxxxxx>
  • Date: Mon, 15 Sep 2003 23:38:53 +0100

On Tue 16-Sep-2003 at 12:01:06AM +0200, Janek Kozicki wrote:
> 
> When I try to run xspace I get an error: 
> 
> janek@absurd:~/devel/Cad/xspace/xspace$ display space
> dump: --- dump_subtree --- 
> /home/janek/devel/Cad/xspace/xspace/lib/viewport-gtk.rb:21:in `require': No 
> such file to load -- gnome (LoadError)

Try running the tk version instead: `display.tk`.

> === draft:
> To be consitent, I'll also describe my problems related to running draft:
>    perl Makefile.PL  -> OK

Hmm... this should have failed with an error.

> janek@absurd:~/devel/Cad/draft/Draft-0.01$ make test

> t/001..read-reference.Can't locate SGI/FAM.pm in @INC (@INC contains: . lib 
> blib/arch blib/lib /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 
> /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 
> /usr/share/perl5 /usr/local/lib/site_perl) at lib/Draft/Drawing.pm line 7.

> I see that the problem is FAM related, but I don't know how to correct
> this. I have debian fam package installed (to be exact: fam 2.6.6.1-5.2)
> and I don't know what more about FAM should I do...

Draft depends on the perl SGI::FAM module, and (stupidly, because it
is under heavy development) the perl Gtk2 module.

Neither seem to have debian packages so you have to install them via
CPAN (as root):

    perl -MCPAM -e 'install SGI::FAM'
    perl -MCPAN -e 'install Gtk2'

> At last I had to give up, because I have some other work to do ;)
> If I don't manage to run xpace and Bruno's draft program,
> ewentually I'll sit down and start this data specification without
> it....

Try again, because they explore the problem in quite different ways.

-- 
Bruno

Other related posts: