jed-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: do not load jed.conf


"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>>The same my happen, if someone have a local /usr/local/etc/jed.conf.
>>Would it be possible to add an option (--no-jed-conf) to not load the
>>jed.conf files?
>
> I think that the proper thing to do is to load the jed.conf file based
> upon the installation prefix.  For example, if jed is installed using
> --prefix=/opt, then /opt/etc/jed.conf should be used and /etc/jed.conf
> ignored.

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-

Jörg.

-- 
"Eine Mutter braucht zwanzig Jahre, um aus ihrem Jungen einen Mann zu
machen, und eine andere Frau braucht zwanzig Minuten, um aus ihm einen
Narren zu machen. "
(Robert Lee Frost)

--------------------------
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]