TheAlexDev23 / power-options

Linux GUI application for blazingly fast and simple power-management.
MIT License
205 stars 1 forks source link

webview build failing to find xdo on Arch #12

Closed parkerlreed closed 1 week ago

parkerlreed commented 1 week ago

Trying to install the webview-git AUR PKGBUILD

I didn't have xdo at first but even after installation getting the same linker error


own-linux-gnu/lib" "-o" "/home/parker/.cache/paru/clone/power-options-webview-git/src/power-options/target/release/deps/frontend-e8d2ceeae62ecaf8" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
  = note: /usr/bin/ld: cannot find -lxdo: No such file or directory
          collect2: error: ld returned 1 exit status

error: could not compile `frontend` (bin "frontend") due to 1 previous error
  ❌ Build failed.                                                                                                                                                                             Error: 🚫 Building project failed:

Caused by:
    Build failed
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'power-options-webview-git-1.0.1r7.a77246-1': 
error: packages failed to build: power-options-webview-git-1.0.1r7.a77246-1```
parkerlreed commented 1 week ago

Cleared all build files to make sure a previous attempt wasn't throwing it off. Still not linking.

TheAlexDev23 commented 1 week ago

This might be a dependency that I forgot to add. Do you have xdotool installed in your system?

ischeinkman commented 1 week ago

I needed to install a separate libxdo-dev package on Debian when building myself.

TheAlexDev23 commented 1 week ago

Yeah, I'll probably need to add build dependencies to the install instructions.

parkerlreed commented 1 week ago

xdotool was it. So for Arch it seems xdotool provides the library include -lxdo