Skip to content

mbfl include path fix for fedora #12

Closed

Description

@michalkjp

Hi,

/home/michal/tmp/hiphop/hiphop-php/src/cpp/ext/ext_mb.cpp:28:48: error: mbfl/mbfl_convert.h: Nie ma takiego pliku ani katalogu
/home/michal/tmp/hiphop/hiphop-php/src/cpp/ext/ext_mb.cpp:29:44: error: mbfl/mbfilter.h: Nie ma takiego pliku ani katalogu

diff --git a/src/cpp/ext/ext_mb.cpp b/src/cpp/ext/ext_mb.cpp
index ec04e62..131ae0d 100644
--- a/src/cpp/ext/ext_mb.cpp
+++ b/src/cpp/ext/ext_mb.cpp
@@ -25,8 +25,8 @@
#include <cpp/base/zend/zend_string.h>

extern "C" {
-#include <mbfl/mbfl_convert.h>
-#include <mbfl/mbfilter.h>
+#include <php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h>
+#include <php/ext/mbstring/libmbfl/mbfl/mbfilter.h>
#include <oniguruma.h>
}

Activity

  1. serphen commented on Feb 20, 2010

    @serphen
    Contributor

    Hi,

    Well, this is not really an issue
    What you have to do:
    cd hiphop-php
    git submodule init
    git submodule update

    And there you go!
    Arnaud.

  2. michalkjp commented on Feb 20, 2010

    @michalkjp
    Author

    I get this
    git submodule init
    git submodule update
    Directory 'src/third_party/libmbfl' exist, but is neither empty nor a git repository

    and still have this bug during compilation.

    When I use my fix I can build it, but I get another

    [ 85%] Built target hphp_analysis
    Linking CXX executable hphp
    /usr/bin/ld: cannot find -lmbfl
    collect2: ld returned 1 exit status

  3. added a commit that references this issue on Jun 26, 2019
  4. added a commit that references this issue on Aug 8, 2019
  5. added a commit that references this issue on Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions