-
Notifications
You must be signed in to change notification settings - Fork 26
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
Impossible Compile findex #30
Comments
Ahh, forgot to update minimum supported rustc version. Please update your rust compiler and let me know whether that fixes your problem. |
update to rust 1.66 latest stable but for me there is always an error: Downloaded futures-task v0.3.25 Caused by: Installation done! best regards |
Try to remove "target" directory. It seems like it was created by root. You
might use sudo to do this
…On Mon, Dec 26, 2022, 1:06 AM dacorsa ***@***.***> wrote:
for me there is always an error:
Downloaded futures-task v0.3.25
Downloaded crossbeam-utils v0.8.14
Downloaded serde_derive v1.0.151
Downloaded generational-arena v0.2.8
Downloaded as_derive_utils v0.11.0
Downloaded pest v2.5.1
Downloaded serde_json v1.0.90
Downloaded mio v0.8.5
Downloaded cfg-expr v0.11.0
Downloaded boxfnonce v0.1.1
Downloaded anyhow v1.0.67
Downloaded aho-corasick v0.7.20
Downloaded serde v1.0.151
Downloaded shlex v1.1.0
Downloaded pkg-config v0.3.26
Downloaded 66 crates (4.8 MB) in 0.77s
error: failed to open: /app/findex/target/release/.cargo-lock
Caused by:
Permission denied (os error 13)
Copying files...
Installation done!
Now add "findex-daemon" to autostart. You may follow your desktop
environment's guide to do this.
I'm starting "findex-daemon" for now.
[ERROR] Findex is already running with pid: 770508
[ERROR] Help: You may want to kill with killall findex findex-daemon
Findex can't bind hotkey in wayland.
To bind hotkey, bind the following command to your desired hotkey in the
desktop environment you are using
echo 1 > ~/.config/findex/toggle_file
If you had Findex 0.6.0 installed, you may want to remove findex services
from systemd.
best regards
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJT3RCISMUOG4RU7CWEA7ITWPCLLZANCNFSM6AAAAAATINZ3BY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I think it's better to delete the current clone and clone Findex again. |
ok works with manual installation, but in the automated installation says always cargo not found |
Did you clone Findex again? Are you using rustup? |
yes delete dir run rustup and re-compile |
Can you give me the output? |
ok i have removed sudo from the command sudo ./installer.sh and now works: 21:05:16 dacorsa@NanoKDE /home/dacorsa $ findexupdate.sh Installation done! and findexupdate.sh is: sudo apt install libkeybinder-3.0-dev |
That's how it was meant to be run. Should I close the issue? |
Yes, you're a gentleman! :) |
Hi all
i'm have always compiled findex successfully but now i see this error with the latest code downloaded from github:
Compiling atk-sys v0.15.1
Compiling pango-sys v0.15.10
Compiling gtk-sys v0.15.3
Compiling glib v0.15.12
Compiling findex-plugin v0.1.0 (/app/findex/crates/findex-plugin)
Compiling cairo-rs v0.15.12
Compiling pango v0.15.10
Compiling atk v0.15.1
Compiling gdk-pixbuf v0.15.11
Compiling gdk v0.15.4
Compiling findex v0.6.0 (/app/findex/crates/findex)
error[E0658]:
let...else
statements are unstable--> crates/findex/src/gui/result_list_row.rs:95:5
|
95 | / let Some(cmd) = split(unsafe { row.data::("app-cmd").unwrap().as_ref() }) else {
96 | | show_dialog("Error", "Failed to launch application", MessageType::Error);
97 | | return;
98 | | };
| |______^
|
= note: see issue #87335 rust-lang/rust#87335 for more information
For more information about this error, try
rustc --explain E0658
.error: could not compile
findex
due to previous errorHow can i solve?
Thanks
best regards
The text was updated successfully, but these errors were encountered: