1. Attempting to get WEE to work on Linux

I'm attempting to get WEE to work on Linux but I'm not having luck yet. I get the following error:

/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/ronald/dev/WEE/EuGTK/GtkEngine.e:730  

However this problem does not seem to be unique to Wee or EuGTK

[ronald@localhost unix]$ pwd 
/home/ronald/dev/euphoria/demo/unix 
[ronald@localhost unix]$ eui qsort.ex  
 
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/ronald/dev/euphoria/demo/unix/qsort.ex:31  
 
--> See ex.err 

new topic     » topic index » view message » categorize

2. Re: Attempting to get WEE to work on Linux

In the event that this is helpful to someone that want to look at "Missing Magic" error:

/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
    id = 3 
 
... called from /home/ronald/dev/open_euphoria/euphoria/demo/unix/qsort.ex:31  
 
 
Public & Export & Global & Local Variables 
 
 /usr/local/share/euphoria/include/std/memconst.e: 
    DEP_really_works = 0 
    use_DEP = 1 
    FREE_RID = 2 
    kernel_dll = <no value> 
    memDLL_id = <no value> 
    VirtualAlloc_rid = <no value> 
    VirtualLock_rid = <no value> 
    VirtualUnlock_rid = <no value> 
    VirtualProtect_rid = <no value> 
    GetLastError_rid = <no value> 
    GetSystemInfo_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/memory.e: 
    edges_only = <no value> 
    check_calls = 1 
    VirtualFree_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/types.e: 
    Defined_Sets = { 
                     {98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k', 
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x', 
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M', 
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'}, 
                     {97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I', 
79'O',85'U'}, 
                     { 
                       {48'0',57'9'}, 
                       {65'A',70'F'}, 
                       {97'a',102'f'} 
                     }, 
                     {32' ',9,10,13,11,160}, 
                     { 
                       {32' ',47'/'}, 
                       {58':',63'?'}, 
                       {91'[',96'`'}, 
                       {123'{',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'}, 
                       {32' ',32' '}, 
                       {9,9}, 
                       {10,10}, 
                       {13,13}, 
                       {8,8}, 
                       {7,7} 
                     }, 
                     { 
                       {97'a',122'z'} 
                     }, 
                     { 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'}, 
                       {95'_',95'_'} 
                     }, 
                     { 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {0,127} 
                     }, 
                     { 
                       {0,31}, 
                       {127,127} 
                     }, 
                     { 
                       {48'0',57'9'} 
                     }, 
                     { 
                       {33'!',126'~'} 
                     }, 
                     { 
                       {0,255} 
                     }, 
                     {95'_'}, 
                     {1,0} 
                   } 
 
 /usr/local/share/euphoria/include/std/machine.e: 
    FREE_ARRAY_RID = 1 
    page_size = 4096 
 
 /home/ronald/dev/open_euphoria/euphoria/demo/unix/qsort.ex: 
    libc = 0 
    qid = 3 
    nitems = <no value> 
    item_size = <no value> 
    qsort = <no value> 
    ncalls = 0 
    qaddr = <no value> 
    array = <no value> 
 
 
 

new topic     » goto parent     » topic index » view message » categorize

3. Re: Attempting to get WEE to work on Linux

xecronix said...

I'm attempting to get WEE to work on Linux but I'm not having luck yet. I get the following error:

/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/ronald/dev/WEE/EuGTK/GtkEngine.e:730  

However this problem does not seem to be unique to Wee or EuGTK

[ronald@localhost unix]$ pwd 
/home/ronald/dev/euphoria/demo/unix 
[ronald@localhost unix]$ eui qsort.ex  
 
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/ronald/dev/euphoria/demo/unix/qsort.ex:31  
 
--> See ex.err 

I've confirmed this error with qsort.ex

If I go into be_machine.c and change all references of CALLBACK_SIZE to 300 (specifically on lines 2354 and 2358) then the error goes away and qsort works.

I'm not in a position to test wee right now, can you make this change, rebuild, and see if you still have this problem with qsort and wee ?

If you can't, then I'll either try it out on the image you sent me, or attempt to download and install wee on the image that I have set up sometime tomorrow.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Attempting to get WEE to work on Linux

jimcbrown said...

... can you make this change, rebuild, and see if you still have this problem with qsort and wee ?

Yes, I can make the changes and test later today. I'll update this thread this evening.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Attempting to get WEE to work on Linux

jimcbrown said...

... can you make this change, rebuild, and see if you still have this problem with qsort and wee ?

I tested this issue on both bare metal and VM. This does not seem to be resolved for me at this point. I verified that the fixes jimcbrown contributed earlier today were indeed present on my test system

[euphoria@localhost unix]$ eui -v 
Euphoria Interpreter v4.1.0 development 
   64-bit Linux, Using System Memory 
   Revision Date: 2015-08-26 20:10:00, Id: 6338:c1c2c7afb749 
[euphoria@localhost unix]$ clear 
 
[euphoria@localhost unix]$ eui -v 
Euphoria Interpreter v4.1.0 development 
   64-bit Linux, Using System Memory 
   Revision Date: 2015-08-26 20:10:00, Id: 6338:c1c2c7afb749 
[euphoria@localhost unix]$ eui qsort.ex  
Can't create error message file: ex.err 
[euphoria@localhost unix]$ cat ex.err  
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
    id = 3 
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
 
Public & Export & Global & Local Variables 
 
 /usr/local/share/euphoria/include/std/memconst.e: 
    DEP_really_works = 0 
    use_DEP = 1 
    FREE_RID = 2 
    kernel_dll = <no value> 
    memDLL_id = <no value> 
    VirtualAlloc_rid = <no value> 
    VirtualLock_rid = <no value> 
    VirtualUnlock_rid = <no value> 
    VirtualProtect_rid = <no value> 
    GetLastError_rid = <no value> 
    GetSystemInfo_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/memory.e: 
    edges_only = <no value> 
    check_calls = 1 
    VirtualFree_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/types.e: 
    Defined_Sets = { 
                     {98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k', 
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x', 
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M', 
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'}, 
                     {97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I', 
79'O',85'U'}, 
                     { 
                       {48'0',57'9'}, 
                       {65'A',70'F'}, 
                       {97'a',102'f'} 
                     }, 
                     {32' ',9,10,13,11,160}, 
                     { 
                       {32' ',47'/'}, 
                       {58':',63'?'}, 
                       {91'[',96'`'}, 
                       {123'{',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'}, 
                       {32' ',32' '}, 
                       {9,9}, 
                       {10,10}, 
                       {13,13}, 
                       {8,8}, 
                       {7,7} 
                     }, 
                     { 
                       {97'a',122'z'} 
                     }, 
                     { 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'}, 
                       {95'_',95'_'} 
                     }, 
                     { 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {0,127} 
                     }, 
                     { 
                       {0,31}, 
                       {127,127} 
                     }, 
                     { 
                       {48'0',57'9'} 
                     }, 
                     { 
                       {33'!',126'~'} 
                     }, 
                     { 
                       {0,255} 
                     }, 
                     {95'_'}, 
                     {1,0} 
                   } 
 
 /usr/local/share/euphoria/include/std/machine.e: 
    FREE_ARRAY_RID = 1 
    page_size = 4096 
 
 /home/euphoria/dev/euphoria/demo/unix/qsort.ex: 
    libc = 0 
    qid = 3 
    nitems = <no value> 
    item_size = <no value> 
    qsort = <no value> 
    ncalls = 0 
    qaddr = <no value> 
    array = <no value> 

new topic     » goto parent     » topic index » view message » categorize

6. Re: Attempting to get WEE to work on Linux

xecronix said...

I tested this issue on both bare metal and VM. This does not seem to be resolved for me at this point. I verified that the fixes jimcbrown contributed earlier today were indeed present on my test system

[euphoria@localhost unix]$ eui qsort.ex  
Can't create error message file: ex.err 

Perhaps there's a permissions issue here? What happens if you try it as ronald or root?

xecronix said...

[euphoria@localhost unix]$ cat ex.err  
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  

I think this ex.err is stale - i.e. left over from before the update.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Attempting to get WEE to work on Linux

jimcbrown said...

Perhaps there's a permissions issue here? ...

Ops. My bad. The ex.err file was owned by root. I deleted the file and re-ran the demo. This run was done by user "euphoria" which is the only user with a shell on this machine. (other than root of course)

[euphoria@localhost unix]$ ls -l 
total 16 
-rw-rw-r--. 1 euphoria euphoria 1248 Aug 26 21:39 callc.ex 
-rw-rw-r--. 1 euphoria euphoria  419 Aug 26 21:39 Mylib.c 
-rw-rw-r--. 1 euphoria euphoria  903 Aug 26 21:39 mylib.ex 
-rw-rw-r--. 1 euphoria euphoria 1295 Aug 26 22:36 qsort.ex 
 
[euphoria@localhost unix]$ eui -v 
Euphoria Interpreter v4.1.0 development 
   64-bit Linux, Using System Memory 
   Revision Date: 2015-08-26 20:10:00, Id: 6338:c1c2c7afb749 
[euphoria@localhost unix]$ eui qsort.ex  
 
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
--> See ex.err  
[euphoria@localhost unix]$ cat ex.err  
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
    id = 3 
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
 
Public & Export & Global & Local Variables 
 
 /usr/local/share/euphoria/include/std/memconst.e: 
    DEP_really_works = 0 
    use_DEP = 1 
    FREE_RID = 2 
    kernel_dll = <no value> 
    memDLL_id = <no value> 
    VirtualAlloc_rid = <no value> 
    VirtualLock_rid = <no value> 
    VirtualUnlock_rid = <no value> 
    VirtualProtect_rid = <no value> 
    GetLastError_rid = <no value> 
    GetSystemInfo_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/memory.e: 
    edges_only = <no value> 
    check_calls = 1 
    VirtualFree_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/types.e: 
    Defined_Sets = { 
                     {98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k', 
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x', 
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M', 
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'}, 
                     {97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I', 
79'O',85'U'}, 
                     { 
                       {48'0',57'9'}, 
                       {65'A',70'F'}, 
                       {97'a',102'f'} 
                     }, 
                     {32' ',9,10,13,11,160}, 
                     { 
                       {32' ',47'/'}, 
                       {58':',63'?'}, 
                       {91'[',96'`'}, 
                       {123'{',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'}, 
                       {32' ',32' '}, 
                       {9,9}, 
                       {10,10}, 
                       {13,13}, 
                       {8,8}, 
                       {7,7} 
                     }, 
                     { 
                       {97'a',122'z'} 
                     }, 
                     { 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'}, 
                       {95'_',95'_'} 
                     }, 
                     { 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {0,127} 
                     }, 
                     { 
                       {0,31}, 
                       {127,127} 
                     }, 
                     { 
                       {48'0',57'9'} 
                     }, 
                     { 
                       {33'!',126'~'} 
                     }, 
                     { 
                       {0,255} 
                     }, 
                     {95'_'}, 
                     {1,0} 
                   } 
 
 /usr/local/share/euphoria/include/std/machine.e: 
    FREE_ARRAY_RID = 1 
    page_size = 4096 
 
 /home/euphoria/dev/euphoria/demo/unix/qsort.ex: 
    libc = 140264072531968 
    qid = 3 
    nitems = <no value> 
    item_size = <no value> 
    qsort = <no value> 
    ncalls = 0 
    qaddr = <no value> 
    array = <no value> 

new topic     » goto parent     » topic index » view message » categorize

8. Re: Attempting to get WEE to work on Linux

jimcbrown said...

What happens if you try it as ronald or root?

[euphoria@localhost unix]$ su root 
Password:  
[root@localhost unix]# rm ex.err  
rm: remove regular file ‘ex.err’? y 
[root@localhost unix]# ls -l 
total 16 
-rw-rw-r--. 1 euphoria euphoria 1248 Aug 26 21:39 callc.ex 
-rw-rw-r--. 1 euphoria euphoria  419 Aug 26 21:39 Mylib.c 
-rw-rw-r--. 1 euphoria euphoria  903 Aug 26 21:39 mylib.ex 
-rw-rw-r--. 1 euphoria euphoria 1295 Aug 26 22:36 qsort.ex 
[root@localhost unix]# eui qsort.ex  
 
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
--> See ex.err  
[root@localhost unix]# cat ex.err  
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
    id = 3 
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
 
Public & Export & Global & Local Variables 
 
 /usr/local/share/euphoria/include/std/memconst.e: 
    DEP_really_works = 0 
    use_DEP = 1 
    FREE_RID = 2 
    kernel_dll = <no value> 
    memDLL_id = <no value> 
    VirtualAlloc_rid = <no value> 
    VirtualLock_rid = <no value> 
    VirtualUnlock_rid = <no value> 
    VirtualProtect_rid = <no value> 
    GetLastError_rid = <no value> 
    GetSystemInfo_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/memory.e: 
    edges_only = <no value> 
    check_calls = 1 
    VirtualFree_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/types.e: 
    Defined_Sets = { 
                     {98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k', 
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x', 
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M', 
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'}, 
                     {97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I', 
79'O',85'U'}, 
                     { 
                       {48'0',57'9'}, 
                       {65'A',70'F'}, 
                       {97'a',102'f'} 
                     }, 
                     {32' ',9,10,13,11,160}, 
                     { 
                       {32' ',47'/'}, 
                       {58':',63'?'}, 
                       {91'[',96'`'}, 
                       {123'{',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'}, 
                       {32' ',32' '}, 
                       {9,9}, 
                       {10,10}, 
                       {13,13}, 
                       {8,8}, 
                       {7,7} 
                     }, 
                     { 
                       {97'a',122'z'} 
                     }, 
                     { 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'}, 
                       {95'_',95'_'} 
                     }, 
                     { 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {0,127} 
                     }, 
                     { 
                       {0,31}, 
                       {127,127} 
                     }, 
                     { 
                       {48'0',57'9'} 
                     }, 
                     { 
                       {33'!',126'~'} 
                     }, 
                     { 
                       {0,255} 
                     }, 
                     {95'_'}, 
                     {1,0} 
                   } 
 
 /usr/local/share/euphoria/include/std/machine.e: 
    FREE_ARRAY_RID = 1 
    page_size = 4096 
 
 /home/euphoria/dev/euphoria/demo/unix/qsort.ex: 
    libc = 140624284516352 
    qid = 3 
    nitems = <no value> 
    item_size = <no value> 
    qsort = <no value> 
    ncalls = 0 
    qaddr = <no value> 
    array = <no value> 

new topic     » goto parent     » topic index » view message » categorize

9. Re: Attempting to get WEE to work on Linux

I just pushed down another fix: http://scm.openeuphoria.org/hg/euphoria/rev/e912a32d9ad5

Can you give that a try and see how it goes?

Thanks again for looking into this!

xecronix said...
jimcbrown said...

What happens if you try it as ronald or root?

[euphoria@localhost unix]$ su root 
Password:  
[root@localhost unix]# rm ex.err  
rm: remove regular file ‘ex.err’? y 
[root@localhost unix]# ls -l 
total 16 
-rw-rw-r--. 1 euphoria euphoria 1248 Aug 26 21:39 callc.ex 
-rw-rw-r--. 1 euphoria euphoria  419 Aug 26 21:39 Mylib.c 
-rw-rw-r--. 1 euphoria euphoria  903 Aug 26 21:39 mylib.ex 
-rw-rw-r--. 1 euphoria euphoria 1295 Aug 26 22:36 qsort.ex 
[root@localhost unix]# eui qsort.ex  
 
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
--> See ex.err  
[root@localhost unix]# cat ex.err  
/usr/local/share/euphoria/include/std/dll.e:554 in function call_back()  
Internal error: CallBack routine id patch failed: missing magic.  
    id = 3 
 
... called from /home/euphoria/dev/euphoria/demo/unix/qsort.ex:31  
 
 
Public & Export & Global & Local Variables 
 
 /usr/local/share/euphoria/include/std/memconst.e: 
    DEP_really_works = 0 
    use_DEP = 1 
    FREE_RID = 2 
    kernel_dll = <no value> 
    memDLL_id = <no value> 
    VirtualAlloc_rid = <no value> 
    VirtualLock_rid = <no value> 
    VirtualUnlock_rid = <no value> 
    VirtualProtect_rid = <no value> 
    GetLastError_rid = <no value> 
    GetSystemInfo_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/memory.e: 
    edges_only = <no value> 
    check_calls = 1 
    VirtualFree_rid = <no value> 
 
 /usr/local/share/euphoria/include/std/types.e: 
    Defined_Sets = { 
                     {98'b',99'c',100'd',102'f',103'g',104'h',106'j',107'k', 
108'l',109'm',110'n',112'p',113'q',114'r',115's',116't',118'v',119'w',120'x', 
121'y',122'z',66'B',67'C',68'D',70'F',71'G',72'H',74'J',75'K',76'L',77'M', 
78'N',80'P',81'Q',82'R',83'S',84'T',86'V',87'W',88'X',89'Y',90'Z'}, 
                     {97'a',101'e',105'i',111'o',117'u',65'A',69'E',73'I', 
79'O',85'U'}, 
                     { 
                       {48'0',57'9'}, 
                       {65'A',70'F'}, 
                       {97'a',102'f'} 
                     }, 
                     {32' ',9,10,13,11,160}, 
                     { 
                       {32' ',47'/'}, 
                       {58':',63'?'}, 
                       {91'[',96'`'}, 
                       {123'{',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'} 
                     }, 
                     { 
                       {32' ',126'~'}, 
                       {32' ',32' '}, 
                       {9,9}, 
                       {10,10}, 
                       {13,13}, 
                       {8,8}, 
                       {7,7} 
                     }, 
                     { 
                       {97'a',122'z'} 
                     }, 
                     { 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {48'0',57'9'}, 
                       {97'a',122'z'}, 
                       {65'A',90'Z'}, 
                       {95'_',95'_'} 
                     }, 
                     { 
                       {97'a',122'z'}, 
                       {65'A',90'Z'} 
                     }, 
                     { 
                       {0,127} 
                     }, 
                     { 
                       {0,31}, 
                       {127,127} 
                     }, 
                     { 
                       {48'0',57'9'} 
                     }, 
                     { 
                       {33'!',126'~'} 
                     }, 
                     { 
                       {0,255} 
                     }, 
                     {95'_'}, 
                     {1,0} 
                   } 
 
 /usr/local/share/euphoria/include/std/machine.e: 
    FREE_ARRAY_RID = 1 
    page_size = 4096 
 
 /home/euphoria/dev/euphoria/demo/unix/qsort.ex: 
    libc = 140624284516352 
    qid = 3 
    nitems = <no value> 
    item_size = <no value> 
    qsort = <no value> 
    ncalls = 0 
    qaddr = <no value> 
    array = <no value> 

new topic     » goto parent     » topic index » view message » categorize

10. Re: Attempting to get WEE to work on Linux

jimcbrown said...

I just pushed down another fix: http://scm.openeuphoria.org/hg/euphoria/rev/e912a32d9ad5

Can you give that a try and see how it goes?

I'll give it a try now... but I might not have time to report back for a couple of hours. But, I wanted to leave this piece of info before I catch the train into the city. I tried this tutorial with a slight modification for file paths and it worked correctly. (works before fix e912a32d9ad5)

UsingDLLs

new topic     » goto parent     » topic index » view message » categorize

11. Re: Attempting to get WEE to work on Linux

It runs out of the box on my Linux Mint 17.2 64 bits. Here is what I'm using:

labo@labo-desktop:~/Téléchargements/WEE-master > eui -v 
Euphoria Interpreter v4.1.0 development 
   64-bit Linux, Using System Memory 
   Revision Date: 2013-04-15 22:28:34, Id: 6112:ca9cd0a77eff 
labo@labo-desktop:~/Téléchargements/WEE-master > eubind wee.exw 
deleted 58 unused routines and 445 unused variables. 
You may now run .//home/labo/Téléchargements/WEE-master/wee 
labo@labo-desktop:~/Téléchargements/WEE-master > ./wee 
labo@labo-desktop:~/Téléchargements/WEE-master > dpkg -l | grep gtk 
ii  gftp-gtk                                    2.0.19-4ubuntu2                                   amd64        X/GTK+ FTP client 
ii  gir1.2-gtk-2.0                              2.24.23-0ubuntu1.2                                amd64        GTK+ graphical user interface library -- gir bindings 
ii  gir1.2-gtk-3.0                              3.10.8~8+qiana                                    amd64        GTK+ graphical user interface library -- gir bindings 
ii  gir1.2-javascriptcoregtk-3.0                2.4.8-1ubuntu1~ubuntu14.04.1                      amd64        JavaScript engine library from WebKitGTK+ - GObject introspection data 
ii  gtk2-engines:amd64                          1:2.20.2-3ubuntu1                                 amd64        theme engines for GTK+ 2.x 
ii  gtk2-engines:i386                           1:2.20.2-3ubuntu1                                 i386         theme engines for GTK+ 2.x 
ii  gtk2-engines-murrine:amd64                  0.98.2-0ubuntu2                                   amd64        cairo-based gtk+-2.0 theme engine 
ii  gtk2-engines-murrine:i386                   0.98.2-0ubuntu2                                   i386         cairo-based gtk+-2.0 theme engine 
ii  gtk2-engines-oxygen:amd64                   1.4.5-0ubuntu1                                    amd64        Oxygen widget theme for GTK+-based applications 
ii  gtk2-engines-oxygen:i386                    1.4.5-0ubuntu1                                    i386         Oxygen widget theme for GTK+-based applications 
ii  gtk2-engines-pixbuf:amd64                   2.24.23-0ubuntu1.2                                amd64        pixbuf-based theme for GTK+ 2.x 
ii  gtk2-engines-pixbuf:i386                    2.24.23-0ubuntu1.2                                i386         pixbuf-based theme for GTK+ 2.x 
ii  gtk3-engines-oxygen:amd64                   1.3.5-0ubuntu1                                    amd64        Oxygen widget theme for GTK3-based applications 
ii  ibus-gtk:i386                               1.5.5-1ubuntu3                                    i386         Intelligent Input Bus - GTK+2 support 
ii  kde-config-gtk-style                        3:2.2.1-1fakesync1                                amd64        KDE configuration module for GTK+ 2.x and GTK+ 3.x styles selection 
ii  libcanberra-gtk-module:i386                 0.30-0ubuntu3                                     i386         translates GTK+ widgets signals to event sounds 
ii  libcanberra-gtk0:amd64                      0.30-0ubuntu3                                     amd64        GTK+ helper for playing widget event sounds with libcanberra 
ii  libcanberra-gtk0:i386                       0.30-0ubuntu3                                     i386         GTK+ helper for playing widget event sounds with libcanberra 
ii  libcanberra-gtk3-0:amd64                    0.30-0ubuntu3                                     amd64        GTK+ 3.0 helper for playing widget event sounds with libcanberra 
ii  libclutter-gtk-1.0-0:amd64                  1.4.4-3ubuntu2.2                                  amd64        Open GL based interactive canvas library GTK+ widget 
ii  libcolord-gtk1:amd64                        0.1.25-1.1                                        amd64        GTK+ convenience library for interacting with colord 
ii  libdbusmenu-gtk3-4:amd64                    12.10.3+14.04.20140612-0ubuntu1                   amd64        library for passing menus over DBus - GTK+ version 
ii  libgtk-3-0:amd64                            3.10.8~8+qiana                                    amd64        GTK+ graphical user interface library 
ii  libgtk-3-bin                                3.10.8~8+qiana                                    amd64        programs for the GTK+ graphical user interface library 
ii  libgtk-3-common                             3.10.8~8+qiana                                    all          common files for the GTK+ graphical user interface library 
ii  libgtk2-gladexml-perl                       1.007-1build3                                     amd64        Perl interface to use user interfaces created with glade-2 
ii  libgtk2-perl                                2:1.249-2                                         amd64        Perl interface to the 2.x series of the Gimp Toolkit library 
ii  libgtk2.0-0:amd64                           2.24.23-0ubuntu1.2                                amd64        GTK+ graphical user interface library 
ii  libgtk2.0-0:i386                            2.24.23-0ubuntu1.2                                i386         GTK+ graphical user interface library 
ii  libgtk2.0-bin                               2.24.23-0ubuntu1.2                                amd64        programs for the GTK+ graphical user interface library 
ii  libgtk2.0-common                            2.24.23-0ubuntu1.2                                all          common files for the GTK+ graphical user interface library 
ii  libgtk2.0-dev                               2.24.23-0ubuntu1.2                                amd64        development files for the GTK+ library 
ii  libgtkgl2.0-1                               2.0.1-2ubuntu3                                    amd64        OpenGL context support for GTK+ (shared libraries) 
ii  libgtkgl2.0-dev                             2.0.1-2ubuntu3                                    amd64        OpenGL context support for GTK+ (development files) 
ii  libgtkglext1                                1.2.0-3.1fakesync3                                amd64        OpenGL Extension to GTK+ (shared libraries) 
ii  libgtkglext1-dev                            1.2.0-3.1fakesync3                                amd64        OpenGL Extension to GTK+ (development files) 
ii  libgtkglextmm-x11-1.2-0:amd64               1.2.0-6ubuntu1                                    amd64        C++ bindings for GtkGLExt (Shared libraries) 
ii  libgtkglextmm-x11-1.2-dev:amd64             1.2.0-6ubuntu1                                    amd64        C++ bindings for GtkGLExt (Development files) 
ii  libgtkhex-3-0                               3.8.1-1ubuntu2                                    amd64        GNOME Hex editor for files (shared library) 
ii  libgtkmm-2.4-1c2a:amd64                     1:2.24.4-1ubuntu1                                 amd64        C++ wrappers for GTK+ (shared libraries) 
ii  libgtkmm-2.4-dev:amd64                      1:2.24.4-1ubuntu1                                 amd64        C++ wrappers for GTK+ (development files) 
ii  libgtkmm-3.0-1:amd64                        3.10.1-0ubuntu2                                   amd64        C++ wrappers for GTK+ (shared libraries) 
ii  libgtkspell0                                2.0.16-1ubuntu7                                   amd64        a spell-checking addon for GTK's TextView widget 
ii  libjavascriptcoregtk-1.0-0:amd64            2.4.8-1ubuntu1~ubuntu14.04.1                      amd64        JavaScript engine library from WebKitGTK+ 
ii  libjavascriptcoregtk-3.0-0:amd64            2.4.8-1ubuntu1~ubuntu14.04.1                      amd64        JavaScript engine library from WebKitGTK+ 
ii  libreoffice-gtk                             1:4.4.3~rc2-0ubuntu1~trusty1                      amd64        office productivity suite -- GTK+ integration 
ii  libwebkitgtk-1.0-0:amd64                    2.4.8-1ubuntu1~ubuntu14.04.1                      amd64        Web content engine library for GTK+ 
ii  libwebkitgtk-1.0-common                     2.4.8-1ubuntu1~ubuntu14.04.1                      all          Web content engine library for GTK+ - data files 
ii  libwebkitgtk-3.0-0:amd64                    2.4.8-1ubuntu1~ubuntu14.04.1                      amd64        Web content engine library for GTK+ 
ii  libwebkitgtk-3.0-common                     2.4.8-1ubuntu1~ubuntu14.04.1                      all          Web content engine library for GTK+ - data files 
ii  libwxgtk-media2.8-0:amd64                   2.8.12.1+dfsg-2ubuntu2                            amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ media library runtime) 
ii  libwxgtk-media2.8-dev                       2.8.12.1+dfsg-2ubuntu2                            amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ media library development) 
ii  libwxgtk2.8-0:amd64                         2.8.12.1+dfsg-2ubuntu2                            amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ runtime) 
ii  libwxgtk2.8-dev                             2.8.12.1+dfsg-2ubuntu2                            amd64        wxWidgets Cross-platform C++ GUI toolkit (GTK+ development) 
ii  mint-themes-gtk3                            3.10+11                                           all          Mint themes for GTK3 
ii  python-gtk2                                 2.24.0-3ubuntu3                                   amd64        Python bindings for the GTK+ widget set 
ii  python3-aptdaemon.gtk3widgets               1.1.1-1ubuntu5.2                                  all          Python 3 GTK+ 3 widgets to run an aptdaemon client 

Regards

Jean-Marc

Edit: we should use the {{{/}}} tags for formatted text that is not <eucode>. -Greg

new topic     » goto parent     » topic index » view message » categorize

12. Re: Attempting to get WEE to work on Linux

jimcbrown said...

Thanks again for looking into this!

You're welcome. Just consider me part of your QA Team. And thank you for fixing this! If this were a ticket, I'd close it now. smile

WEE Running On Fedora 22 64 Bit

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu