changed slang modules path

Guenter Milde g.milde at quantentunnel.de
Wed Sep 7 07:31:31 UTC 2011


Dear Jed packagers,

since upgrading libslang2 (and slsh and related) to the current version in
testing 2.2.4-3, the pcre module could no longer be loaded.
(Errors in both, slrn and jed).

The code in os.sl ::

  # ifexists set_import_module_path
  $1 = path_concat (JED_ROOT, "slsh");
  set_slang_load_path (strcat (get_slang_load_path (), char(path_get_delimiter()), $1));
  % set the library path for modules.
  set_import_module_path(path_concat($1, "modules"));
  # endif

results in ``/usr/lib/x86_64-linux-gnu/slang/v2/modules``.

Changing the path with:: 

  set_import_module_path("/usr/lib/slang/v2/modules");

solves the problem.

What would be the correct and backwards-compatible logic to set the path?
Should we add a versioned conflict?

Günter









More information about the Pkg-jed-devel mailing list