kkharji / xbase

Develop Apple software products within your favorite editor.
MIT License
537 stars 17 forks source link

Error running custom build command for 'libproc v0.13.0' #234

Open TobinPalmer opened 1 year ago

TobinPalmer commented 1 year ago

Editor/Client you used

Neovim

Installation and Dependences checklist

Description

The `make install` command fails.

Expected behavior

Installing correctly.

Reproduce

`git clone https://github.com/kkharji/xbase`
`cd xbase`
`make install`

Actual behavior

After git cloning the repo and running make install, I get this error message

error: failed to run custom build command for `libproc v0.13.0`

Caused by:
  process didn't exit successfully: `/Users/tobin/.local/share/nvim/lazy/xbase/target/debug/build/libproc-c096868feabde790/build-script-build` (exit status: 101)
  --- stderr
  /Users/tobin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.13.0/libproc_rs.h:1:10: fatal error: 'libproc.h' file not found
  thread 'main' panicked at 'Failed to build libproc bindings: ClangDiagnostic("/Users/tobin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.13.0/libproc_rs.h:1:10: fatal error: 'libproc.h' file not found\n")', /Users/tobin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.13.0/build.rs:10:10
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [test] Error 101

Operating system and version

macOS 14.0

xbase version / branch / rev

main branch

Neovim version

NVIM v0.10.0-dev-618+g4fd852b8c-Homebrew

Vscode version (if the editor you used is vscode)

No response

Installed XCode Developer Tools

Developer:

    Developer Tools:

      Version: 15.0 (15A5160n)
      Location: /Applications/Xcode-beta.app
      Applications:
          Xcode: 15.0 (22181.17)
          Instruments: 15.0 (64561.135.7)
      SDKs:
          DriverKit:
              23.0:
          iOS:
              17.0: (21A5248u)
          iOS Simulator:
              17.0: (21A5248u)
          macOS:
              14.0: (23A5257p)
          tvOS:
              17.0: (21J5273p)
          tvOS Simulator:
              17.0: (21J5273p)
          watchOS:
              10.0: (21R5275s)
          watchOS Simulator:
              10.0: (21R5275s)

XBase Logs

tail: /tmp/xbase.log: No such file or directory

XBase Build Server Logs

tail: /tmp/xbase-build-server.log: No such file or directory