javer / gentoo-overlay

Gentoo Portage Overlay [javer]
9 stars 11 forks source link

Use virtual/mysql instead of dev-db/mysql #3

Closed Szpadel closed 10 years ago

Szpadel commented 10 years ago

This allow use mariadb instead of mysql

javer commented 10 years ago

Did you check whether HHVM successfully compiled with MariaDB libraries? See #2 for details.

Szpadel commented 10 years ago

Yes, it compiles, but you must do some symlinks: usr/lib64/libmysqlclient_r.so -> mysql/libmysqlclient_r.so to compile /usr/lib64/libmysqlclient.so.18 -> mysql/libmysqlclient.so.18 to run

I think cmake should search for /usr/lib64/mysql/ when looking for mysql

another bug not related with mysql dev-libs/icu-51.2-r1 and dev-libs/oniguruma-5.9.4: you need add in hhvm-2.3.0/hphp/runtime/base/program-functions.h:

define ONIG_ESCAPE_UCHAR_COLLISION

javer commented 10 years ago

Fixed in 480de2e57fc21d81f7f333f7e945cefc9499a337