shawn1m / overture

A customized DNS relay server
MIT License
1.79k stars 284 forks source link

Overture v1.6-rc1 on EdgeRouter X #157

Open narakuw opened 5 years ago

narakuw commented 5 years ago

Download all of the mips packages and test each package on EdgeRouter X version 1.10.9. It prompted "./overture-linux-mipsxxxx: command not found".

Appericated if you have any idea, perhaps it could compile a mips binary?

shawn1m commented 5 years ago

Please make sure the filename is correct, maybe use absolute path?

If the binary is not suitable for the system or architecture, the shell will show "cannot execute binary file: Exec format error".

If it is an execute permission issue, the shell will show "permission denied".

maddie commented 5 years ago

It might be because of the lack of FPU (or emulation) in ER-X. You'll need to use mipsle-softfloat version, which was not built by default in the current release. I will submit a pull request for adding those builds in the build script.

But according to this link, it seems mipsle should suffice. Could you try it first?

narakuw commented 5 years ago

Much appreciate your help. that is a real good news, I will have a try.

narakuw commented 5 years ago

Sorry for delay getting back to you. I download v1.6-rc4 overture-linux-mipsle-softfloat and implment a test, used the absolute path, but it displays the same result "sudo: ./overture-linux-mipsle-softfloat: command not found", any idea? Thanks.

maddie commented 5 years ago

It's weird that it's saying command not found

Can you check:

  1. Check mount and see if there's noexec option on the filesystem you're running Overture on
  2. Check file permission, e.g. ls -la overture-linux-mipsle-softfloat
  3. Try running Overture without sudo
  4. Try file overture-linux-mipsle-softfloat and see what kind of file is being reported
  5. Try ldd overture-linux-mipsle-softfloat and check the linked libraries are available in ER-X's environment

That's all I can think of right now.

i1052 commented 5 years ago

Try chmod +x ./overture-linux-mipsxxxx ? Or put it in /config/ ?