Re: Unable to compile Eu programs
- Posted by petelomax Aug 28, 2016
- 2082 views
jmduro said...
It's amazing! The line I refered to is located in a multi-line comment so it should not be executed, but when I launch alarm.exw, /home/pete/phix appears in ex.err and I did not find another place where /home/pete is declared:
Might be worth checking ptok.e - mine has a couple of
-- path = "/home/pete/phix/"&path[3..$] path = getenv("HOME")&"/phix/"&path[3..$]
- one in addPath(), and one in includeFile().
jmduro said...
/home/pete/phix/pglobals.e:-1 in procedure set_rootpath() index 0 out of bounds, reading sequence length 4
I may have already addressed the "-1 => proper line number" issue on my copy, in any case it is obviously the find(rootpath[j],..) on line 104
I have no real idea why I coded
for j=length(rootpath) to 0 by -1 do
instead of
for j=length(rootpath) to 1 by -1 do
It may be worth trying that, or it may be that rootpath needs to be set to "" or ".", or there may be more serious problems with get_proper_path() on Lnx...
The other thing you could try is "./phix alarm.exw"
Pete