- Notifications
You must be signed in to change notification settings - Fork80
Open
Labels
Description
I'm trying ton install php + maxmind-db-reader in a custom path:--prefix=/home/geoip/usr
- Install php-7.1.0 (success)
- Install libmaxminddb-1.2.0 (success)
- Install maxmind-db-reader-php-1.1.2 (error)
/home/geoip/source/php/maxmind-db-reader-php-1.1.2/MaxMind-DB-Reader-php-master/ext/maxminddb.c:23:23: fatal error: maxminddb.h: No such file or directory #include <maxminddb.h>
Here are the step by step in a fresh debian 8.7.1 installation
http://pastebin.com/0W2QCehx
When i try to installlibmaxmind andmaxmind-db-reader-php without--prefix=/home/geoip/usr works ok. But I want everything related to this installation to be located in /home/geoip/usr.
I also tried:
./configure \--includedir=/home/geoip/usr/include \--with-maxminddb \--with-php-config=/home/geoip/usr/bin/php-configSame error. My guess I'm not setting path correctly or ./configure is not using--prefix or--includedir correctly.