piserver icon indicating copy to clipboard operation
piserver copied to clipboard

Porting to another Linux: some minor directory issues and running as root

Open bitshiftnetau opened this issue 4 years ago • 1 comments

Hello there!

I am keen to have this working on Arch Linux (because of course one of us was going to show up eventually)

Managed to get cmake config'd and output a makefile, then ran the makefile and landed with a neat little executable. Rather painless really so you should be commended :)

Only issue is the following error:

piserver

Having a quick grep I found the following lines in main.cpp:

piserver2

So, the next logical question is what are these folders and what are the desired permissions?

As an aside, is there a way to run this as a non-root user?

bitshiftnetau avatar Mar 17 '21 07:03 bitshiftnetau

If you do "sudo make install" those should be created.

Are simply the folders under /var/lib/piserver that are mentioned here: https://github.com/raspberrypi/piserver/blob/master/CMakeLists.txt#L93

maxnet avatar Mar 17 '21 15:03 maxnet