GithubHelp home page GithubHelp logo

Comments (12)

vatson avatar vatson commented on July 2, 2024

I have the same problem and dunno how to resolve it. I guess there should be some way to define the path to correct libxml2 that doesn't redefine UChar

Details:
OS X 10.7.4
libxml2: stable 2.8.0 (brew)
icu4c: stable 49.1.2 (bottled)(brew)

from phpbrew.

c9s avatar c9s commented on July 2, 2024

Hi!

you can specify -- [extra options for configure],

for example,

 phpbrew install 5.4.7 -- --libxml=... --enable-blah --enable--blah

2012/9/28 Vadim Tyukov [email protected]

I have the same problem and dunno how to resolve it. I guess there should
be some way to define the path to correct libxml2 that doesn't redefine
UChar

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-8976438.

Best Regards,

Yo-An Lin

from phpbrew.

vatson avatar vatson commented on July 2, 2024

I tried to run in such way

brew iphpbrew install php-5.4.7 +default +mysql +zip +pcntl +ipc +cli +posix +intl -- / --with-icu-dir=$(brew --prefix icu4c) / --with-libxml-dir=$(brew --prefix libxml2)

But it still doesn't work. Or I should omit --with-blah ?

from phpbrew.

erning avatar erning commented on July 2, 2024

https://github.com/c9s/phpbrew#known-problems

i've tried with --disable-intl and it works.

phpbrew install php-5.4.7 -- --disable-intl

from phpbrew.

c9s avatar c9s commented on July 2, 2024

@erning++ thanks!

from phpbrew.

vatson avatar vatson commented on July 2, 2024

No, no. It's not the best solution. I know that intl is used by symfony2 (http://symfony.com/doc/current/reference/requirements.html)

Homebrew is able to avoid this issue. Right now I'm using its build with enabled intl.

So I guess there should be another way

from phpbrew.

c9s avatar c9s commented on July 2, 2024

Does homebrew's php port file contains patch ? or specific options for that ?

from phpbrew.

erning avatar erning commented on July 2, 2024

success installed php-5.4.7 with intl enabled by the following cmd after checking the homebrew-php formula

phpbrew -v install php-5.4.7 +mysql +pdo -- --enable-intl --with-icu-dir=/usr/local/Cellar/icu4c/49.1.2

from phpbrew.

vatson avatar vatson commented on July 2, 2024

Awesome πŸ‘ I need to check it myself. I'll report the results

2012/9/29 Zhang Erning [email protected]

success installed php-5.4.7 with intl enabled by the following cmd after
checking the homebrew-php formulahttps://github.com/josegonzalez/homebrew-php/blob/master/Formula/php54.rb

phpbrew -v install php-5.4.7 +mysql +pdo -- --enable-intl --with-icu-dir=/usr/local/Cellar/icu4c/49.1.2

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-9005837.

from phpbrew.

c9s avatar c9s commented on July 2, 2024

Awesome! so the --enable-intl option requires --with-icu-dir !

from phpbrew.

c9s avatar c9s commented on July 2, 2024

I think we can add some auto-detection to intl variant.

from phpbrew.

c9s avatar c9s commented on July 2, 2024

I have documented the requirement in 6eb6a7c, will add another detection for the intl variant.

from phpbrew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.