Skip to content
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

install fails on freebsd #103

Open
devosalain opened this issue Dec 15, 2021 · 4 comments
Open

install fails on freebsd #103

devosalain opened this issue Dec 15, 2021 · 4 comments

Comments

@devosalain
Copy link

Due to linux code in nimlsp you cannot install nimlsp on freebsd.

@lbartoletti
Copy link

Related to #68

I use nimlsp on FreeBSD, but you have to install choosenim:

nimble install choosenim
choosenim update stable
nimble install nimlsp

@lbartoletti
Copy link

It's not true anymore:

% nimble install nimlsp
Downloading https://github.com/PMunch/nimlsp using git
  Verifying dependencies for [email protected]
 Installing jsonschema@>= 0.2.1
Downloading https://github.com/PMunch/jsonschema using git
   Warning: The package has no tagged releases, downloading HEAD instead.
  Verifying dependencies for [email protected]
 Installing ast_pattern_matching@any version
Downloading https://github.com/nim-lang/ast-pattern-matching using git
  Verifying dependencies for [email protected]
 Installing [email protected]
  Success:  ast_pattern_matching installed successfully.
 Installing [email protected]
  Success:  jsonschema installed successfully.
 Installing asynctools@>= 0.1.1
Downloading https://github.com/cheatfate/asynctools using git
  Verifying dependencies for [email protected]
 Installing [email protected]
  Success:  asynctools installed successfully.
 Installing [email protected]
   Building nimlsp/nimlsp_debug using c backend
/tmp/nimble_45629/githubcom_PMunchnimlsp/src/nimlsppkg/suggestlib.nim(3, 18) Error: cannot open file: nimsuggest/nimsuggest
    Prompt: Build failed for '[email protected]', would you like to try installing 'nimlsp@#head' (latest unstable)? [y/N]
    Answer: y
Downloading https://github.com/PMunch/nimlsp using git
  Verifying dependencies for [email protected]
     Info:  Dependency on jsonschema@>= 0.2.1 already satisfied
  Verifying dependencies for [email protected]
     Info:  Dependency on ast_pattern_matching@any version already satisfied
  Verifying dependencies for [email protected]
     Info:  Dependency on asynctools@>= 0.1.1 already satisfied
  Verifying dependencies for [email protected]
 Installing [email protected]
   Building nimlsp/nimlsp_debug using c backend
/tmp/nimble_45629/githubcom_PMunchnimlsp_#head/src/nimlsppkg/suggestlib.nim(3, 18) Error: cannot open file: nimsuggest/nimsuggest
       Tip: 41 messages have been suppressed, use --verbose to show them.
nimble.nim(229)          buildFromDir

    Error:  Build failed for the package: nimlsp

@PMunch
Copy link
Owner

PMunch commented Feb 17, 2024

Have you tried explicitSourcePath? This seems very similar to issues like this on other OSes

@lbartoletti
Copy link

Have you tried explicitSourcePath? This seems very similar to issues like this on other OSes

Indeed, with explicitSourcePath it's ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants