pbougie / mac-dev-env

Guide for compiling a Web Dev Env on macOS
https://mac-dev-env.patrickbougie.com
99 stars 21 forks source link

Update php version and add --with-libedit flag to enable interactive she... #4

Closed bylatt closed 9 years ago

bylatt commented 9 years ago

...ll

pbougie commented 9 years ago

What is libedit for? Has the new version been tested? For some reason I've never been able to compile PHP 5.6.

bylatt commented 9 years ago

Libedit is alternative to readline on os x. It's enable PHP to have interactive shell (with command php -a). I've tested on my macbook pro 13 and it's work.

screen shot 2015-01-27 at 12 07 33 pm

pbougie commented 9 years ago

PHP 5.6 is not compiling on my system. I keep getting an error related to PostgreSQL. Did you use this guide to install PostgreSQL or use another method?

Error when compiling PHP 5.6.x with PostgreSQL support:

Undefined symbols for architecture x86_64:
  "_lo_lseek64", referenced from:
      _zif_pg_lo_seek in pgsql.o
  "_lo_tell64", referenced from:
      _zif_pg_lo_tell in pgsql.o
  "_lo_truncate64", referenced from:
      _zif_pg_lo_truncate in pgsql.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libs/libphp5.bundle] Error 1

Investigating PostgreSQL next.