Fail to install current jed-extra

Rafael Laboissiere rafael at debian.org
Fri Nov 11 16:01:09 UTC 2005


* G. Milde <g.milde at web.de> [2005-11-11 16:25]:

> Now I have uploaded all my work from the previous night and hope the
> direction becomes clearer.
> 
> I did not test the compile, though. Feel free to look and test...
> 
> I will go for the weekend break and see what the thing looks like on
> Monday.

Thanks a lot for your efforts.  I really appreciate that.

I have tried the current SVN package.  It builds correctly, although
there are the three following Lintian warnings, which we must deal with:

W: jed-extra source: source-contains-cvs-conflict-copy uri/.#uri.sl.1.1.1.1
W: jed-extra: extra-license-file usr/share/doc/jed-extra/COPYING.gz
W: jed-extra: executable-not-elf-or-script ./usr/share/doc/jed-extra/examples/apsconf/SLang.ssh


Next, installation fails with the message:

$ debi
Unpacking jed-extra (from jed-extra_2.0-1_all.deb) ...
Setting up jed-extra (2.0-1) ...
/usr/share/jed/site-lib/jed-extra-preparse.sl not found.


I fixed this with the following patch:

--- jed-extra.install   (revision 180)
+++ jed-extra.install   (working copy)
@@ -1,5 +1,6 @@
 debian/init/*.sl etc/jed.d/
 debian/compile usr/share/jed/compile
+debian/jed-extra-preparse.sl usr/share/jed/site-lib
  
 life/* usr/share/jed/jed-extra
 view/* usr/share/jed/jed-extra
--- compile     (revision 180)
+++ compile     (working copy)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-LIBDIR=/usr/lib/jed-extra
+LIBDIR=/usr/share/jed/site-lib
 PREPARSE=jed-extra-preparse.sl
  
 case "$1" in


But installation still fails:

$debi
Unpacking jed-extra (from jed-extra_2.0-1_all.deb) ...
Setting up jed-extra (2.0-1) ...
buffer_dirname is undefined
/usr/share/jed/jed-extra/make_ini.sl:481:<top-level>:Undefined Name
Traceback: evalfile
/usr/share/jed/lib/site.sl:1176:require:Undefined Name
  Local variables for require:
        String_Type f = "make_ini"
        String_Type file = "make_ini"
/usr/share/jed/site-lib/jed-extra-preparse.sl:9:<top-level>:Undefined Name


It seems that make_ini must require bufutils.  I applied the following
patch:

--- jed-extra-preparse.sl       (revision 180)
+++ jed-extra-preparse.sl       (working copy)
@@ -6,6 +6,7 @@
 % add the jed-extra library dir to the jed library path
 set_jed_library_path($1 + ","+ get_jed_library_path());
  
+require("bufutils");
 require("make_ini");
   
 update_ini($1);
    

However, installation still fails:

$debi
Unpacking jed-extra (from jed-extra_2.0-1_all.deb) ...
Setting up jed-extra (2.0-1) ...
no SLang files in /root/jed/jed-extra/
Traceback: error
***string***:1:verror:Run-Time Error
/usr/share/jed/jed-extra/make_ini.sl:484:update_ini:Run-Time Error
  Local variables for update_ini:
        String_Type dir = "/root/jed/jed-extra/"
        String_Type buf = "*scratch*"
/usr/share/jed/jed-extra/make_ini.sl:504:<top-level>:Run-Time Error
Traceback: evalfile
/usr/share/jed/lib/site.sl:1176:require:Run-Time Error
  Local variables for require:
        String_Type f = "make_ini"
        String_Type file = "make_ini"
/usr/share/jed/site-lib/jed-extra-preparse.sl:10:<top-level>:Run-Time Error


I am lost.

Have a nice weekend.

-- 
Rafael



More information about the Pkg-jed-devel mailing list