-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
МасOS instalation error | make: *** [phalcon.lo] Error 1 #942
Comments
I'm getting the same errors when trying to compile on Ubuntu 11.10 and Ubuntu 12.10. Has there been any update on this issue? I've tried compiling as per a fix described in issue #558 and everything seemed to compile fine but PHP started crashing on an existing page that's not using Phalcon. When compiling Phalcon against Amazon EC2 Linux I'm able to use ./install no problem and PHP no longer crashes on that page. Any idea what might be going on here? I'm wondering if this issue can be due to the version of libtool? On Ubuntu I'm using GNU libtool v2.4.2 while the Amazon EC2 instance is running v2.2.10. Here is the error I'm getting: [/opt/cphalcon-1.2.1/build]$ sudo ./install |
It looks a bit overcomplicated, at least for Linux: phpize && aclocal && $LIBTOOLIZE_BIN --force && autoheader && autoconf && ./configure --enable-phalcon Why not just phpize && ./configure --enable-phalcon ❓ |
@pjuckiewicz There is a PPA for Ubuntu: https://launchpad.net/~sjinks/+archive/phalcon |
Some user provided that patch, I'm still don't see the need to use libtool to compile phalcon |
OK, if |
Sure thing, it seems phpize shows a warning when working with newer libtools so some users might think they need to get rid of it by doing some config regeneration |
Fixed in 1.3.0 |
config.status: creating config.h
config.status: executing libtool commands
/bin/sh /Users/slider/cphalcon/build/64bits/libtool --mode=compile gcc -I. -I/Users/slider/cphalcon/build/64bits -DPHP_ATOM_INC -I/Users/slider/cphalcon/build/64bits/include -I/Users/slider/cphalcon/build/64bits/main -I/Users/slider/cphalcon/build/64bits -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-delete-null-pointer-checks -finline-functions -fomit-frame-pointer -fno-builtin-memcmp -fvisibility=hidden -c /Users/slider/cphalcon/build/64bits/phalcon.c -o phalcon.lo
/Users/slider/cphalcon/build/64bits/libtool: line 862: X--mode=compile: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1029: *** Warning: inferring the mode of operation is deprecated.: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1030: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: Xgcc: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I.: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/Users/slider/cphalcon/build/64bits: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-DPHP_ATOM_INC: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/Users/slider/cphalcon/build/64bits/include: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/Users/slider/cphalcon/build/64bits/main: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/Users/slider/cphalcon/build/64bits: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/usr/include/php: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/usr/include/php/main: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/usr/include/php/TSRM: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/usr/include/php/Zend: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/usr/include/php/ext: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-I/usr/include/php/ext/date/lib: No such file or directory
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-DHAVE_CONFIG_H: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-O2: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-fno-delete-null-pointer-checks: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-finline-functions: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-fomit-frame-pointer: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-fno-builtin-memcmp: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-fvisibility=hidden: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1173: X-c: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1226: Xphalcon.lo: command not found
/Users/slider/cphalcon/build/64bits/libtool: line 1231: libtool: compile: cannot determine name of library object from `': command not found
make: *** [phalcon.lo] Error 1
The text was updated successfully, but these errors were encountered: