0

I am new to here so forgive me if I ask stupid question. I am coming from mac and would like to give a try to "darling" - unfortunately no matter what I am trying to do there is always some issue breaking the installation process ...
my latest stop is: darling-dkms can not access headers at kernel source ( btw: I don't see build nor source in the given location ) Any help will be appreciated.

New contributor
user27507 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
0

If you are installing the application from source, you may need to first install the kernel headers, which will then let you compile against them. You can do this by opening Terminal and typing this:

sudo apt install linux-headers-$(uname -r)

You may also need some additional packages installed that can be referenced by the application. Based on this AskUbuntu answer, these are required:

sudo apt install cmake clang bison flex libfuse-dev libudev-dev pkg-config libc6-dev-i386 \
     linux-headers-generic gcc-multilib libcairo2-dev libgl1-mesa-dev libglu1-mesa-dev libtiff5-dev \
     libfreetype6-dev git libelf-dev libxml2-dev libegl1-mesa-dev libfontconfig1-dev libbsd-dev \
     libxrandr-dev libxcursor-dev libgif-dev libavutil-dev libpulse-dev libavformat-dev libavcodec-dev \
     libavresample-dev libdbus-1-dev libxkbfile-dev libssl-dev

Once installed, you should be able to install the application 👍🏻

4
  • Thank you for prompt response :)
    – user27507
    Nov 25 at 3:50
  • All looked much more appealing and darling-dkms installation went very far and then:
    – user27507
    Nov 25 at 3:51
  • Error! Bad return status for module build on kernel: 5.11.0-40-generic (x86_64) Consult /var/lib/dkms/darling-mach/0.1/build/make.log for more information. dpkg: error processing package darling-dkms (--configure): installed darling-dkms package post-installation script subprocess returned error exit status 10 Processing triggers for man-db (2.9.1-1) ... Errors were encountered while processing: darling-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)
    – user27507
    Nov 25 at 3:52
  • There may be some additional dependencies. I've updated the answer based on a solution from AskUbuntu.
    – matigo
    Nov 25 at 4:10

Your Answer

user27507 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.