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

Failing compilation for intell, on linux (archlinux) #15

Open
azbarcea opened this issue Nov 4, 2023 · 1 comment
Open

Failing compilation for intell, on linux (archlinux) #15

azbarcea opened this issue Nov 4, 2023 · 1 comment

Comments

@azbarcea
Copy link

azbarcea commented Nov 4, 2023

I wonder if the intell profile is supported for linux. If not, any guidance to add support, is greatly appreciated and I can provide a PR part of this Issue.

My presumption is based on:

error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-apple-darwin` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-apple-darwin`

I'm using rust and not rustup. Also, I wasn't expecting x86_64-apple-darwin as this implies is a MacOS (OSX) support.

Full log:

$ pnpm build:app:intell

> ollama-interface@0.0.0 build:app:intell /home/<userid>/projects/ollama-gui
> pnpm clean-target && tauri build --target x86_64-apple-darwin


> ollama-interface@0.0.0 clean-target /home/<userid>/projects/ollama-gui
> rm -rf ./src-tauri/target

     Running beforeBuildCommand `pnpm build`

> ollama-interface@0.0.0 build /home/<userid>/projects/ollama-gui
> pnpm clean-target && tsc && vite build


> ollama-interface@0.0.0 clean-target /home/<userid>/projects/ollama-gui
> rm -rf ./src-tauri/target

vite v4.4.9 building for production...
✓ 1939 modules transformed.
dist/index.html                      0.59 kB │ gzip:   0.33 kB
dist/assets/vendor-1e521ea9.css      6.65 kB │ gzip:   0.94 kB
dist/assets/index-04144e50.css      36.87 kB │ gzip:   6.55 kB
dist/assets/index-257c7ce6.js       41.42 kB │ gzip:  10.70 kB
dist/assets/vendor-298d96b1.js   1,182.05 kB │ gzip: 393.44 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 10.75s
   Compiling proc-macro2 v1.0.67
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.148
   Compiling cfg-if v1.0.0
   Compiling serde v1.0.188
error[E0463]: can't find crate for `core`
  |
  = note: the `x86_64-apple-darwin` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-apple-darwin`

error[E0463]: can't find crate for `compiler_builtins`

For more information about this error, try `rustc --explain E0463`.
error: could not compile `cfg-if` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
       Error failed to build app: failed to build app
 ELIFECYCLE  Command failed with exit code 1.
@azbarcea azbarcea changed the title failing compilation on intell, linux (archlinux) failing compilation for intell, on linux (archlinux) Nov 4, 2023
@azbarcea azbarcea changed the title failing compilation for intell, on linux (archlinux) Failing compilation for intell, on linux (archlinux) Nov 4, 2023
@snatvb
Copy link

snatvb commented May 19, 2024

"intel" - it's for mac, not for linux
for linux you need to add building configuraiton before start

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