-
-
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 X 10.8.1 + php 5.3.16 #47
Comments
Hi, you need to change your default c compiler from clang to gcc to correctly compile Phalcon, |
OSX 10.7.4 Ok, and How? |
As of Xcode 4.2 in Lion, Apple no longer ships its previous version of gcc-4.2, which was in Xcode 4.1 and earlier versions. It now only ships llvm-gcc (gcc front-end with llvm code backend) and clang (clang front-end with llvm backend). I think compiling Phalcon in the following way could work: git clone git://github.com/phalcon/cphalcon.git |
This is a shared folder on Dropbox, https://www.dropbox.com/sh/ncjy0toqp7drjo0/Z68Cn2L5Zg that have both active versions compiled on my osx lion, i'm not sure if this will work on your machines, you can copy any of them to your extensions directory |
I try with with which I have compiled and i have this message :[05-Sep-2012 22:44:21 UTC] PHP Fatal error: Uncaught exception 'Phalcon\Mvc\Micro\Exception' with message 'The Not-Found handler is not callable or is not defined' in /Users/nice/git/kenjikobe/index.php:121 thrown in /Users/nice/git/kenjikobe/index.php on line 121Your extension don't work on my computer... |
I assume that you're running this: https://github.com/kenjikobe/cellar/blob/master/index.php As the exception says: that application doesn't have a "not-found" handler: http://docs.phalconphp.com/en/0.5.0/reference/micro.html#not-found-handler |
ok, [06-Sep-2012 21:34:35 UTC] PHP Fatal error: Class 'Phalcon_Controller_Front' not found in /Users/nice/git/phalcon.test.local/public/index.php on line 5 |
hi mika, the tutuorial you need to follow is the 0.5.0 one: http://docs.phalconphp.com/en/0.5.0/reference/tutorial.html |
pfiouuuuu, YES! It Work! I have my 'hello world' ! It's a little bit tricky. May be you should add the line : 'export CC="gcc"' in the install command lines in the frontpage on github! Regards |
When trying to run the phalcon framework, getting this error in apache logs:
dyld: lazy symbol binding failed: Symbol not found: _phalcon_call_method_normal
Referenced from: /usr/local/Cellar/php53/5.3.16/lib/php/extensions/no-debug-non-zts-20090626/phalcon.so
Expected in: flat namespace
Any ideas?
The text was updated successfully, but these errors were encountered: