1. sh: 1: /media/mycomputer/Seagate: not found

Forked from Re: [phix] what is a hybrid interpreter compiler?

_tom said...

p hello.exw 

Runs as expected.

$ p -c hello.exw 
sh: 1: /media/mycomputer/Seagate: not found 

It compiles but does not also run.

I keep my work on an external USB drive. Looks like some Linux security is keeping the ''hello'' from running.

From the internal hard-drive, this all works as advertised.

Not sure I can help much
Can you manually run the hello executable on the USB drive after the not found message?
On Windows I'd suggest ProcMon, but don't even know what the equivalent is called on Linux, though I did once run it, maybe 3 or 4 years ago.
You might be better off raising this on StackOverflow

new topic     » topic index » view message » categorize

2. Re: sh: 1: /media/mycomputer/Seagate: not found

Hi Tom.

As I see you`ve Linux before, I`m sure you`ve done these checks.

Does the USB drive exist
Is it mounted
Do you have write permission for the drive
does Hello.exe (or Hello) appear in the same folder as Hello.exw
Do you have execute permission on the usb drive
if hello.exe appears then try chmod +x Hello.exe Try copying Hello.exe to your home folder and see what happens when you try to run it
Try chmod +x on Hello.exe on the file in your home directory.
If you have hello.exe then post it somewhere for someone with a Linux machine to see if it works on theirs (I have many Linux machines, so happy to try)
the equivalent to procmon is top or bashtop , or ps -A (for all), or ps -u (for the user) - there are many other options, google or man.

If hello.exe isn`t appearing, is it being written out somewhere else?

That should give you a place or two to start.

Cheers

Chris

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

3. Re: sh: 1: /media/mycomputer/Seagate: not found

I think we would need to know the exact setup.

Just as a start, I copied some Phix/Gtk programs to an encrypted external ssd. They run fine. I also compiled several pre-compiled programs to that drive, and they also ran fine. I then compiled a few directly on the ssd, and they also worked properly.

p and the builtins are in usr/local/bin (this may be the difference)

If yours are on the external drive, as well as the programs themselves, that may make a difference. Tell us where those files are, and I can try to reproduce the setup.

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

4. Re: sh: 1: /media/mycomputer/Seagate: not found

ChrisB said...

the equivalent to procmon is top or bashtop , or ps -A (for all), or ps -u (for the user) - there are many other options, google or man.

Actually I was thinking of strace, see eg https://unix.stackexchange.com/questions/13555/process-monitor-equivalent-for-linux (which also clarifies top/ps vs. strace and friends)

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

5. Re: sh: 1: /media/mycomputer/Seagate: not found

$ p -c hello.exw  
sh: 1: /media/mycomputer/Seagate: not found  
 
It compiles but does not also run.  
To be sure we understand:

  • In interpreted mode, p "compiles" to memory, and runs it from there, no problem.
  • In -c mode, it "compiles", saves to disk, writes a shell script, and then calls bash to run it, one could guess, based on the sh in the error line.

Is the newly-compiled program executable actually saved on the Seagate? If so, can you run it from a terminal? If that works, then....

  • The message above makes no mention of a program name, so perhaps bash first tries to cd to /media/mycomputer/Seagate and fails.
  • Alternately, perhaps the script line is supposed to contain the path plus the filename, but the filename is being left off by Phix.
  • Or, bash doesn't have the priviledges to run programs from an external drive (but don't ask me how that can happen)

To find out, perhaps you could write your own bash script to change to the Seagate and run the compiled program. If that doesn't work either, it's probably permissions.

I would try running sudo p -c hello.exw and see if that makes a difference.

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

6. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

"compiles", saves to disk, writes a shell script, and then calls bash to run it, one could guess, based on the sh in the error line.

I'm not aware of any shell script being created by Phix, it just writes the file then invokes system_exec() on it.

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

7. Re: sh: 1: /media/mycomputer/Seagate: not found

petelomax said...

I'm not aware of any shell script being created by Phix, it just writes the file then invokes system_exec() on it.

Then, where does the sh: 1: come from?

One way to know if bash shell is involved is to do a ${?} immediately after the failure. If you get the same error repeated, it happened in a shell script. (You enter all 4 characters, the dollar sign shown above is not the prompt)

Anyway, here's another puzzle for you:

? system_exec("ls ",0) 
puts(1,"done\n") 
while 1 do end while 

When run by Euphoria, this lists the files in the current directory, then prints a 0, followed by "done", and waits for a ctl-c

When run by Phix, this does nothing at all, just waits for a ctl-c and returns to the prompt. No file listing, no "done".

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

8. Re: sh: 1: /media/mycomputer/Seagate: not found

Thanks for the replies. I took a long walk, then decided I needed sleep...


Phix is working. It runs "hello.ex" (which is one line ? "hello")

Tested 0.7.9, 0.8.2, 0.8.3 :: all work the same

The Seagate problem is:

Phix compiles correctly, what it doesn't do is run "hello.ex" with the -c flag BUT it always creates the executable, and gives a pesky error message.


The Seagate drive is:

BUP Slim BK 
 
Manufacturer: Seagate 
Serial #: NA9MFR8P 
 
USB Version 
2.01 
 
Vendor ID 
0xbc2 
(Seagate RSS LLC) 
Product ID 
0xab26 
(Backup Plus Slim Portable Drive 1 TB) 
Revision 
0.00 

fomatted as ntfs, actual capacity is 2TB (not 1TB as reported by Linux)

i.e. a boring drive from either Walmart or Office Depo


The computer is a Walmart Lenovo ideacentre-Y900-34ISZ

A few years old i7

i.e. a boring computer


There is no trace of Microsoft on my computer. I always remove drives containing Windows from my computers.


results duplicated with

  • installed Ubuntu xfce
  • installed MX KDE
  • Mint XFCE live from Lexar pendrive
  • Ubuntu XFCE live from Lexar pendrive

For the following tests:

I burned Mint 20.1 XFCE 64-bit to a Lexar USB


permissions are read/write for all categories


Phix directory is on Seagate via USB

$ ./p64 
Phix hybrid interpreter/compiler. 
 
Version 0.8.2 (64 bit Linux) Copyright Pete Lomax 2006..2016 
 
Enter ? for options or filename to execute:hello 
hello 
"hello" 
 
$ ./p64 -c hello 
sh: 1: /media/mint/Seagate: not found 
 
$ ./hello 
"hello" 

Copy Phix directory to /home/phix on live USB

works as advertised 

mint@mint:~/phix$ ./p64 
Phix hybrid interpreter/compiler. 
 
Version 0.8.2 (64 bit Linux) Copyright Pete Lomax 2006..2016 
 
Enter ? for options or filename to execute:hello 
hello 
"hello" 
 
mint@mint:~/phix$ ./p64 -c hello 
"hello" 
 
mint@mint:~/phix$ ./hello 
"hello" 

open /phix as administrator on Seagate USB

root@mint:/media/mint/Seagate Backup Plus Drive/phix# ./p64 
Phix hybrid interpreter/compiler. 
 
Version 0.8.2 (64 bit Linux) Copyright Pete Lomax 2006..2016 
 
Enter ? for options or filename to execute:hello 
hello 
"hello" 
 
root@mint:/media/mint/Seagate Backup Plus Drive/phix# ./p64 -c hello 
sh: 1: /media/mint/Seagate: not found 
 
root@mint:/media/mint/Seagate Backup Plus Drive/phix# ./hello 
"hello" 

live mint, from seagate /phix

mint@mint:/media/mint/Seagate Backup Plus Drive/phix$ ./p64 -c hello 
sh: 1: /media/mint/Seagate: not found 
mint@mint:/media/mint/Seagate Backup Plus Drive/phix$ ${?} 
0: command not found 

live mint, /home/phix

mint@mint:~/phix$ ./p64 -c hello 
"hello" 
mint@mint:~/phix$ ${?} 
0: command not found 

live mint, root, seagate /phix

root@mint:/media/mint/Seagate Backup Plus Drive/phix# ./p64 -c hello 
sh: 1: /media/mint/Seagate: not found 
root@mint:/media/mint/Seagate Backup Plus Drive/phix# ${?} 
0: command not found 

ubuntu installed on hard drive; open /phix Seagate USB

tom@tom-ideacentre-Y900-34ISZ:/media/fred/Seagate Backup Plus Drive/phix$ ./p64 -c hello 
sh: 1: /media/fred/Seagate: not found 

be well
_tom

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

9. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

Anyway, here's another puzzle for you:

? system_exec("ls ",0) 
puts(1,"done\n") 
while 1 do end while 

It has driven the compiler into an infinite loop.
In pEmit2.e, procedure scanforShortJmp(), line 723 the branch straightening checks to see if it is jumping to an unconditional jump and if it is, it hops direct to that target, which it also checks.
However if the offset on an unconditional jump is zero so it is jumping to itself, it will "follow that chain" forever:

                c2 = s5[c2]+5 
                offset += c2        -- ;- ) 
                s5[i3] = offset 
--31/1/21 
if c2=0 then exit end if 
            end while 

Alternatively, replace the offending loop(s):

--while 1 do end while 
while 1 do sleep(0.1) end while 
-- or 
{} = wait_key() 
new topic     » goto parent     » topic index » view message » categorize

10. Re: sh: 1: /media/mycomputer/Seagate: not found

Wow! Looks like you've covered all the possibilities.

One question, to run a program, you call ./p64, e.g. ./p64 hello or ./p64 -c hello. To run a program, I call p hello or p -c hello.

Why the difference?

Did I do the setup wrong, and if so, why does everything work?

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

11. Re: sh: 1: /media/mycomputer/Seagate: not found

_tom said...

tom@tom-ideacentre-Y900-34ISZ:/media/fred/Seagate Backup Plus Drive/phix$ ./p64 -c hello 
sh: 1: /media/fred/Seagate: not found 

Ah, it is a "spaces in the path" problem, reproduced here by renaming my phix directory as "phix space":

pete@pete-VirtualBox:~/phix space$ ./p hello 
"hello" 
pete@pete-VirtualBox:~/phix space$ ./p -c hello 
sh: 1: /home/pete/phix: not found 
The fix is quite straightforward, in p.exw around line 2100:

        if bind then 
>           string paramstr = "" 
            for i=1 to length(params) do 
--if 0 then 
--              outfile &= ' '&params[i] 
--else 
                pi = params[i] 
                if find(' ',pi) then 
                    pi = '\"'&pi&'\"' 
                end if 
<--             outfile &= ' '&pi 
>               paramstr &= ' '&pi 
--end if 
            end for 
            if bind>1 then 
<--             printf(1,"==>system_wait(%s):\n",{mainpath&outfile}) 
>               printf(1,"==>system_wait(%s):\n",{"\""&mainpath&outfile&"\""&paramstr}) 
            end if 
<--         errorcode = system_wait(mainpath&outfile) 
>           errorcode = system_wait("\""&mainpath&outfile&"\""&paramstr) 
            if bind=2 then 
                if errorcode=0 then 
<--                 outfile = mainpath&pnew2()&" -pmkr3" 
>                   outfile = "\""&mainpath&pnew2()&"\" -pmkr3" 
                    printf(1,"==>system_wait(%s):\n",{outfile}) 
                    errorcode = system_wait(outfile) 
                    if errorcode = 0 then 
<--                     outfile = mainpath&pnew()&" -pmkr4" 
>                       outfile = "\""&mainpath&pnew()&"\" -pmkr4" 
                        printf(1,"==>system_wait(%s):\n",{outfile}) 
                        errorcode = system_wait(outfile) 
                        if errorcode = 0 then 
                            printf(1,"self-host rounds 1..4 successfully completed (%3.2fs)\n",time()-t0) 

The < and > in column 1 are from a compare of my (windows) master and the fix I did on linux, delete them.
Instead of the usual ./p -c p, I had to use ./p p -c p to get it to recompile, that is in a directory with spaces in it.

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

12. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

One question, to run a program, you call ./p64, e.g. ./p64 hello or ./p64 -c hello. To run a program, I call p hello or p -c hello.

Why the difference?

Did I do the setup wrong, and if so, why does everything work?

You've done your setup correct, it is us plebs (/my shitty docs and noddy install scripts) who don't understand the ln command, where to put things, etc.

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

13. Re: sh: 1: /media/mycomputer/Seagate: not found

Just to be sure everything is equal before trying the detailed tests of phix on an external drive, I decided to remove all things phix from my computer and install a fresh copy, to make sure all the patches were up to date.

Testing[43]: /home/irv/phix/test/t43tchk.exw 
Testing[44]: /home/irv/phix/test/t44silly.exw 
{1,2,3,4,5} 
Testing[45]: /home/irv/phix/test/t45aod.exw 
started 
finished 
Testing[46]: /home/irv/phix/test/t46ltype.exw 
 
**NB** (reminder to self) Do *NOT* assume this is an error; 
 
 
/home/irv/phix/test/t46ltype.exw:610 
..teger} 
^ fail: ltype is 0b1111(object), not 0b0001(integer) (pilx86, pc=1084, vno=1206) 

Does that NB also apply to me? From here, it looks like something bad happened, but the following works properly.

cd phix 
./p hello 

Speaking of notes: ./p -c p does the "compile myself 4 times" stuff, and ends with "$ Overwriting p" and a blinking cursor which never goes away. After a short nap and a fresh cup of coffee, I grew tired of waiting and hit <enter>. blink

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

14. Re: sh: 1: /media/mycomputer/Seagate: not found

To clarify my test.

I burn an .iso linux download to a USB drive--> result is a "live" test system, perfectly clean.

i.e. the Ubuntu (stock and xfce) has a "test before installing" option (same as Mint) --> this is were I do my tests

  • unzip the Phix download to /home/phix
  • copy p64 to /home/phix (could have renamed it to p as normal)
  • so on the "live" system I go to /home/phix and have to execute Phix as ./p64

this setup means I have to save hello.exw in /home/phix

  • hence: ./p64 hello.exw
  • hence: ./p64 -c hello.exw
  • testing on the external Seagate USB, I have a copy of /phix, again execute as ./p64
  • on a "real" install I copied unzipped files to /home/phix and edited the (hidden) .profile to point to /home/phix
    • now you can run just 'p' as advertised (but my seagate was a problem)

about to try editing and re-compiling p

be well
_tom

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

15. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

Just to be sure everything is equal before trying the detailed tests of phix on an external drive, I decided to remove all things phix from my computer and install a fresh copy, to make sure all the patches were up to date.

Testing[43]: /home/irv/phix/test/t43tchk.exw 
Testing[44]: /home/irv/phix/test/t44silly.exw 
{1,2,3,4,5} 
Testing[45]: /home/irv/phix/test/t45aod.exw 
started 
finished 
Testing[46]: /home/irv/phix/test/t46ltype.exw 
 
**NB** (reminder to self) Do *NOT* assume this is an error; 
 
 
/home/irv/phix/test/t46ltype.exw:610 
..teger} 
^ fail: ltype is 0b1111(object), not 0b0001(integer) (pilx86, pc=1084, vno=1206) 

Does that NB also apply to me? From here, it looks like something bad happened, but the following works properly.

cd phix 
./p hello 

Speaking of notes: ./p -c p does the "compile myself 4 times" stuff, and ends with "$ Overwriting p" and a blinking cursor which never goes away. After a short nap and a fresh cup of coffee, I grew tired of waiting and hit <enter>. blink

I "resurrected" that test on the 17th December, post-0.8.2

C:\Program Files (x86)\Phix\p.exw:295 --DEV p64 -c t46 is broken (put back in a broken state 17/12/20) 
My copy and https://github.com/petelomax/Phix/blob/master/test/t46ltype.exw has, on what was once line 610,

--DEV fail 17/12/20: 
--      --/**/ #istype{o,integer} 

and at the top

--"DEV fail 17/12/20:" added in abundance! 

Of course I'd like localtypes to work better than they do, but I have to accept that there I wrote some code which is too clever for me to debug.
A "wrong" localtype (eg compiler thinks it is an integer when in fact it is a string) is utterly catastrophic, whereas
a "failed" localtype (eg compiler just says object when it could ideally say integer) just means slightly less efficient code will be emitted.
The NB is directed at me, a reflection/reminder of the fact there is an ok wrong as well as a not ok wrong, iyswim.

That "overwriting p" has always been like that, on linux, bit out of my hands really, I think I'll just not bother outputting it, on linux. [done]

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

16. Re: sh: 1: /media/mycomputer/Seagate: not found

Is there a recompiled p64 for 0.8.3 available that I can download?

be well
_tom

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

17. Re: sh: 1: /media/mycomputer/Seagate: not found

I guess I still misunderstand what is going on.

  • I wiped all traces of Phix from my computer.
  • ran the Linux 64-bit install script (installing from the web to /home/irv/phix)
  • tests passed (with a note which Pete says we can safely ignore)
  • $ Overwriting p...
? "Hello World" -- this is my program, saved in /home/irv/phix as hello.ex 

irv@irv-Mint19:~$ cd /phix 
irv@irv-Mint19:~/phix$ p 
 
Phix hybrid interpreter/compiler. 
Version 0.8.2 (64 bit Linux) Copyright Pete Lomax 2006..2016 
Enter ? for options or filename to execute: hello 
hello 
"Hello World" 

All good, except one might quibble about repeating the program name before activating it.


Now to try:

  • ./p64 hello => bash: ./p64: No such file or directory

I don't understand why or how ./p64.exu could work to run anything, it's just two lines.

format ELF64 
include p.exw 

As far as I can tell, there is no p64 that is executable and no need to rename anything.

Let's clear that up before I tell you the really bad news. (Pete won't like this)

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

18. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

All good, except one might quibble about repeating the program name before activating it.

Hmm, can't see where/why that is happening... I tried for i=1 to 3 do {} = gets(0) end for and got the same echo effect...

irv said...

I don't understand why or how ./p64.exu could work to run anything, it's just two lines.

format ELF64 
include p.exw 

As far as I can tell, there is no p64 that is executable and no need to rename anything.

It's just a packaging file. Here, on windows, I run "p -c -norun p64.exu" and upload the resulting p64 to the website, which contains the instructions "wget http://phix.x10.mx/p64" and "mv p64 phix/p".

There is also a p64.exw, which along with quite a bit of other commented-out cruft is just "format PE64\n include p.exw", which I use for my own testing, ie I have both p.exe (32 bit) and p64.exe (64 bit) at all times.

Now then dear, what's the bad news then?

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

19. Re: sh: 1: /media/mycomputer/Seagate: not found

petelomax said...
irv said...

As far as I can tell, there is no p64 that is executable and no need to rename anything.

It's just a packaging file. Here, on windows, I run "p -c -norun p64.exu" and upload the resulting p64 to the website, which contains the instructions "wget http://phix.x10.mx/p64" and "mv p64 phix/p".

OK, but why or how is _tom running ./p64 ? If in fact "mv p64 phix/p" succeeded, then trying to run ./p64 would result in an error (./p64: No such file or directory). Since it does (sometimes) work for him, that indicates that the "mv p64 phix/p" failed. In that case, one might wonder what else may have also failed.

petelomax said...

Now then dear, what's the bad news then?

The update completely destroyed object inheritance. Example: a GtkWindow has a property called "border_width"; private integer border_width; and set_border_width() are implemented in GtkContainer.e (via GtkBin.e)

Window win = new() 
  win.border_width = 10 

Yesterday, all is fine. win.border_width = 10 worked. Today, I get a message: attempt to modify private field (border_width)

Worse, if I make the field public, it says: Segmentation fault (core dumped)

Worse than that, sometimes the error is: Cannot open /home/irv/pgtk/GtkContainer.ex

Say What? There is no GtkContainer.ex, and none of my code tries to include an *.ex file. A "grep GtkContainer *" of the entire directory shows:

GtkBin.e:5:include GtkContainer.e 
GtkBox.e:4:include GtkContainer.e 
GtkContainer.e:2:-- GtkContainer  

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

20. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

... OK, but why or how is _tom running ./p64 ? If in fact "mv p64 phix/p" succeeded, then trying to run ./p64 would result in an error (./p64: No such file or directory). Since it does (sometimes) work for him, that indicates that the "mv p64 phix/p" failed. In that case, one might wonder what else may have also failed. ...

By ''p64'' I mean the compiled binary you get from Pete's download site. Mostly, I'm too lazy to rename it from p64 to p to get the ''expected usage''. (Since I enter p64 in Geany Set Build Commands, I rarely care to type 'p' for executing programs.)

Now, when running a Linux install disk as a ''live install'' on a USB pendrive, a quick test is to create a /home/phix directory and run tests directly from there. Hence ./p64 (too lazy to rename it p) does the job. It all goes away on shutdown.

That explains my fascination (and failure) with MX Linux. MX Linux can run in ram and lets you save modified .iso files. Only, MX XFCE doesn't work with Phix, while Ubuntu/Mint XFCE do work.

It would be still be nice if Pete shares the latest compiled p64 for 0.8.3 with the latest fixes ready to go.

be well
_tom

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

21. Re: sh: 1: /media/mycomputer/Seagate: not found

_tom said...

It would be still be nice if Pete shares the latest compiled p64 for 0.8.3 with the latest fixes ready to go.

be well
_tom

Would that work? Aren't many of the latest fixes made in /builtins/VM files?

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

22. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

The update completely destroyed object inheritance.

This works fine for me:

class Container  
    private integer border_width 
--  public integer border_width 
    procedure set_border_width(integer bw) 
        this.border_width = bw 
    end procedure 
end class   
  
class Window extends Container   
end class  
 
Window win = new()  
win.border_width = 10  
--?win.border_width 

When t46ltype.exw failed, did you grab the latest (or delete the contents, or comment out line 296 of p.exw) and run the rest of the tests?

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

23. Re: sh: 1: /media/mycomputer/Seagate: not found

_tom said...

Is there a recompiled p64 for 0.8.3 available that I can download?

be well
_tom

I have uploaded a completely untested one for you, get it using wget http://phix.x10.mx/p64t (note the t for tom on the end)

I've also started a new site (as a backup/with https/edit playground, not planning on getting rid of the existing one) and uploaded it there: wget https://phix.heliohost.us/p64t

PS irv has a good point, there are 10 weeks worth of potential incompatibilites waiting in that file

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

24. Re: sh: 1: /media/mycomputer/Seagate: not found

petelomax said...

When t46ltype.exw failed, did you grab the latest (or delete the contents, or comment out line 296 of p.exw) and run the rest of the tests?

I completely deleted all phix, and installed the complete package from the website. That line was already commented out. Just did a p -cp, and running p -test now reports:

Testing[59]: /home/irv/phix/test/t64struct.exw 
 
/home/irv/phix/test/t64struct.exw:598 
attempt to divide by 0 
 
Global & Local Variables 
 
--> see /home/irv/phix/test/ex.err 
Press Enter... 
I can post the entire ex.err file to a pastey if needed.


One of the things I was looking forward to doing after this Covid thing is over was going back to the barber shop and having a nice young lady cut my hair.

If this keeps up, I won't have any hair left to cut.

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

25. Re: sh: 1: /media/mycomputer/Seagate: not found

See https://openeuphoria.org/forum/135193.wc#135193

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

26. Re: sh: 1: /media/mycomputer/Seagate: not found

Um... that was 2 months ago. It didn't make it into the new download I did yesterday for some reason. What about other patches we've made recently?

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

27. Re: sh: 1: /media/mycomputer/Seagate: not found

irv said...

Um... that was 2 months ago. It didn't make it into the new download I did yesterday for some reason. What about other patches we've made recently?

Oh boy, are you not going to like this...

Unfortunately I have never been able to make it work that way. For instance, the recent addition of still_has_delete_routine():
1) create the routine, without using it. Rebuild.
2) use it (in the compiler itself). Rebuild.

If I try to merge those into one step, which is the same as updating the repo sources w/o a new release, it won't work anyway.
As a consequence I'm always very selective (/tardy) with repo updates.

I guess it's time for a new release.

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

28. Re: sh: 1: /media/mycomputer/Seagate: not found

I'm always concerned about this.

  • I find that X doesn't work
  • you come up with a patch
  • I test it and X now works (hooray!)

Rinse and repeat....

After a significant number of cycles, I have a nicely working version of Phix - which no one else has had an opportunity to test with their programs. This is probably not good.

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

29. Re: sh: 1: /media/mycomputer/Seagate: not found

Success.

 wget https://phix.heliohost.us/p64t  

I also happen to have fresh files downloaded from github.

The -c switch now works "as advertised" on Linux.

It is interesting that this thread would never have happened if I had formatted my Seagate drive from Microsoft ntfs to a Linux drive--like I usually do.

thanks,

be well
_tom

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

30. Re: sh: 1: /media/mycomputer/Seagate: not found

Don't worry, that'll all change once we have 5 or 6 programmers working on Phix.

The best I can offer is co-ordinated releases, another is warranted right now, so I'm working on it, right now.

Just found another btw: get_routine_info() now has a bName arg, another 2-step process was needed for that too.

_tom said...

Success. I also happen to have fresh files downloaded from github.

Good-oh. Your download source files are now all out of date smile

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

Search



Quick Links

User menu

Not signed in.

Misc Menu