BastiaanOlij / bcompiler

Copy of bcompiler with small fixes, origin: http://pecl.php.net/package/bcompiler
4 stars 11 forks source link

Installing in OS X #1

Open IngwiePhoenix opened 11 years ago

IngwiePhoenix commented 11 years ago

Hey! I have just tried to install it in OS X and while I am makeing it, it's giving me this:

 cc -I. -I/Users/Ingwie/Work/bcompiler/bcompiler -DPHP_ATOM_INC -I/Users/Ingwie/Work/bcompiler/bcompiler/include -I/Users/Ingwie/Work/bcompiler/bcompiler/main -I/Users/Ingwie/Work/bcompiler/bcompiler -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 -g -O2 -c /Users/Ingwie/Work/bcompiler/bcompiler/bcompiler_zend.c  -fno-common -DPIC -o .libs/bcompiler_zend.o
/Users/Ingwie/Work/bcompiler/bcompiler/bcompiler_zend.c:958:66: error: no member named 'info' in 'struct _zend_class_entry'
                apc_serialize_zend_function_entry((zend_function_entry *)&zce->info.internal.builtin_functions[i] TSRMLS_CC);
                                                                          ~~~  ^
1 error generated.
make: *** [bcompiler_zend.lo] Error 1

Smells like a simple code error, but I am no C-dude to fix it myself. o.o;

Regards, Ingwie

BastiaanOlij commented 11 years ago

Heya,

I never got it to work properly either, just set it up to see if I could get there. I tried to get some feedback from the people that originally wrote bcompiler but with no luck.. Sounds to me they've changed the interface to PHP even more as this is a compilation error against the zend framework itself. What version of PHP are you compiling against?

On 15 June 2013 05:04, Ingwie Phoenix notifications@github.com wrote:

Hey! I have just tried to install it in OS X and while I am makeing it, it's giving me this:

cc -I. -I/Users/Ingwie/Work/bcompiler/bcompiler -DPHP_ATOM_INC -I/Users/Ingwie/Work/bcompiler/bcompiler/include -I/Users/Ingwie/Work/bcompiler/bcompiler/main -I/Users/Ingwie/Work/bcompiler/bcompiler -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 -g -O2 -c /Users/Ingwie/Work/bcompiler/bcompiler/bcompiler_zend.c -fno-common -DPIC -o .libs/bcompiler_zend.o /Users/Ingwie/Work/bcompiler/bcompiler/bcompiler_zend.c:958:66: error: no member named 'info' in 'struct _zend_class_entry' apc_serialize_zend_function_entry((zend_functionentry )&zce->info.internal.builtin_functions[i] TSRMLS_CC);


1 error generated.
make: *_\* [bcompiler_zend.lo] Error 1

Smells like a simple code error, but I am no C-dude to fix it myself. o.o;

Regards, Ingwie

—
Reply to this email directly or view it on GitHubhttps://github.com/BastiaanOlij/bcompiler/issues/1
.

Kindest regards,

Bastiaan Olij