Skip to content

Errors in apple darwin aarch64 and x86_64 #10

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

Closed
marirs opened this issue Nov 10, 2024 · 3 comments
Closed

Errors in apple darwin aarch64 and x86_64 #10

marirs opened this issue Nov 10, 2024 · 3 comments

Comments

@marirs
Copy link

marirs commented Nov 10, 2024

I get the following error.

 Compiling lightgbm3-sys v1.0.5
error: failed to run custom build command for `lightgbm3-sys v1.0.5`

Caused by:
  process didn't exit successfully: `target/debug/build/lightgbm3-sys-ba162e39c5c9e869/build-script-build` (exit status: 1)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_aarch64-apple-darwin = None
  CMAKE_TOOLCHAIN_FILE_aarch64_apple_darwin = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_aarch64-apple-darwin = None
  CMAKE_GENERATOR_aarch64_apple_darwin = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None

  --- stderr


  error occurred: unknown target `aarch64-apple-darwin11`

Same on x86_64 of apple darwin

error: failed to run custom build command for `lightgbm3-sys v1.0.5`

Caused by:
  process didn't exit successfully: `/Users/sg/Documents/Dev/Rust/mlware/target/debug/build/lightgbm3-sys-7cb6f69af196b838/build-script-build` (exit status: 1)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-apple-darwin = None
  CMAKE_TOOLCHAIN_FILE_x86_64_apple_darwin = None
  TARGET_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-apple-darwin = None
  CMAKE_GENERATOR_x86_64_apple_darwin = None
  TARGET_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None

  --- stderr


  error occurred: unknown target `x86_64-apple-darwin11`

Can you kindly help me to know what I could be doing wrong or what is missing here!

@Mottl
Copy link
Owner

Mottl commented Nov 10, 2024

Hi, Marirs!

Here is what I've found so far:
rust-lang/cc-rs#1276

@marirs
Copy link
Author

marirs commented Nov 10, 2024

Thank you very much!
I'll close this here.

@marirs marirs closed this as completed Nov 10, 2024
@marirs
Copy link
Author

marirs commented Dec 3, 2024

Hi,
Tried many ways to compile ; even removed the cmake from my system, I still get the above error.
Is there any way you can help me / point me a direction to get this compiled on a darwin system?

Sriram

Mottl added a commit that referenced this issue Jan 14, 2025
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