We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Can't compile latets phalcon version

Hi there,

I'am trying to install phalcon on my Ubuntu 12.04 LTS + Plesk 11.5 server but it stops during compilation: config.status: executing libtool commands /bin/bash /root/cphalcon/build/32bits/libtool --mode=compile gcc -I. -I/root/cphalcon/build/32bits -DPHP_ATOM_INC -I/root/cphalcon/build/32bits/include -I/root/cphalcon/build/32bits/main -I/root/cphalcon/build/32bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /root/cphalcon/build/32bits/phalcon.c -o phalcon.lo libtool: compile: gcc -I. -I/root/cphalcon/build/32bits -DPHP_ATOM_INC -I/root/cphalcon/build/32bits/include -I/root/cphalcon/build/32bits/main -I/root/cphalcon/build/32bits -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPHALCON_RELEASE -DHAVE_CONFIG_H -march=native -mtune=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -c /root/cphalcon/build/32bits/phalcon.c -fPIC -DPIC -o .libs/phalcon.o

any ideas?

After doing an manual installation i get this:

root:~/cphalcon/build/32bits# export CFLAGS="-O2 --fvisibility=hidden" root:~/cphalcon/build/32bits# ./configure --enable-phalcon checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking whether the C compiler works... no configure: error: in /root/cphalcon/build/32bits': configure: error: C compiler cannot create executables Seeconfig.log' for more details



43.9k

and whot does `config.log' says ?