-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Liblinear 247 #26781
Liblinear 247 #26781
Conversation
At install I get a permission denied at the cp stage (there are two). But I suspect this is due to my environment, not due to the opam package. If someone else could test this package, that would be helpful. |
related to #26774 |
I'll try installing on the local disk as a test. |
I still have a copy error if installing on the local disk |
I could try the .install file method, but everything in the opam file is
not bad either: it is centralized.
…On Fri, Oct 25, 2024 at 4:05 PM Marcello Seri ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In packages/liblinear/liblinear.2.47/opam
<#26781 (comment)>
:
> @@ -6,8 +6,8 @@ bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "BSD-3-Clause"
build: [
["sh" "-c" "make -C liblinear-247"]
- ["cp" "-d" "--preserve=all" "liblinear-247/train" "%{bin}%/liblinear-train"]
- ["cp" "-d" "--preserve=all" "liblinear-247/predict" "%{bin}%/liblinear-predict"]
+ ["install" "liblinear-247/train" "%{bin}%/liblinear-train"]
+ ["install" "liblinear-247/predict" "%{bin}%/liblinear-predict"]
]
What if instead you generate a .install file and let opam do the copy?
—
Reply to this email directly, view it on GitHub
<#26781 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFUFAECPHRFQFYBSHDIVSLZ5HUQ5AVCNFSM6AAAAABQQZKTZGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGOJUGM4DQNZZGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I was just suggesting it to see if it avoids the network disk issue |
There were some errors in the opam file (depexts instead of depends); my mistake. # install: cannot create regular file '~/.opam/4.14.1/bin/liblinear-train': Read-only file system If someone can test on a computer that's not using NFS for the homedir, that might be helpful. |
Is there an example of a .install file somewhere?
I did not find in opam-repos.
…On Mon, Oct 28, 2024 at 9:59 AM Marcello Seri ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In packages/liblinear/liblinear.2.47/opam
<#26781 (comment)>
:
> @@ -6,8 +6,8 @@ bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "BSD-3-Clause"
build: [
["sh" "-c" "make -C liblinear-247"]
- ["cp" "-d" "--preserve=all" "liblinear-247/train" "%{bin}%/liblinear-train"]
- ["cp" "-d" "--preserve=all" "liblinear-247/predict" "%{bin}%/liblinear-predict"]
+ ["install" "liblinear-247/train" "%{bin}%/liblinear-train"]
+ ["install" "liblinear-247/predict" "%{bin}%/liblinear-predict"]
]
https://opam.ocaml.org/doc/Manual.html#lt-pkgname-gt-install
—
Reply to this email directly, view it on GitHub
<#26781 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFUFAFCB2XGN6FHMH7P7Q3Z5X4HLAVCNFSM6AAAAABQQZKTZGVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGOJYGU3TOOJXGY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Perhaps opam-repository/packages/xmlm/xmlm.1.1.0/opam Lines 31 to 38 in 56e31a3
I am able to find many other examples in the opam repo using |
@UnixJunkie this works!! |
Are we OK to merge this one? (the ci errors are inaccurate results due to some ongoing churn in the images). |
Let’s wait a moment. @UnixJunkie does this version work with NFS? |
Kindly ping to, @UnixJunkie. |
let's keep things simple
This should be merged. |
Once this is merged, I will replicate the recipe to create a user-space installer for libsvm. |
Lovely. Thanks for all your work to make this available to the community! |
No description provided.