Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update composer.json to require bcmath #6

Closed
wants to merge 1 commit into from

Conversation

nrbrook
Copy link

@nrbrook nrbrook commented Nov 12, 2013

I tried running GeoIP2 on a box without the BC Math PHP extension and got the error:

Fatal error: Call to undefined function MaxMind\Db\Reader\bcadd() in /home/vagrant/Akkroo/publish/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php on line 252

The library should depend on ext-bcmath to ensure users do not run in to this problem.

I tried running GeoIP2 on a box without the BC Math PHP extension and got the error:

Fatal error: Call to undefined function MaxMind\Db\Reader\bcadd() in /home/vagrant/Akkroo/publish/vendor/maxmind-db/reader/src/MaxMind/Db/Reader/Decoder.php on line 252

The library should depend on ext-bcmath to ensure users do not run in to this problem.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 530a207 on nrbrook:patch-1 into 8bf8442 on maxmind:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 530a207 on nrbrook:patch-1 into 8bf8442 on maxmind:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 530a207 on nrbrook:patch-1 into 8bf8442 on maxmind:master.

@oschwald
Copy link
Member

Thanks for the report. This should be done in the MaxMind DB repo as GeoIP2 only requires bcmath indirectly.

@nrbrook
Copy link
Author

nrbrook commented Nov 12, 2013

Thanks, I created nrbrook/MaxMind-DB-Reader-php@fbdcbde on the MaxMind DB repo

@nrbrook nrbrook closed this Nov 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants