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

Build failing when following installation instructions #2

Closed
auxym opened this issue Dec 11, 2023 · 4 comments
Closed

Build failing when following installation instructions #2

auxym opened this issue Dec 11, 2023 · 4 comments

Comments

@auxym
Copy link

auxym commented Dec 11, 2023

The instructions state:

nimble -l setup
nimble build

nimble build fails when I attempt this:

❯ cd nph/

nph on  master via 👑 v2.0.0 
❯ nimble -l setup
   Warning: Using project local deps mode
  Verifying dependencies for nph@0.1
     Info:  "nimble.paths" is updated.
     Info:  "config.nims" is already set up.

nph on  master [!] via 👑 v2.0.0 
❯ nimble build
   Warning: Using project local deps mode
  Verifying dependencies for nph@0.1
   Building nph/nph using c backend
/home/francis/source/nph/src/astcmp.nim(6, 8) Error: cannot open file: ast
       Tip: 2 messages have been suppressed, use --verbose to show them.
nimble.nim(229)          buildFromDir

    Error:  Build failed for the package: nph

Nim and nimble versions:

nph on  master [!] via 👑 v2.0.0 
❯ nimble --version
   Warning: Using project local deps mode
nimble v0.14.2 compiled at 2023-08-01 01:21:33
git hash: couldn't determine git hash

nph on  master [!] via 👑 v2.0.0 
❯ nim --version
Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: a488067a4130f029000be4550a0fb1b39e0e9e7c
active boot switches: -d:release

@arnetheduck
Copy link
Owner

#5 maybe, reopen if not ;)

@auxym
Copy link
Author

auxym commented Dec 11, 2023

Should have mentioned, I am on linux (manjaro).

I pulled and now get the following:

nph on  master via 👑 v2.0.0 
❯ nimble -l setup
   Warning: Using project local deps mode
  Verifying dependencies for nph@0.1
     Info:  "nimble.paths" is updated.
     Info:  "config.nims" is already set up.

nph on  master [!] via 👑 v2.0.0 
❯ nimble build
   Warning: Using project local deps mode
  Verifying dependencies for nph@0.1
   Building nph/nph using c backend
/home/francis/source/nph/src/phast.nim(15, 32) Error: cannot open file: idents
       Tip: 2 messages have been suppressed, use --verbose to show them.
nimble.nim(229)          buildFromDir

    Error:  Build failed for the package: nph

@arnetheduck arnetheduck reopened this Dec 11, 2023
@arnetheduck
Copy link
Owner

arnetheduck commented Dec 11, 2023

can you give #6 a shot? not sure what's wrong with your setup, works for both me and CI

@auxym
Copy link
Author

auxym commented Dec 11, 2023

Just pulled master (68629bc), works now, I'm closing. Thank you!

@auxym auxym closed this as completed Dec 11, 2023
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

2 participants