Re: sh: 1: /media/mycomputer/Seagate: not found
- Posted by _tom (admin) Jan 31, 2021
- 1510 views
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