Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Phalcon install failed on Mac 10.6.8

Hello, The Phalcon install fails with the following error: (configure: error: cannot run /bin/sh ./config.sub) The full output is below. Is anyone aware of what the issue may be?

~/cphalcon/build (master) $ sudo ./install Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 glibtoolize: putting auxiliary files in `.'. glibtoolize: linking file `./ltmain.sh' glibtoolize: Consider adding `ACCONFIGMACRODIR([m4])' to configure.in and glibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. glibtoolize: Consider adding `-I m4' to ACLOCALAMFLAGS in Makefile.am. checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes configure: error: cannot run /bin/sh ./config.sub



480
Accepted
answer

Found the problem, I used Macports to install libtool,autoconf,and automake. The Phalcon install then worked.



2.0k

glad to hear!