Building OpenLiteSpeed on Alpine Linux

102 views
Skip to first unread message

Peter Kokot

unread,
Feb 19, 2017, 3:43:30 PM2/19/17
to OpenLiteSpeed Development
Hello, have anyone tried building OpenLiteSpeed on Alpine Linux from source yet?

There seems to be some errors (most likely because there isn't glibc present by default.

I get the following errors

make[3]: *** [Makefile:496: httpresourcemanager.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/httpheader.Tpo .deps/httpheader.Po
In file included from ../../src/edio/eventreactor.h:13:0,
                 from httplistener.h:21,
                 from httplistener.cpp:18:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^~~~~~~
In file included from httplistener.cpp:43:0:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
  ^~~~~~~
mv -f .deps/httpmime.Tpo .deps/httpmime.Po
make[3]: *** [Makefile:496: ntwkiolink.o] Error 1
mv -f .deps/staticfilehandler.Tpo .deps/staticfilehandler.Po
mv -f .deps/httpcontext.Tpo .deps/httpcontext.Po
mv -f .deps/httplistener.Tpo .deps/httplistener.Po
mv -f .deps/httpvhost.Tpo .deps/httpvhost.Po
make[3]: Leaving directory '/usr/src/openlitespeed-1.4.24/src/http'
make[2]: *** [Makefile:2094: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/openlitespeed-1.4.24/src'
make[1]: *** [Makefile:532: all] Error 2
make[1]: Leaving directory '/usr/src/openlitespeed-1.4.24/src'
make: *** [Makefile:394: all-recursive] Error 1


Any suggestion is welcome. Thank you.

David

unread,
Feb 21, 2017, 9:02:24 AM2/21/17
to openlitespee...@googlegroups.com
We will test installation on Alpine Linux and will give you a feedback.
Thanks.
David
--
You received this message because you are subscribed to the Google Groups "OpenLiteSpeed Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openlitespeed-deve...@googlegroups.com.
To post to this group, send email to openlitespee...@googlegroups.com.
Visit this group at https://groups.google.com/group/openlitespeed-development.
For more options, visit https://groups.google.com/d/optout.

Peter Kokot

unread,
Jun 24, 2017, 4:23:39 PM6/24/17
to openlitespee...@googlegroups.com
I've successfully build OpenLiteSpeed on Alpine. It only requires few patches. Inspiration for building OpenLiteSpeed on Alpine is available here:
https://pkgs.alpinelinux.org/package/edge/testing/x86_64/litespeed

And our version of compilation and patches is available here:
https://github.com/php-earth/docker-php
also as a separate Alpine repository - in case anyone will meet same issue. Thanks...

David

unread,
Jun 26, 2017, 9:13:23 AM6/26/17
to openlitespee...@googlegroups.com
Good job.
Thank you for letting us known.
David

On 6/24/2017 4:23 PM, Peter Kokot wrote:
I've successfully build OpenLiteSpeed on Alpine. It only requires few patches. Inspiration for building OpenLiteSpeed on Alpine is available here:


And our version of compilation and patches is available here:
https://github.com/php-earth/docker-php
also as a separate Alpine repository - in case anyone will meet same issue. Thanks...
Reply all
Reply to author
Forward
0 new messages