[Setup] "Install of local libz failed" with Plone 3 on OS X

Finlay Boo chris.brogan at begbies-traynor.com
Tue May 15 10:00:53 UTC 2007

I'm having problems installing Plone 3 using the unified installer having
tried both root and rootless installs as well as using the sudo command on
OS X (10.4.9)

The output in my bash window indicates that it is having issues with the
install.sh file:

zlib installation: local
libjpeg installation: local
./install.sh: line 277: [: too many arguments
./install.sh: line 277: [: too many arguments
./install.sh: line 284: [: too many arguments
./install.sh: line 284: [: too many arguments
./install.sh: line 291: [: too many arguments
./install.sh: line 291: [: too many arguments

Installing Plone 3.0 at /Users/cbrogan/Plone-3.0

Compiling and installing local zlib ...
Checking for gcc...
Building static library libz.a version 1.2.3 with cc.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
  WARNING: snprintf() not found, falling back to sprintf(). zlib
  can build but will be open to possible buffer-overflow security
Checking for return value of sprintf()... No.
  WARNING: apparently sprintf() does not return a value. zlib
  can build but will be open to possible string-format security
Checking for errno.h... No.
Checking for mmap support... No.
./install.sh: line 359: no: command not found
./install.sh: line 360: no: command not found
Install of local libz failed

The referenced lines of code in question are:

277: if [ ! $GCC ] || [ ! -x $GCC ]
284: if [ ! $GPP ] || [ ! -x $GPP ]
291: if [ ! $GNU_MAKE ] || [ ! -x $GNU_MAKE ]
359: $GNU_MAKE test
360:	$GNU_MAKE install

Does anyone have any idea what the problem could be? I've searched to see if
others have had a problem but to no avail.
View this message in context: http://www.nabble.com/%22Install-of-local-libz-failed%22-with-Plone-3-on-OS-X-tf3757541s15482.html#a10620005
Sent from the Installation & Setup mailing list archive at Nabble.com.

More information about the Setup mailing list