Project

General

Profile

[Solved] mod_cgi.so not installing on yocto

Added by jalfredo 2 months ago

Hi all,
I am building on ubuntu 20.04 yocto for aarch64 and have added lighttpd 1.4.55 via build/conf/local.conf
IMAGE_INSTALL_append = " lighttpd "

The package builds without complaints and runs on the target, however mod_cgi.so and mod_setenv.so fail to install to the target rootfs even though they are seen built in:
work/aarch64-poky-linux/lighttpd/1.4.55-r0/image/usr/lib64

What do I need to do to get these 2 modules into my target rootfs?

Thanks in advance
John Alfredo


Replies (3)

RE: mod_cgi.so not installing - Added by gstrauss 2 months ago

yocto questions should be asked in yocto forums, especially since your question appears to be about the yocto package installation process.

You seem to have neglected performing a basic search in a search engine before posting your question.
Searching for "lighttpd" and "yocto" and reading the first page of results, you should find your answer. Why didn't you do that?

The latest lighttpd release is lighttpd 1.4.67. Ubuntu is perennially out-of-date.

RE: mod_cgi.so not installing - Added by jalfredo 2 months ago

Thank you gstrauss,

I found a reference to fastcgi needing to be added manually to the install, so I took a closer look at lighttpd_1.4.55.bb and saw that the modules that were being installed were listed in RDEPENDS and RRECOMMENDS, so I added lighttpd-module-cgi and lighttpd-module-setenv to RDEPENDS and voila they show up in the rootfs.

Thanks for your help,
John Alfredo

RE: mod_cgi.so not installing - Added by gstrauss 2 months ago

I am glad you have it working.

RDEPENDS and RRECOMMENDS are not present in the official lighttpd code on the official lighttpd site (here)
I am guessing those are specific to yocto build scripts.

    (1-3/3)