Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to locate maxminddb.h in custom installation #47

Open
Labels
@leo020588

Description

@leo020588

I'm trying ton install php + maxmind-db-reader in a custom path:
--prefix=/home/geoip/usr

  1. Install php-7.1.0 (success)
  2. Install libmaxminddb-1.2.0 (success)
  3. 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-config

Same error. My guess I'm not setting path correctly or ./configure is not using--prefix or--includedir correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp