Homebrew Question Is there CDNSP for Linux?

  • Thread starter Thread starter stubbs
  • Start date Start date
  • Views Views 5,175
  • Replies Replies 31
You have to allow hactool_linux to be ran as a application. Depending on which file browser you use, right click it, go to properties, permissions, and check the box that says allow to be run as program or somewhere along those lines.
chmod +x ./"foo.bar"

"Compilation is still annoying, so a pre-compiled build is provided for Windows users." From Hactool Repo on GitHub so I assumed it was a pita and I dont have the linux knowledge to do it
I've found compiling on linux way easier than windows.

I have no experience with Pi though. What distro of linux does it run?
 
chmod +x ./"foo.bar"


I've found compiling on linux way easier than windows.

I have no experience with Pi though. What distro of linux does it run?
Thank you, that's the command you would run if you would prefer to use the terminal.
 
Tried that command, it accepted the command but did not change the result of running hactool. It is running Debian. Thank you guys!
Ha debian! Easy Peasy!

$ sudo apt install build-essential
$ ./configure
$ make
$ make install (might not need this)
$ make clean

That's it! I think...

EDIT: Here is the official instructions, even easier. After installing the build environment you just have to run make in the hactool source directory.

## Building

Copy `config.mk.template` to `config.mk`, make changes as required, and then run `make`.
If your `make` is not GNU make (e.g. on BSD variants), you need to call `gmake` instead.
 
Last edited by Mr. Wizard,
Ha debian! Easy Peasy!

Oh man! Im getting a syntax request from hactool now! I will be able to fully test when I get home and can VNC into the box to run the GUI, you guys are awesome, I really appreciate the time and effort you have spent helping me.
 
Any ideas why it would prompt for sytanx when I run it over SSH but when I run it locally in terminal in linux it fails with that same error again :(
Logging in as the same user?
Using the same shell? Bash or ?
Same environment variables? try typing "set" in your terminal it will list your environment.
You could try running it as root to see if it's a permission problem somewhere, but this should be a last resort and normally not necessary.

Did you compile it? Did you compile it as root then try to run it as user?

So many things could be wrong man I need more information.


EDIT: You could always try to ssh into localhost or 127.0.0.1 if it works like that what the hell eh.
 
Logging in as the same user?

I compiled it over SSH logged in as a regular user, not sure if I had to use sudo to get it to build, I VNC into it as the same user. I executed it the same way, sudo ./hactool_linux. Env seems to be pretty similar, SHELL=/bin/bash USER=pi TERM=xterm
 
So many things could be wrong man I need more information.

Success!!!!

So, I ended up VNCing in, then compiling from that terminal, worked flawlessly. I am stoked, thank you again so much for everything. I hope any of this can help if anyone else is struggling with this.
 

Site & Scene News

Popular threads in this forum