Open Zectbumo opened 1 year ago
+1
I am playing with V on OpenBSD 7.3 (amd64) myself, and can confirm both the problem and the solution in https://github.com/vlang/v/discussions/17192.
I think it is still too early to create an official V package (for any platform). At the rate V is still changing, it would be a tremendous amount of effort to keep packages updated.
Perhaps when V reaches v1.0, but not yet.
At the rate V is still changing
https://vlang.io/compare "V is not going to change much, if at all."
Maybe this page needs an update?
No. It is referring to after 1.0, and mainly means the syntax won't change, not that V won't still get bug fixes.
at the vary least can we add a pkg_add boehm-gc
heads-up instructions for OpenBSD users on the documentation page?
https://github.com/vlang/v/blob/master/doc/docs.md#installing-v-from-source
There is an OpenBSD port for v now. If you're on OpenBSD -current, you can pkg_add v
pretty soon after new snapshots have been built, or you can build it yourself from lang/v
.
There is an OpenBSD port for v now. If you're on OpenBSD -current, you can
pkg_add v
pretty soon after new snapshots have been built, or you can build it yourself fromlang/v
.
Many thanks!
Describe the bug
There is a needed dependency to run V on OpenBSD. Running V results in
error: none of the paths ['/usr/local/lib/libgc.a', '/usr/lib/libgc.a'] exist
Expected Behavior
I expected "No libraries or dependencies needed." as stated on the homepage. It is true that it compiled with no libraries or dependencies but I expect it to run afterwards :D
Current Behavior
Reproduction Steps
Possible Solution
I read on #17192 that this makes it work:
# pkg_add boehm-gc
also, Possibly make an OpenBSD package so we can:
pkg_add v
Additional Information/Context
No response
V version
V 0.3.4 099d4fc
Environment details (OS name and version, etc.)
OpenBSD 7.3 amd64