Building command line utility from github


Recommended Posts

So I want to install an alternative to inotify-tools on my unraid server to use in bash scripts:

https://github.com/tinkershack/fluffy/

 

I tried using the dev pack to build (needed make and some other dependencies listed) I got stuck on a dependency that wasn't on the list apparently and also wasn't in the dev pack. I also had questions about how persistent this was anyway, since unraid runs out of a ramdisk.

 

Anyway, can you build something like this elsewhere and copy over the binary? Should I build it on slackware or does it even matter? My machines are all different versions of linux mint. I can't find the base slackware version used by unraid to download to do that.

Link to comment

If you compile the binary with static links it will be portable as any and all libraries will be compiled into the binary itself. This will result in a substantially larger footprint for the executable both on disk and in memory - but will get the job done.

Link to comment
13 hours ago, Xaero said:

If you compile the binary with static links it will be portable as any and all libraries will be compiled into the binary itself. This will result in a substantially larger footprint for the executable both on disk and in memory - but will get the job done.

Thanks. I ended up copying over the files created by the make file and it seemed like it worked. I believe I read somewhere that it was static links by default so that probably explains why it seemed to work.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.