Talk:Zarafa Installation On QNAP: Difference between revisions

From QNAPedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 16: Line 16:
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px">[/share/MD0_DATA/homes/admin/php-5.5.29] # ./configure --prefix=/opt/tmp/zarafa/php5 --with-config-file-path=/etc/config/php.ini --with-config-file-scan-dir=/opt/etc/php.d&nbsp; --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'<br/>checking for grep that handles long lines and -e... /opt/bin/grep<br/>checking for egrep... /opt/bin/grep -E<br/>checking for a sed that does not truncate output... /bin/sed expr: syntax error<br/>./configure: line 3502: test: =: unary operator expected expr: syntax error<br/>./configure: line 3508: test: =: unary operator expected expr: syntax error<br/>./configure: line 3515: test: =: unary operator expected expr: syntax error<br/>:<br/>: Repeated 3508 & 3515 sytax errors<br/>:<br/>configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."<br/></div>
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px">[/share/MD0_DATA/homes/admin/php-5.5.29] # ./configure --prefix=/opt/tmp/zarafa/php5 --with-config-file-path=/etc/config/php.ini --with-config-file-scan-dir=/opt/etc/php.d&nbsp; --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'<br/>checking for grep that handles long lines and -e... /opt/bin/grep<br/>checking for egrep... /opt/bin/grep -E<br/>checking for a sed that does not truncate output... /bin/sed expr: syntax error<br/>./configure: line 3502: test: =: unary operator expected expr: syntax error<br/>./configure: line 3508: test: =: unary operator expected expr: syntax error<br/>./configure: line 3515: test: =: unary operator expected expr: syntax error<br/>:<br/>: Repeated 3508 & 3515 sytax errors<br/>:<br/>configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."<br/></div>
Config.log includes the following
Config.log includes the following
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px">## ----------- ##<br/>## Core tests. ##<br/>## ----------- ##<br/>configure:3283: checking for grep that handles long lines and -e<br/>configure:3341: result: /opt/bin/grep<br/>configure:3346: checking for egrep<br/>configure:3408: result: /opt/bin/grep -E<br/>configure:3413: checking for a sed that does not truncate output<br/>configure:3467: result: /bin/sed<br/>configure:3556: error: not find install-sh,<br/></div>
<div style="background:#eee;  border:1px solid #ccc;  padding:5px 10px">## ----------- ##<br/>## Core tests. ##<br/>## ----------- ##<br/>configure:3283: checking for grep that handles long lines and -e<br/>configure:3341: result: /opt/bin/grep<br/>configure:3346: checking for egrep<br/>configure:3408: result: /opt/bin/grep -E<br/>configure:3413: checking for a sed that does not truncate output<br/>configure:3467: result: /bin/sed<br/>configure:3556: error: cannot find install-sh, (etc same as above)<br/></div>
1. Can I ignore these ' test: =: unary operator expected' errors?
1. Can I ignore these ' test: =: unary operator expected' errors?



Latest revision as of 16:42, 18 July 2016

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:



  1. 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:

[/share/MD0_DATA/homes/admin/php-5.5.29] # ./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'
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