Re: Phix - Cannot open autoinclude VM/pLen.e

new topic     » goto parent     » topic index » view thread      » older message » newer message
ghaberek said...

I installed Phix to /usr/local/Phix and now it cannot find its include files. Do I really need to ensure the directory ends with "Phix" or is that a Windows thing?

$ p test.ex 
"/home/greg/Projects/phix-test" 
Cannot open autoinclude VM/pLen.e 
in /home/greg/Projects/phix-test/, 
   /home/greg/Projects/phix-test/builtins/VM/, 
or /home/greg/Projects/phix-test/builtins/. 
 
 
Press Enter, or d for diagnostics... 

$ which p 
/usr/local/Phix/p 

$ cat test.ex 
sequence s = {} 
? length(s) 

-Greg

Sorry, never did test installing anywhere other than $HOME/phix - more than anything else, 0.7.6 was posted out of relief that lnx64 had finally started to work.

I note that ptok.e still contains a couple of

--DEV (temp) 
    if platform()=LINUX then 
        if match("./",path)=1 then 
            path = getenv("HOME")&"/phix/"&path[3..$] 
        end if 
    end if 

iirc, the /phix path thing was mainly for pgui to find demo\pGUI\win32|64, so while we're installing iup/im/cd by hand, then maybe not, but I can't be sure.

I'll have to investigate...

Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu