cherokee/webserver

Install failure

spotstat opened this issue · 9 comments

I believe the main web site's instructions need to be updated.
I have a fresh Ubuntu 16.04 server. I attempted to install Cherokee following the instructions, logging into the server over ssh as root, and entering "apt-get install cherokee cherokee-admin".
This error was thrown:
root@xxxx:~# apt-get install cherokee cherokee-admin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cherokee is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cherokee' has no installation candidate
E: Unable to locate package cherokee-admin

I got the same issue during my installation... only compiling works fine for me

I guess unless someone steps in as Ubuntu maintainer, we cannot 'fix' this issue permanently.

Please I think you should try download and then ./configure... make... install
It worked for me =)

Ya, I've gone through all the brew steps, all the non-brew steps... won't run. Very disappointed. Can we just get something compiled that's been tested?

@matchavez

./autogen.sh
./configure --prefix=/your/favorite/location
make
make install
/you/favorite/location/sbin/cherokee

Now it is up to you to tell us what won't run :-)

OK, here goes...

First, Brew fails. I know Brew works fine because later when I had to do a build, it required installation of packages.

./autogen.sh fails, requesting gettext. Even if you have it via brew, must run with --enable-nls=no The workaround works.

./configure --prefix=/Users/matchavez/Desktop/ also requires the nls=no

Make generates errors, but otherwise seems to complete.

Make install gets a permission denied error:

Making install in po
Making install in admin
if test "cherokee" = "gettext-tools"; then
../.././install-sh -c -d /Users/matchavez/Desktop/share/gettext/po;
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do
/usr/bin/install -c -m 644 ./$file
/Users/matchavez/Desktop/share/gettext/po/$file;
done;
for file in Makevars; do
rm -f /Users/matchavez/Desktop/share/gettext/po/$file;
done;
else
: ;
fi
make[3]: Nothing to be done for install-exec-am'. make[3]: Nothing to be done for install-data-am'.
Making install in m4
make[2]: Nothing to be done for install-exec-am'. make[2]: Nothing to be done for install-data-am'.
Making install in www
make[2]: Nothing to be done for `install-exec-am'.
.././install-sh -c -d '/Library/WebServer/Documents/images'
/usr/bin/install -c -m 644 favicon.ico default-bg.png cherokee-logo.png powered_by_cherokee.png '/Library/WebServer/Documents/images'
install: /Library/WebServer/Documents/images/favicon.ico: Permission denied
make[2]: *** [install-cherokeewwwimagesDATA] Error 71
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

make install /Users/matchavez/Desktop/sbin/cherokee causes the same output.

I would not at all expect any installation outside /Users/matchavez/Desktop if you are running it with --prefix, I consider that quite unexpected.

Could you try with: make PREFIX=/Users/matchavez/Desktop/cherokee install

Skinkie, it isn't working under any condition. I'm just going to pass; it's pretty clear that despite your considerable efforts, it's a lot for one person to keep this stuff alive as a passionate side project. Even if we get it going today, some Mac update is going to bork it, or whatever.

Good luck, and I hope you get it working. Don't forget that wget & curl is still not resolving for "latest"; same as a month ago. It's a 404.

Thanks for the feedback. I agree, if we want to keep this 'working' for non-developers and more maintainers are required.