postinstall error
OS : ubuntu 12.04 64 bit piler : 59563a31c68b.zip sphinxsearch_2.1.4-release-0ubuntu11~precise1_amd64.deb
I can run ./configure --localstatedir=/var --enable-starttls --enable-tcpwrappers --enable-clamd --enable-memcached --with-database=mysql make make install following error came make postinstall util/postinstall.sh: 384: util/postinstall.sh: Syntax error: redirection unexpected make: *** [postinstall] Error 2
Comments (6)
-
repo owner -
i was downlod today morning from following site
https://bitbucket.org/jsuto/piler/get/59563a31c68b.zip
can you please tell me how to view
-
repo owner "piler -V" shows you the version. However in the meantime I spotted the problem. Please do the following. Edit util/postinstall.sh, and go to line 384.
Remove that line, and replace with the following snippet, see the attachment. Then run "make postinstall" again.
-
repo owner - attached att.txt
fix for postinstall script.
-
Installation done after changes made as per your advice . but following error came at the end. "www files not copying" installing cron entries for piler... Done. installing keyfile (piler.key) to /usr/local/etc/piler.key... Done. Making an ssl certificate ... Generating a 4096 bit RSA private key ......................................................................................................................................+ ....................................++ writing new private key to '/usr/local/etc/piler.pem'
Copying www files to /var/www/archivetest.sbainfosol.com... chgrp: cannot access `/var/www/archivetest.sbainfosol.com/system/helper/phpqrcode/cache': No such file or directory Done.
Done post installation tasks.
-
repo owner - changed status to resolved
Thanks for the feedback, I've removed that problematic chgrp line.
- Log in to comment
what piler version is this?