We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

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 AC_CONFIG_MACRO_DIR([m4])' to configure.in and glibtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. glibtoolize: Consider adding-I m4' to ACLOCAL_AMFLAGS 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


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


glad to hear!