The INSTALL document says I should set the PERL environment
variable if perl is not in the PATH. If I do this the configure
for reLyX fails. By looking in lib/reLyX/configure I found the
problem.

At line 1328 (release 1.2.2) the checking for perl begins... and
first it takes care of checking if PERL is set and then it don't
try to find it in the PATH.

But on line 1350 it performs the following, and this will of
course fail, as $ac_dir is not set (as the script skipped setting
it by finding perl in the PATH):

if echo 'require 5.002;exit' | $ac_dir/$ac_prog 2>&5
then
  PERL=$ac_dir/$ac_prog
else
  PERL=
fi

This means that PERL is unset and hence PERL is not found (and
later sed expressions also fail).

Either the INSTALL document should be changed to say you must have
perl in your PATH or the configure script fixed to handle the PERL
variable better.

Best regards,

  Henrik

PS. I am not on the list, so CC any reply to this mail to me as
well.

-- 
"Nope, I'm just an ordinary guy with nothing to lose."
        -- Lester Burnham, "American Beauty"

Reply via email to