Installation from OLS v1.6.2 source code does not work

#1
Hello !

I'm sorry. I am not good at English because I am Japanese.
I'm trying to install OLS v1.6.2 from source code on Fedora 30.

The work was done with reference to this.
https://openlitespeed.org/kb/installation-from-source-code/

Install dependent packages.
$ sudo dnf install gcc gcc-c++ make autoconf glibc rcs
$ sudo dnf install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel udns-devel

Download source code.
$ git clone https://github.com/litespeedtech/openlitespeed.git
$ cd openlitespeed
Or
$ curl -O https://openlitespeed.org/packages/openlitespeed-1.6.2.src.tgz
$ cd openlitespeed-1.6.2

configure & make.
$ ./configure

An error occurs in configure.
cannot find input file: `src/adns/Makefile.in'

----- output -----
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk

Omitted...

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/edio/Makefile
config.status: creating src/extensions/Makefile
config.status: creating src/http/Makefile
config.status: creating src/spdy/Makefile
config.status: creating src/log4cxx/Makefile
config.status: creating src/main/Makefile
config.status: creating src/socket/Makefile
config.status: creating src/sslpp/Makefile
config.status: creating src/ssi/Makefile
config.status: creating src/lsiapi/Makefile
config.status: creating src/modules/Makefile
config.status: creating src/shm/Makefile
config.status: error: cannot find input file: `src/adns/Makefile.in'

What are the possible causes?

Thanks!
 
#4
Hi David,
Hi Cold-Egg

Thank you for helpful information.

However, both are for CentOS and do not work well with Fedora 30.

I will try to fix it for Fedora myself!

Please give me some time.

The result is written here again.

Thanks!
 
#6
Hi !

Thanks for your cooperation.

I tried to install the binary according to the guide.

It has been confirmed that it works properly with Fedora 30, 31 and WSL2 of Windows 10.

The steps are as follows:
$ curl -O https://openlitespeed.org/packages/openlitespeed-1.6.2.tgz
$ tar zxvf openlitespeed-1.6.2.tgz
$ cd openlitespeed
$ sudo ./install.sh

$ sudo systemctl start lshttpd

Go to http://localhost:8088.


And there is something I want to do.

I want to build with Fedora Project Copr repository.
https://copr.fedorainfracloud.org/coprs/

When building with a Copr repository, CentOS and Fedora users can easily install OpenLiteSpeed by enabling Copr.
Is it okay to help me like that?

I want to get a spec file for CentOS rpmbuild to do that.
Is this possible?

Thanks!
 
Top