Hi!

I tried to install l2h98_1p4. But l2h wasn't able to find
ghostscript, so  configure-pstoimg  fails.

configure-pstoimg uses the subroutine  find_executable  from
Override.pm. But find_executable doesn't work, because it
uses only the first element of @PATH:

        # in case @PATH is not a list
        if ($#PATH = 1){
#                 ^^^
# correct:  $#PATH == 1
#                 
#      
            local($path) = shift @PATH;
            @PATH = split(/$envkey/,$path);
        }
       foreach(@PATH) {
           if(-e "$_/$name") {
               if( -x _ ) {
                   return "$_/$name";
               } else {
                   warn "Warning: $_/$name exists, but is not executable.\n";
               }
           }
       }
       return(undef);


There weren't any other installation problems. :-)

Bye, Eike

Reply via email to