Original date:2016-08-28 12:27:47 Edited by: petelomax Subject: Re: Unable to compile Eu programs

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 idea why I coded (pglobals.e line 103)

    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, but there may be more serious problems with get_proper_path() on Lnx...
The other thing you could try is "./phix alarm.exw"


Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu