<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Six months ago I did a darwinports installation of PHP5 +MySQL5 +Apache2 on my iBook, which, after some troubles, worked well. Now I'm trying to do the same on a MacBook with Intel Core 2 Duo running under MacOS 10.4.8 and I'm getting nowhere.<DIV>I've followed the InstallingMacPorts wiki. I've copied and executed all the Terminal commands in the Quickstart. The environment variables appear to be correct, apart from maybe the PATH variable, which does not start with MacPorts path but looks like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>PATH=/opt/local/lib/mysql5/bin/mysql:/opt/local/bin/mysql5:/usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/local/bin:/opt/local/lib/mysql5/bin/mysqladmin:/opt/local/lib/mysql5/bin/mysql</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Then I downloaded the DarwinPorts1.3.1-10.4.dmg and used it to do the ports installation. This went well and when I executed a 'sudo ports selfupdate', I was told that MacPorts was completely up-to-date.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">Then I tried following the UsingMacPortsQuickStart, but when I issued the command 'sudo port -v install php5 +apache2 +mysql5' I soon ran into problems:</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Configuring extensions</DIV><DIV>checking whether to enable LIBXML support... yes</DIV><DIV>checking libxml2 install dir... /opt/local</DIV><DIV>checking for xml2-config path... /opt/local/bin/xml2-config</DIV><DIV>checking whether libxml build works... no</DIV><DIV>configure: error: build test failed. Please check the config.log for details.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Warning: the following items did not execute (for php5): com.apple.activate com.apple.configure com.apple.build com.apple.destroot com.apple.install</DIV><DIV>Error: Status 1 encountered during processing.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I googled on problems with libxml, but I seem to be the only one who installation fails on this. Perhaps foolishly, I tried to correct the problem by installing libxml, but to no avail:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>sudo port install libxml2</DIV><DIV>Password:</DIV><DIV>---> Fetching libxml2</DIV><DIV>---> Attempting to fetch libxml2-2.6.27.tar.gz from <A href="http://ftp.gnome.org/pub/gnome/sources/libxml2/2.6/">http://ftp.gnome.org/pub/gnome/sources/libxml2/2.6/</A></DIV><DIV>---> Verifying checksum(s) for libxml2</DIV><DIV>---> Extracting libxml2</DIV><DIV>---> Configuring libxml2</DIV><DIV>---> Building libxml2 with target all</DIV><DIV>---> Staging libxml2 into destroot</DIV><DIV>---> Installing libxml2 2.6.27_0</DIV><DIV>---> Activating libxml2 2.6.27_0</DIV><DIV>Error: Target com.apple.activate returned: Image error: Another version of libxml2 (2.6.23_0) is already active.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I have no idea what to do next, any help would be greatly appreciated.</DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Elise van Looij</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></DIV></DIV></BODY></HTML>