Project

General

Profile

[Solved] Compilation fails: "make: *** No rule to make target 'check'. Stop."

Added by fla about 1 month ago

Hello,

I downloaded the source files from the website:
https://www.lighttpd.net/download/

Also I tried to download via git from github:
https://github.com/lighttpd/lighttpd1.4.git

But it fails to compile - shows the message:

make: *** No rule to make target 'check'.  Stop.

I followed the INSTALL instructions which exist in various webpages:

The "INSTALL" file:
https://github.com/lighttpd/lighttpd1.4/blob/master/INSTALL

The wiki page:
https://redmine.lighttpd.net/projects/lighttpd/wiki/InstallFromSource

But still it fails to compile.

Attached a log file which shows output from various commands.

What am I missing here?
Would appreciate your help.

log.txt (23 KB) log.txt

Replies (5)

RE: Compilation fails: "make: *** No rule to make target 'check'. Stop." - Added by gstrauss about 1 month ago

What am I missing here?

You seem to have forgotten to check that each command succeeds and to read the error messages.

configure: error: zlib headers not found, install them or build without --with-zlib

RE: [Solved] Compilation fails: "make: *** No rule to make target 'check'. Stop." - Added by fla about 1 month ago

Hi !

Thanks for the quick reply.

But I did have the zlib installed.
In Ubuntu the correct zlib package is zlib1g, which is already installed, see:

$ sudo apt install zlib1g
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
zlib1g is already the newest version (1:1.2.11.dfsg-2ubuntu9.2).

RE: Compilation fails: "make: *** No rule to make target 'check'. Stop." - Added by avij about 1 month ago

There's the following in the output:

configure: error: zlib headers not found, install them or build without --with-zlib

Depending on your Linux distribution, you will likely need to install a number of "development" packages for specific libraries, such as zlib-devel or zlib1g-dev.

Also note that configure was unable to find any development libraries for TLS support (ie. https support). You may want to install some development package for those as well, such as for OpenSSL.

If you run into issues, maybe try a web search first. These issues are generic compilation issues, not specific to lighttpd.

RE: [Solved] Compilation fails: "make: *** No rule to make target 'check'. Stop." - Added by fla about 1 month ago

Indeed thank you guys!

I installed the package "zlib1g-dev" and now it seems good!
I successfully compiled.

The command which I used is:

sudo apt install zlib1g-dev

Cheers.

RE: Compilation fails: "make: *** No rule to make target 'check'. Stop." - Added by fla about 1 month ago

avij wrote in RE: Compilation fails: "make: *** No rule to make target ...:

If you run into issues, maybe try a web search first. These issues are generic compilation issues, not specific to lighttpd.

Ok.
I did try a Google search though nothing related appeared.

    (1-5/5)