Talk:Zarafa Installation On QNAP
Dear Max Böhm,
Thanks for keeping the QNAP community up to date with Zarafa. Some of us rely on it daily. Please keep it coming.
I have an up to date QNAP 509 Pro with 4.2.1 firmware. My Zarafa installation was rendered useless many months ago due to the PHP updates. So yesterday I came across your post and decided to update ONLY the PHP headers. So, I scrolled down your article to the section Hint for Zarafa QPKG users with Firmware 4.2.x, and started following your instructions.
Immediately I run into problems with multiline grep.... so I installed a full grep with 'ipkg install grep'. However, I cannot proceed when I get here:
- LDFLAGS is set to make sure that system libs are linked first (otherwise configure may run into an error)
./configure --prefix=/opt/tmp/zarafa/php5 --with-config-file-path=/etc/config/php.ini \
--with-config-file-scan-dir=/opt/etc/php.d --enable-ftp --enable-sockets --enable-gd-native-ttf \
--enable-mbstring --with-libxml-dir=/usr/local/zarafa/include/libxml2 \
--enable-shared --enable-exif --with-pic=yes --enable-calendar --enable-bcmath \
LDFLAGS='-L/lib -L/usr/lib -L/usr/local/zarafa/lib'
this is the output from putty:
checking for grep that handles long lines and -e... /opt/bin/grep
checking for egrep... /opt/bin/grep -E
checking for a sed that does not truncate output... /bin/sed expr: syntax error
./configure: line 3502: test: =: unary operator expected expr: syntax error
./configure: line 3508: test: =: unary operator expected expr: syntax error
./configure: line 3515: test: =: unary operator expected expr: syntax error
:
: Repeated 3508 & 3515 sytax errors
:
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
Config.log includes the following
## Core tests. ##
## ----------- ##
configure:3283: checking for grep that handles long lines and -e
configure:3341: result: /opt/bin/grep
configure:3346: checking for egrep
configure:3408: result: /opt/bin/grep -E
configure:3413: checking for a sed that does not truncate output
configure:3467: result: /bin/sed
configure:3556: error: cannot find install-sh, (etc same as above)
1. Can I ignore these ' test: =: unary operator expected' errors?
2. How can I proceed if 'cannot find install-sh, install.sh, or shtool'?
Thank you
Sincerely
Conandrum