Can't get --enable-intl to work with 5.3.8

From: Date: Fri, 04 Nov 2011 20:13:18 +0000
Subject: Can't get --enable-intl to work with 5.3.8
Groups: php.install 
Request: Send a blank email to php-install+get-20118@lists.php.net to get a copy of this message
I'm trying to compile PHP 5.3.8 with the intl extension. This extension requires icu, which requires --with-icu-dir=. I was able to compile icu fine. I've tried version 3.8 to 4.8. But when I tried to compile PHP it complained about UChar already being defined in both libxml2 and icu. After doing a little research it seemed the only way to fix it was compile libxml2 myself with the --with-icu flag. But I ran into some problems getting libxml2 to compile with --prefix. After patching its configure.in I was able to get it to compile. With the newly compiled libxml2 and --with-libxml-dir= pointing to it's location PHP's ./configure fails complaining about libxml2 not working. In the config.log it says something about conftest.c. This file doesn't exist. But there is a conftest.cpp. Here is the config.log: http://pastebin.com/qKezu2Z3 Here are the commands I'm running: http://pastebin.com/dYQwUCm0 And here is the patch file for libxml2: http://pastebin.com/ss0L6ZLw All the versions I'm using are in the second link. What am I doing wrong? Has anyone gotten this to compile successfully? Luke

« previous php.install (#20118) next »