[Solved] mod_cgi.so not installing on yocto
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:
What do I need to do to get these 2 modules into my target rootfs?
Thanks in advance
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,