I'm needing mailparse installed on my xampp.
I've done pecl install mailparse
but I get an error that mbstring is not installed, but it is.. Or at least that is what phpinfo() says.
So I'm doing /Applications/XAMPP/xamppfiles: sudo ./bin/pecl install --nodeps mailparse
BUT.. when the make starts it fails with a big load of errors... How can I install mailparse on a xampp installation? Or maybe I could compile it? but not sure how, not in osx...
Any ideas?
Here you can see the complete trace done with sudo ./bin/pecl install --nodeps mailparse > dump
FIXED! if someone is interested on the solution, you must have installed devel-package of XAMPP, and run the pecl script having in mind that must be comipled for i386 arch.
sudo su -
export CFLAGS="-arch i386"
/Applications/XAMPP/xamppfiles/bin/pecl install --nodeps mailparse