- Subject: Re: do not load jed.conf
- From: "G. Milde" <g.milde@xxxxxx>
- Date: Fri, 22 Apr 2005 15:44:37 +0200
On 22.04.05, Joerg Sommer wrote:
>
> OK. But we fight with another problem. When .sl files become byte
> compiled while package building, jed is invoked for this task. But it
> can't load jed.conf, because the load path of jed doesn't contain the
> paths needed by jed.conf.
>
> This is the part of debians build script with the error message:
> #v+
> # compile .sl; move compileable .sl to jed-sl.deb
> JED_ROOT=`pwd` ./src/objs/jed -batch -n -l preparse.sl
> loading /tmp/jed-B0.99-17.56/lib/site.sl
> loading /tmp/jed-B0.99-17.56/lib/os.sl
> loading /tmp/jed-B0.99-17.56/lib/menus.sl
> loading /etc/jed.conf
> loading /etc/jed-init.d/00debian.sl
> loading /etc/jed-init.d/05home-lib.sl
> loading /etc/jed-init.d/50jed-extra.sl
> loading /usr/share/slsh/local-packages/jed-extra.slc
> Unable to load /usr/share/slsh/local-packages/jed-extra.slc
> Traceback: evalfile
> /etc/jed-init.d/50jed-extra.sl:1:<top-level>:Open failed
> Traceback: evalfile
> Traceback: evalfile
> make: *** [binary-indep] Fehler 29
> #v-
IMHO, this is not a problem of jed.conf but of jed-extra.sl!
What we need is a fast check in jed-extra for the existence of the
Jed_Site_Library (or actualla all paths it relies on).
As it gets evaluated after home-lib.sl, the fastest check would be
if (Jed_Site_Library == "")
<abort script>
Günter
--
G.Milde web.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]