-
-
Notifications
You must be signed in to change notification settings - Fork 869
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support OpenBSD - Document compilation instructions and code changes to support OpenBSD #2989
base: master
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
@lfzamora81 I wonder if these steps: Can actually be done via the Makefile / Configure script by detecting the OpenBSD .... something to look into and then would simplify things a little further. |
I am learning OpenBSD port system with eventual goal of porting this natively to OpenBSD similar to the FreeBSD port. And I will likely need to learn Autotools but my knowledge of it at the moment is almost nill--just dangerous enough to cause trouble. I believe it would start by modifying the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I have not forgotten this PR. I have a number of bugs / issues I need to resolve (2 x issues, 1 undocumented atm) , then I am going to spend some time looking at the relevant files on OpenBSD and try and get this to configure correctly, automatically for OpenBSD / Linux so no massaging of files is required. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
* Use getMaxOpenFiles() to get the maximum number of open files allowed by the system, supporting Linux, OpenBSD and FreeBSD * Use getMaxInotifyWatches() to get the maximum inotify watches allowed (Linux) or advise kqueue is used for OpenBSD or FreeBSD
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (49)
To accept these unrecognized words as correct, you could run the following commands... in a clone of the [email protected]:lfzamora81/onedrive.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/main/apply.pl' |
perl - 'https://github.com/abraunegg/onedrive/actions/runs/12263516008/attempts/1'
|
Were you ever able to actually run the client ... or did you just compile it? To 'run' in monitor mode has required a code change which has been added to this PR, however I am getting very weird application runtime failures - for example:
For X number of items, the code works, then without reason fails .. and it should not be failing like this. As OpenBSD is potentially your knowledge area - what compile options are you using? |
No special compile options were used, in fact my main goal was to stick to the stock instructions as much as possible only deviating where absolutely necessary as documented under my submitted notes for OpenBSD. In all other aspects, I followed the build instructions from: https://github.com/abraunegg/onedrive/blob/master/docs/install.md and used the FreeBSD dependency list as a guide. Was always wondering about the compiler differences and the fact that DMD does not need to be "activate" on OpenBSD as explained in the above instructions. At the time, LDC was still broken in the ports system so could not be tested. Not sure if that may make a difference as well. My version is/was a bit behind now at |
Added OpenBSD sub-section to the Dependencies section of docs/install.md.