Re: more woes with php 5.2.6
On Fri, Aug 1, 2008 at 2:59 AM, Rainer Müller [EMAIL PROTECTED] wrote: Tabitha McNerney wrote: So when I go to build like this: $ port -v install php5 +macosx+apache2+mysql5+postgresql81 I receive this error: *Error*: *Requested variants do not match original selection*. Please perform 'port clean php5' or specify the force option. Error: Status 1 encountered during processing. When you have done something like 'port configure portname +foo +bar', you can't run 'port build portname +baz' because the variants did not match what you selected before (the original selection). Of course this was just an example and is also valid for all other phases. Rainer and friends, What I find interesting is that I have never used, to the best of my knowledge, port configure portname +foo +bar, etc. I only do an initial port fetch and then I edited the php5 Portfile to make my additions and then I ran port install +foo +bar ... so this is a wee bit confusing unless even the fetch phase should be conducted *after* I've my the additions to the php5 Portfile? It seems one can learn something really new every day about MacPorts :-) Thanks, T.M. You either need to give the same set of variants or start from the beginning with 'port clean portname'. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
Tabitha McNerney wrote: What I find interesting is that I have never used, to the best of my knowledge, port configure portname +foo +bar, etc. I only do an initial port fetch and then I edited the php5 Portfile to make my additions and then I ran port install +foo +bar ... so this is a wee bit confusing unless even the fetch phase should be conducted *after* I've my the additions to the php5 Portfile? Once you realize that variants could change the files to be downloaded, it should be clear. 'port fetch +foo' could download additional files which would be left out otherwise. So you have to select the variants already at the fetch phase and keep it through the other phases. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Sat, Aug 2, 2008 at 3:47 AM, Rainer Müller [EMAIL PROTECTED] wrote: Tabitha McNerney wrote: What I find interesting is that I have never used, to the best of my knowledge, port configure portname +foo +bar, etc. I only do an initial port fetch and then I edited the php5 Portfile to make my additions and then I ran port install +foo +bar ... so this is a wee bit confusing unless even the fetch phase should be conducted *after* I've my the additions to the php5 Portfile? Once you realize that variants could change the files to be downloaded, it should be clear. 'port fetch +foo' could download additional files which would be left out otherwise. So you have to select the variants already at the fetch phase and keep it through the other phases. Rainer, Harry, Ryan and friends, Thank you for clarifying this. I hadn't even realized that in the fetch phase one can specify variants. MacPorts is incredible flexible! This is really helpful! Thanks, T.M. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
At 00:23 -0500 1/8/08, Ryan Schmidt wrote: Hi Mark, On Jul 31, 2008, at 18:30, Mark Hattam wrote: Hi Ryan Tried today to build it all from scratch ... I moved /opt to /opt_old Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6 but via upgrading it from 1.4) Did a self-update Installed MySQL5 +server ... no problem sudo port install MySQL5 +server Installed Apache2 ... no problem sudo port install Apache2 But when I got to sudo port install php5 +apache2+macosx+mysql5 ... it started off fine. I noticed that it put in autoconf 2.62 and Perl 5.8 automatically, whereas I'd had to manually put in autoconf following your advice. Probably because I had recently added autoconf as a dependency of gd2; see: http://trac.macports.org/ticket/16119 However it's just failed at this point (which is about 12 hours after I started all this today) --- Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/ --- Verifying checksum(s) for gd2 --- Extracting gd2 --- Applying patches to gd2 --- Configuring gd2 Error: Target org.macports.configure returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35 autoreconf returned error 1 Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not found in library autoreconf: aclocal failed with exit status: 1 I believe I have got this fixed now. See: http://trac.macports.org/ticket/16148 So wait 30 minutes, then sudo port sync and sudo port clean --work gd2 and try again. Yes, it's now put in automake and libtool before trying gd2 ... and it's installed php5 ... YEAH !!! Copied my old db's and htdocs and .conf's etc etc etc sudo cp -Rfp /opt_old/local/var/db/mysql5/* /opt/local/var/db/mysql5/ sudo cp -Rfp /opt_old/local/apache2/htdocs/* /opt/local/apache2/htdocs/ etc and it looks like it's all up and running ... even after shutdown restarts of the laptop. The only thing I don't now see in port installed is db44 ... that was there as well as db46 ... but may have been some legacy item that's been superceded, but remained installed and active after the (many) port sync and port upgrade outdated sessions. Mark ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
Speaking of PHP5 (5.2.6), I added a postgresql81 variant to my Portfile (on an Intel Xserve) like this (since I still run postgresql81 not postgresql82 and the php5 Portfile by default only has a variant for postgresql82): variant *postgresql81* { depends_lib-append \ port:postgresql81 configure.args-append \ --with-pgsql=${prefix}/lib/postgresql81/bin \ --with-pdo-pgsql=${prefix}/lib/postgresql81/bin } I also add a build option for ldap and sasl in this section of the Portfile: platform macosx { configure.args-append \ --with-*ldap*=/usr \ --with-*ldap-**sasl*=/opt/local \ --with-kerberos=/usr \ --with-iodbc=/usr } So when I go to build like this: $ port -v install php5 +macosx+apache2+mysql5+postgresql81 I receive this error: *Error*: *Requested variants do not match original selection*. Please perform 'port clean php5' or specify the force option. Error: Status 1 encountered during processing. Indeed, if I rebuild with the force option like this: $ port -v -f install php5 +macosx+apache2+mysql5+postgresql81 Then everything builds and installs to expectation, no errors. I was wondering why the initial attempt (without the force) gives me the Error message? Just what is the original selection and why would the variants not match? Thanks, T.M. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
Tabitha McNerney wrote: So when I go to build like this: $ port -v install php5 +macosx+apache2+mysql5+postgresql81 I receive this error: *Error*: *Requested variants do not match original selection*. Please perform 'port clean php5' or specify the force option. Error: Status 1 encountered during processing. When you have done something like 'port configure portname +foo +bar', you can't run 'port build portname +baz' because the variants did not match what you selected before (the original selection). Of course this was just an example and is also valid for all other phases. You either need to give the same set of variants or start from the beginning with 'port clean portname'. Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Aug 1, 2008, at 05:28, Mark Hattam wrote: I believe I have got this fixed now. See: http://trac.macports.org/ticket/16148 So wait 30 minutes, then sudo port sync and sudo port clean -- work gd2 and try again. Yes, it's now put in automake and libtool before trying gd2 ... and it's installed php5 ... YEAH !!! Copied my old db's and htdocs and .conf's etc etc etc sudo cp -Rfp /opt_old/local/var/db/mysql5/* /opt/local/var/db/mysql5/ sudo cp -Rfp /opt_old/local/apache2/htdocs/* /opt/local/apache2/ htdocs/ etc and it looks like it's all up and running ... even after shutdown restarts of the laptop. Fantastic! The only thing I don't now see in port installed is db44 ... that was there as well as db46 ... but may have been some legacy item that's been superceded, but remained installed and active after the (many) port sync and port upgrade outdated sessions. Yes, for example subversion used to depend on db44 and now depends on db46. db44 would not however have been uninstalled for you. You would have had to remove it yourself if you wanted it gone using sudo port uninstall db44. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Aug 1, 2008, at 08:50, Mark Hattam wrote: oh and just to finish up, my Powerbook:~ markhattam$ ls -la /opt/local/lib/ now includes ... -rwxr-xr-x 2 root admin 1319504 Aug 1 09:36 libxml2.2.6.32.dylib lrwxr-xr-x 1 root admin 20 Aug 1 09:36 libxml2.2.dylib - libxml2.2.6.32.dylib lrwxr-xr-x 1 root admin 20 Aug 1 09:36 libxml2.dylib - libxml2.2.6.32.dylib -rwxr-xr-x 2 root admin 859 Aug 1 09:36 libxml2.la rather than the seemingly immutable lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la I'm glad, though I wish I knew what caused the problem. Clearly something in your old MacPorts installation was amiss, but we may never know what. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Aug 1, 2008, at 08:45, Mark Hattam wrote: The only thing I don't now see in port installed is db44 ... that was there as well as db46 ... but may have been some legacy item that's been superceded, but remained installed and active after the (many) port sync and port upgrade outdated sessions. Yes, for example subversion used to depend on db44 and now depends on db46. db44 would not however have been uninstalled for you. You would have had to remove it yourself if you wanted it gone using sudo port uninstall db44. db46 got installed before I got as far as subversion ... Powerbook:~ markhattam$ sudo port dependents db46 apr-util depends on db46 subversion depends on db46 and chasing back another step Powerbook:~ markhattam$ sudo port dependents apr-util apache2 depends on apr-util serf depends on apr-util subversion depends on apr-util And I started off by building Apache2. Yes, the same upgrade happened to apr-util. But how would I tell if db44 (or some other package) is no longer needed though it remains installed and active? port uninstall db44 If db44 is still required, MacPorts will tell you so and will not uninstall db44. Or you could also use port dependents db44 If MacPorts says db44 has no dependents then you can uninstall it. Lastly, this whole rebuild took nearly a day (including sleep time between the error late last night and the resumption after breakfast this morning. I couldn't have done this on dial-up while on holiday due to the constant but sporadic need for an Internet connection. You could have saved the distfiles which were in /opt/local/var/ macports/distfiles and moved them over to your new clean MacPorts installation. If the distfiles were corrupted, MacPorts would notice and tell you; that's why portfiles have distfile checksums. If I want to install say apache2, why can't it run through and download all the required packages at the outset, then go through and install them one by one in the order it requires? If it takes two hours to configure and build libxml (for instance) before needing and therefore downloading the next package that it needs (gd2 for instance), I can't leave a dial-up connection ($$$) active that long, and most UK ISP's cut you off at two hours anyway. Or is it assumed that all users are on a broadband or other always-on connection? In the US, unlimited always-on broadband connections are the norm. I haven't heard of anyone here using dial-up in years, but if anyone did, local phone calls are free in the US. I understand it's not so in other parts of the world. Perhaps this part of MacPorts was developed by US residents. Anyway, yes, it could be nice to pre-fetch all distfiles of all dependencies before starting to build. Even better would be to spawn a new thread so that distfiles could be downloaded while other ports are already being built. I don't see a ticket for this but maybe I'm searching wrong. I know it has come up on the list multiple times. Someone may even have posted a script to at least do the pre-fetching part. Patches to MacPorts base to implement this behavior would be welcomed. But thank you for fixing the various issues that befell me, and by the look of it other users with similar problems installing other packages. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
Hi Ryan Tried today to build it all from scratch ... I moved /opt to /opt_old Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6 but via upgrading it from 1.4) Did a self-update Installed MySQL5 +server ... no problem sudo port install MySQL5 +server Installed Apache2 ... no problem sudo port install Apache2 But when I got to sudo port install php5 +apache2+macosx+mysql5 ... it started off fine. I noticed that it put in autoconf 2.62 and Perl 5.8 automatically, whereas I'd had to manually put in autoconf following your advice. However it's just failed at this point (which is about 12 hours after I started all this today) --- Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/ --- Verifying checksum(s) for gd2 --- Extracting gd2 --- Applying patches to gd2 --- Configuring gd2 Error: Target org.macports.configure returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35 autoreconf returned error 1 Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not found in library autoreconf: aclocal failed with exit status: 1 Error: The following dependencies failed to build: gd2 libmcrypt libxml2 libtool automake libxslt mhash tiff Error: Status 1 encountered during processing. Mark ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
Hi Mark, On Jul 31, 2008, at 18:30, Mark Hattam wrote: Hi Ryan Tried today to build it all from scratch ... I moved /opt to /opt_old Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6 but via upgrading it from 1.4) Did a self-update Installed MySQL5 +server ... no problem sudo port install MySQL5 +server Installed Apache2 ... no problem sudo port install Apache2 But when I got to sudo port install php5 +apache2+macosx+mysql5 ... it started off fine. I noticed that it put in autoconf 2.62 and Perl 5.8 automatically, whereas I'd had to manually put in autoconf following your advice. Probably because I had recently added autoconf as a dependency of gd2; see: http://trac.macports.org/ticket/16119 However it's just failed at this point (which is about 12 hours after I started all this today) --- Attempting to fetch gd-2.0.35.tar.bz2 from http:// www.libgd.org/releases/ --- Verifying checksum(s) for gd2 --- Extracting gd2 --- Applying patches to gd2 --- Configuring gd2 Error: Target org.macports.configure returned: shell command cd / opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph ics_gd2/work/gd-2.0.35 autoreconf returned error 1 Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not found in library autoreconf: aclocal failed with exit status: 1 I believe I have got this fixed now. See: http://trac.macports.org/ticket/16148 So wait 30 minutes, then sudo port sync and sudo port clean --work gd2 and try again. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
At 19:39 -0500 26/7/08, Ryan Schmidt wrote: On Jul 26, 2008, at 04:34, Mark Hattam wrote: What got put into /opt/local/man? There should be no destroot violation in this port. What does port contents libxml2 say? Your system seems to be building libxml2 very differently from mine. And I don't yet know why. Do you have anything in /usr/local or /sw which might be interfering? Have you set the DYLD_LIBRARY_PATH or DYLD_FALLBACK_LIBRARY_PATH variables to some value? (When you do echo $DYLD_LIBRARY_PATH or echo $DYLD_FALLBACK_LIBRARY_PATH is it non-empty?) Try uninstalling and rebuilding, this time capturing the debug info and the config.log and sending those to me. Do: sudo port -f uninstall libxml2 @2.6.32_1 sudo port -d destroot libxml2 21 | tee ~/Desktop/libxml2.txt cp `port dir libxml2`/work/libxml2-2.6.32/config.log ~/Desktop sudo port install libxml2 Then send me config.log and libxml2.txt from your Desktop. I can compare these with what my system produces and hopefully spot the problem. Looking at /opt/local/man, the items with a Jun26 02:04 timestamp seem to be drwxr-xr-x199 root admin 6766 Jul 26 02:04 man1 drwxr-xr-x 1894 root admin 64396 Jul 26 02:04 man3 drwxr-xr-x 12 root admin408 Jun 28 02:04 man5 man1 seems to have these -r--r--r-- 2 root admin625 Jun 28 02:04 svn.1.gz -r--r--r-- 2 root admin645 Jun 28 02:04 svnadmin.1.gz -r--r--r-- 2 root admin648 Jun 28 02:04 svndumpfilter.1.gz -r--r--r-- 2 root admin642 Jun 28 02:04 svnlook.1.gz -r--r--r-- 2 root admin644 Jun 28 02:04 svnsync.1.gz -r--r--r-- 2 root admin652 Jun 28 02:04 svnversion.1.gz svn should not be installing things into /opt/local/man either. Both of these ports install manpages into /opt/local/share/man on my system like they should. On your system is /opt/local/man a symlink pointing to /opt/local/share/man Or is /opt/local/share/man a symlink pointing to /opt/local/man Or are both of these regular directories? the -d destroot log and the config.log I'll send to you personally rather than bog down the list. Since 2.6.32_1, libxml2 runs autoreconf to regenerate the configure script. I see on your system this was done with autoconf 2.59 but on mine it was done with autoconf 2.62. I don't even know how that's possible; after deactivating the autoconf port libxml2 won't even begin running autoconf, complaining about items in ${prefix}/share/aclocal, and if I move those aside, then it still says error: Autoconf version 2.60 or higher is required. So either you have not installed the autoconf port or you have installed an older version of the autoconf port or your autoconf port is deactivated. I would expect the autoconf port to be installed on your system, since libxml2 declares a build dependency on libtool which has a build dependency on automake which has a build dependency on autoconf. Do you have the autoconf port installed? If not, install it (sudo port install autoconf) Is the autoconf port active? If not, activate it (sudo port activate autoconf) Is the autoconf port at version 2.62? If not, upgrade it (sudo port sync sudo port upgrade autoconf) and also upgrade any other ports shown by port outdated Then sudo port clean --work libxml2 and sudo port install libxml2 and see if we're better. If so, then adding a build dependency on autoconf to the libxml2 port and incrementing its revision will be the solution. http://trac.macports.org/ticket/15750 /opt/local/man is indeed a link to /opt/local/share/man Powerbook:~ markhattam$ cd /opt/local/ Powerbook:/opt/local markhattam$ ls -la total 24 drwxr-xr-x15 root admin510 Dec 17 2007 . drwxr-xr-x 3 root wheel102 Apr 5 2007 .. -rw-rw-r-- 1 markhatt admin 6148 Jul 25 22:34 .DS_Store drwxrwxr-x14 root admin476 Jul 22 19:31 apache2 drwxr-xr-x 203 root admin 6902 Jul 26 22:38 bin drwxr-xr-x 9 root admin306 Jul 22 19:08 etc drwxr-xr-x74 root admin 2516 Jul 26 22:38 include drwxr-xr-x 300 root admin 10200 Jul 26 22:38 lib drwxr-xr-x 7 root admin238 Apr 26 02:43 libexec lrwxr-xr-x 1 root admin 9 Dec 17 2007 man - share/man drwxr-xr-x 7 root admin238 Jun 28 01:37 sbin drwxr-xr-x20 root admin680 Jul 26 22:38 share drwxr-xr-x 2 root admin 68 Aug 16 2007 src drwxr-xr-x 9 root admin306 Jun 28 01:37 var drwxr-xr-x 2 root admin 68 Aug 16 2007 www /share/man looks to be a normal directory drwxr-xr-x 26 root admin 884 May 23 01:04 man I have never explicitly installed autoconf ... autoconf does not appear in the listing when I do a sudo port installed I do have a libtool libtool @1.5.26_0 (active) I do not have automake in the port installed listing. I installed MacPorts from the .pkg when it was version 1.4 ... and sudo port -d selfupdate has taken care
Re: more woes with php 5.2.6
At 23:00 -0500 25/7/08, Ryan Schmidt wrote: On Jul 25, 2008, at 20:09, Mark Hattam wrote: At 17:05 -0500 25/7/08, Ryan Schmidt wrote: On Jul 25, 2008, at 16:40, Mark Hattam wrote: At 17:30 -0500 24/7/08, Ryan Schmidt wrote: On Jul 24, 2008, at 16:30, Mark Hattam wrote: On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx+mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Try sudo port deactivate libxml2 @2.6.32_1 sudo port activate libxml2 @2.6.32_1 Does that bring back the /opt/local/lib/libxml2.2.dylib symlink? modem-3637:~ $ sudo port deactivate libxml2 @2.6.32_1 --- Deactivating libxml2 2.6.32_1 modem-3637:~ $ sudo port activate libxml2 @2.6.32_1 --- Activating libxml2 2.6.32_1 modem-3637:~ $ cd /opt/local/lib/ modem-3637:/opt/local/lib $ ls -la lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la Doesn't seem to have (re-)added a link here. And trying to install php5 still results in the same error. On my system I see: $ ls -l *xml* -rwxr-xr-x 2 rschmidt admin 1179072 Jul 4 00:15 libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.2.dylib - libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.dylib - libxml2.2.6.32.dylib -rwxr-xr-x 2 rschmidt admin 838 Jul 4 00:15 libxml2.la -rw-r--r-- 2 rschmidt admin 214 Jul 4 00:15 xml2Conf.sh So there are a number of curious differences. 1. Why do your files not have the .dylib extension? 2. Why are your symlinks pointing to libxml2.2 instead of to libxml2.2.6.32? 3. Why are your libxml2.2 and libxml2.la untouched since July 4, implying they are not a part of the libxml2 port? I'd also like to know what version of Xcode you have. Go to /Developer/Applications and get info on Xcode. If the version is less than 2.4.1, please upgrade to 2.4.1 or 2.5. Then please do: sudo port -f uninstall libxml2 @2.6.32_1 Then look in /opt/local/lib and see if libxml2.2 and libxml2.la remain. If so, delete them manually. In fact, after you uninstall libxml2, make sure all of the following are absent, and if they're present, delete them: /opt/local/bin/xml2-config /opt/local/bin/xmlcatalog /opt/local/bin/xmllint /opt/local/include/libxml2/* /opt/local/lib/libxml2* /opt/local/lib/pkgconfig/libxml-2.0.pc /opt/local/lib/xml2Conf.sh /opt/local/share/aclocal/libxml.m4 /opt/local/share/doc/libxml2-2.6.32/* /opt/local/share/gtk-doc/html/libxml2/* /opt/local/share/man/man1/xml2-config* /opt/local/share/man/man1/xmlcatalog* /opt/local/share/man/man1/xmllint* /opt/local/share/man/man3/libxml* Then reinstall libxml2: sudo port install libxml2 Let us know if that fixes things. Get Info on XCode says it is Xcode version 2.5 ... I re-installed 2.5 on the 25 May when the php5 port was updated but wouldn't upgrade properly. Doing that did get php5 working, and it continued to work right up til the shutdown/reboot I did last weekend. Doing your suggestions modem-1327: $ sudo port -f uninstall libxml2 @2.6.32_1 --- Unable to uninstall libxml2
Re: more woes with php 5.2.6
At 11:14 -0400 26/7/08, Daniel J. Luke wrote: On Jul 26, 2008, at 5:34 AM, Mark Hattam wrote: The install modem-612:/usr $ sudo port install libxml2 --- Installing libxml2 2.6.32_1 --- Activating libxml2 2.6.32_1 --- Cleaning libxml2 again puts the same things into /opt/local/lib/ did you do a port clean --all first? You may have an archive of the 'bad' build that is just being repeatedly installed. -- Daniel J. Luke Powerbook:~ $ sudo port clean --all Can't map the URL 'file://.' to a port description file (Could not find Portfile in /Users/markh). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /Users/markh That doesn't seem to work at all ... anyway the installation says it's cleaning. Mark ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
Mark Hattam wrote: Powerbook:~ $ sudo port clean --all Can't map the URL 'file://.' to a port description file (Could not find Portfile in /Users/markh). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /Users/markh You should run $ sudo port clean --all libxml2 Rainer ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
At 20:12 +0200 26/7/08, Rainer Müller wrote: Mark Hattam wrote: Powerbook:~ $ sudo port clean --all Can't map the URL 'file://.' to a port description file (Could not find Portfile in /Users/markh). Please verify that the directory and portfile syntax are correct. To use the current port, you must be in a port's directory. (you might also see this message if a pseudo-port such as outdated or installed expands to no ports). Error: Unable to open port: Could not find Portfile in /Users/markh You should run $ sudo port clean --all libxml2 Rainer OK ... doing this ... modem-3364:~ $ sudo port clean --all libxml2 --- Cleaning libxml2 modem-3364:~ $ sudo port -f uninstall libxml2 @2.6.32_1 --- Unable to uninstall libxml2 2.6.32_1, the following ports depend on it: ---libxslt ---libxslt Warning: Uninstall forced. Proceeding despite dependencies. --- Deactivating libxml2 2.6.32_1 --- Uninstalling libxml2 2.6.32_1 modem-3364:~ markhattam$ sudo port install libxml2 --- Fetching libxml2 --- Attempting to fetch libxml2-2.6.32.tar.gz from ftp://fr.rpmfind.net/pub/libxml/ --- Verifying checksum(s) for libxml2 --- Extracting libxml2 --- Configuring libxml2 --- Building libxml2 with target all --- Staging libxml2 into destroot Warning: violation by /opt/local/man Warning: libxml2 violates the layout of the ports-filesystems! Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases! --- Installing libxml2 2.6.32_1 --- Activating libxml2 2.6.32_1 --- Cleaning libxml2 modem-3364:~ markhattam$ cd /opt/local/lib modem-3364:/opt/local/lib markhattam$ ls -la lrwxr-xr-x 1 root admin9 Jul 26 22:38 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 26 22:38 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 26 22:38 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 26 22:38 libxml2.la which still perpetuates the problem ... Mark ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Jul 26, 2008, at 04:34, Mark Hattam wrote: What got put into /opt/local/man? There should be no destroot violation in this port. What does port contents libxml2 say? Your system seems to be building libxml2 very differently from mine. And I don't yet know why. Do you have anything in /usr/local or /sw which might be interfering? Have you set the DYLD_LIBRARY_PATH or DYLD_FALLBACK_LIBRARY_PATH variables to some value? (When you do echo $DYLD_LIBRARY_PATH or echo $DYLD_FALLBACK_LIBRARY_PATH is it non-empty?) Try uninstalling and rebuilding, this time capturing the debug info and the config.log and sending those to me. Do: sudo port -f uninstall libxml2 @2.6.32_1 sudo port -d destroot libxml2 21 | tee ~/Desktop/libxml2.txt cp `port dir libxml2`/work/libxml2-2.6.32/config.log ~/Desktop sudo port install libxml2 Then send me config.log and libxml2.txt from your Desktop. I can compare these with what my system produces and hopefully spot the problem. Looking at /opt/local/man, the items with a Jun26 02:04 timestamp seem to be drwxr-xr-x199 root admin 6766 Jul 26 02:04 man1 drwxr-xr-x 1894 root admin 64396 Jul 26 02:04 man3 drwxr-xr-x 12 root admin408 Jun 28 02:04 man5 man1 seems to have these -r--r--r-- 2 root admin625 Jun 28 02:04 svn.1.gz -r--r--r-- 2 root admin645 Jun 28 02:04 svnadmin.1.gz -r--r--r-- 2 root admin648 Jun 28 02:04 svndumpfilter. 1.gz -r--r--r-- 2 root admin642 Jun 28 02:04 svnlook.1.gz -r--r--r-- 2 root admin644 Jun 28 02:04 svnsync.1.gz -r--r--r-- 2 root admin652 Jun 28 02:04 svnversion.1.gz svn should not be installing things into /opt/local/man either. Both of these ports install manpages into /opt/local/share/man on my system like they should. On your system is /opt/local/man a symlink pointing to /opt/local/ share/man Or is /opt/local/share/man a symlink pointing to /opt/local/man Or are both of these regular directories? the -d destroot log and the config.log I'll send to you personally rather than bog down the list. Since 2.6.32_1, libxml2 runs autoreconf to regenerate the configure script. I see on your system this was done with autoconf 2.59 but on mine it was done with autoconf 2.62. I don't even know how that's possible; after deactivating the autoconf port libxml2 won't even begin running autoconf, complaining about items in ${prefix}/share/ aclocal, and if I move those aside, then it still says error: Autoconf version 2.60 or higher is required. So either you have not installed the autoconf port or you have installed an older version of the autoconf port or your autoconf port is deactivated. I would expect the autoconf port to be installed on your system, since libxml2 declares a build dependency on libtool which has a build dependency on automake which has a build dependency on autoconf. Do you have the autoconf port installed? If not, install it (sudo port install autoconf) Is the autoconf port active? If not, activate it (sudo port activate autoconf) Is the autoconf port at version 2.62? If not, upgrade it (sudo port sync sudo port upgrade autoconf) and also upgrade any other ports shown by port outdated Then sudo port clean --work libxml2 and sudo port install libxml2 and see if we're better. If so, then adding a build dependency on autoconf to the libxml2 port and incrementing its revision will be the solution. http://trac.macports.org/ticket/15750 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
At 17:30 -0500 24/7/08, Ryan Schmidt wrote: On Jul 24, 2008, at 16:30, Mark Hattam wrote: On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx+mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Try sudo port deactivate libxml2 @2.6.32_1 sudo port activate libxml2 @2.6.32_1 Does that bring back the /opt/local/lib/libxml2.2.dylib symlink? modem-3637:~ $ sudo port deactivate libxml2 @2.6.32_1 --- Deactivating libxml2 2.6.32_1 modem-3637:~ $ sudo port activate libxml2 @2.6.32_1 --- Activating libxml2 2.6.32_1 modem-3637:~ $ cd /opt/local/lib/ modem-3637:/opt/local/lib $ ls -la lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la Doesn't seem to have (re-)added a link here. And trying to install php5 still results in the same error. Mark ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Jul 25, 2008, at 16:40, Mark Hattam wrote: At 17:30 -0500 24/7/08, Ryan Schmidt wrote: On Jul 24, 2008, at 16:30, Mark Hattam wrote: On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx +mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_w ww_php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Try sudo port deactivate libxml2 @2.6.32_1 sudo port activate libxml2 @2.6.32_1 Does that bring back the /opt/local/lib/libxml2.2.dylib symlink? modem-3637:~ $ sudo port deactivate libxml2 @2.6.32_1 --- Deactivating libxml2 2.6.32_1 modem-3637:~ $ sudo port activate libxml2 @2.6.32_1 --- Activating libxml2 2.6.32_1 modem-3637:~ $ cd /opt/local/lib/ modem-3637:/opt/local/lib $ ls -la lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la Doesn't seem to have (re-)added a link here. And trying to install php5 still results in the same error. On my system I see: $ ls -l *xml* -rwxr-xr-x 2 rschmidt admin 1179072 Jul 4 00:15 libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.2.dylib - libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.dylib - libxml2.2.6.32.dylib -rwxr-xr-x 2 rschmidt admin 838 Jul 4 00:15 libxml2.la -rw-r--r-- 2 rschmidt admin 214 Jul 4 00:15 xml2Conf.sh So there are a number of curious differences. 1. Why do your files not have the .dylib extension? 2. Why are your symlinks pointing to libxml2.2 instead of to libxml2.2.6.32? 3. Why are your libxml2.2 and libxml2.la untouched since July 4, implying they are not a part of the libxml2 port? I'd also like to know what version of Xcode you have. Go to / Developer/Applications and get info on Xcode. If the version is less than 2.4.1, please upgrade to 2.4.1 or 2.5. Then please do: sudo port -f uninstall libxml2 @2.6.32_1 Then look in /opt/local/lib and see if libxml2.2 and libxml2.la remain. If so, delete them manually. In fact, after you uninstall libxml2, make sure all of the following are absent, and if they're present, delete them: /opt/local/bin/xml2-config /opt/local/bin/xmlcatalog /opt/local/bin/xmllint /opt/local/include/libxml2/* /opt/local/lib/libxml2* /opt/local/lib/pkgconfig/libxml-2.0.pc /opt/local/lib/xml2Conf.sh /opt/local/share/aclocal/libxml.m4 /opt/local/share/doc/libxml2-2.6.32/* /opt/local/share/gtk-doc/html/libxml2/* /opt/local/share/man/man1/xml2-config* /opt/local/share/man/man1/xmlcatalog* /opt/local/share/man/man1/xmllint* /opt/local/share/man/man3/libxml* Then reinstall libxml2: sudo port install libxml2 Let us know if that fixes things. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
At 17:05 -0500 25/7/08, Ryan Schmidt wrote: On Jul 25, 2008, at 16:40, Mark Hattam wrote: At 17:30 -0500 24/7/08, Ryan Schmidt wrote: On Jul 24, 2008, at 16:30, Mark Hattam wrote: On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx+mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Try sudo port deactivate libxml2 @2.6.32_1 sudo port activate libxml2 @2.6.32_1 Does that bring back the /opt/local/lib/libxml2.2.dylib symlink? modem-3637:~ $ sudo port deactivate libxml2 @2.6.32_1 --- Deactivating libxml2 2.6.32_1 modem-3637:~ $ sudo port activate libxml2 @2.6.32_1 --- Activating libxml2 2.6.32_1 modem-3637:~ $ cd /opt/local/lib/ modem-3637:/opt/local/lib $ ls -la lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la Doesn't seem to have (re-)added a link here. And trying to install php5 still results in the same error. On my system I see: $ ls -l *xml* -rwxr-xr-x 2 rschmidt admin 1179072 Jul 4 00:15 libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.2.dylib - libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.dylib - libxml2.2.6.32.dylib -rwxr-xr-x 2 rschmidt admin 838 Jul 4 00:15 libxml2.la -rw-r--r-- 2 rschmidt admin 214 Jul 4 00:15 xml2Conf.sh So there are a number of curious differences. 1. Why do your files not have the .dylib extension? 2. Why are your symlinks pointing to libxml2.2 instead of to libxml2.2.6.32? 3. Why are your libxml2.2 and libxml2.la untouched since July 4, implying they are not a part of the libxml2 port? I'd also like to know what version of Xcode you have. Go to /Developer/Applications and get info on Xcode. If the version is less than 2.4.1, please upgrade to 2.4.1 or 2.5. Then please do: sudo port -f uninstall libxml2 @2.6.32_1 Then look in /opt/local/lib and see if libxml2.2 and libxml2.la remain. If so, delete them manually. In fact, after you uninstall libxml2, make sure all of the following are absent, and if they're present, delete them: /opt/local/bin/xml2-config /opt/local/bin/xmlcatalog /opt/local/bin/xmllint /opt/local/include/libxml2/* /opt/local/lib/libxml2* /opt/local/lib/pkgconfig/libxml-2.0.pc /opt/local/lib/xml2Conf.sh /opt/local/share/aclocal/libxml.m4 /opt/local/share/doc/libxml2-2.6.32/* /opt/local/share/gtk-doc/html/libxml2/* /opt/local/share/man/man1/xml2-config* /opt/local/share/man/man1/xmlcatalog* /opt/local/share/man/man1/xmllint* /opt/local/share/man/man3/libxml* Then reinstall libxml2: sudo port install libxml2 Let us know if that fixes things. Get Info on XCode says it is Xcode version 2.5 ... I re-installed 2.5 on the 25 May when the php5 port was updated but wouldn't upgrade properly. Doing that did get php5 working, and it continued to work right up til the shutdown/reboot I did last weekend. Doing your suggestions modem-1327: $ sudo port -f uninstall libxml2 @2.6.32_1 --- Unable to uninstall libxml2 2.6.32_1, the following ports depend on it: ---libxslt ---libxslt
Re: more woes with php 5.2.6
On Jul 25, 2008, at 20:09, Mark Hattam wrote: At 17:05 -0500 25/7/08, Ryan Schmidt wrote: On Jul 25, 2008, at 16:40, Mark Hattam wrote: At 17:30 -0500 24/7/08, Ryan Schmidt wrote: On Jul 24, 2008, at 16:30, Mark Hattam wrote: On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx+mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports _www_php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Try sudo port deactivate libxml2 @2.6.32_1 sudo port activate libxml2 @2.6.32_1 Does that bring back the /opt/local/lib/libxml2.2.dylib symlink? modem-3637:~ $ sudo port deactivate libxml2 @2.6.32_1 --- Deactivating libxml2 2.6.32_1 modem-3637:~ $ sudo port activate libxml2 @2.6.32_1 --- Activating libxml2 2.6.32_1 modem-3637:~ $ cd /opt/local/lib/ modem-3637:/opt/local/lib $ ls -la lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2 - libxml2.2 -rwxr-xr-x 2 root admin 1319504 Jul 4 01:53 libxml2.2 lrwxr-xr-x 1 root admin9 Jul 25 22:33 libxml2.2.6.32 - libxml2.2 -rwxr-xr-x 2 root admin 835 Jul 4 01:53 libxml2.la Doesn't seem to have (re-)added a link here. And trying to install php5 still results in the same error. On my system I see: $ ls -l *xml* -rwxr-xr-x 2 rschmidt admin 1179072 Jul 4 00:15 libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.2.dylib - libxml2.2.6.32.dylib lrwxr-xr-x 1 rschmidt admin 20 Jul 4 00:16 libxml2.dylib - libxml2.2.6.32.dylib -rwxr-xr-x 2 rschmidt admin 838 Jul 4 00:15 libxml2.la -rw-r--r-- 2 rschmidt admin 214 Jul 4 00:15 xml2Conf.sh So there are a number of curious differences. 1. Why do your files not have the .dylib extension? 2. Why are your symlinks pointing to libxml2.2 instead of to libxml2.2.6.32? 3. Why are your libxml2.2 and libxml2.la untouched since July 4, implying they are not a part of the libxml2 port? I'd also like to know what version of Xcode you have. Go to /Developer/Applications and get info on Xcode. If the version is less than 2.4.1, please upgrade to 2.4.1 or 2.5. Then please do: sudo port -f uninstall libxml2 @2.6.32_1 Then look in /opt/local/lib and see if libxml2.2 and libxml2.la remain. If so, delete them manually. In fact, after you uninstall libxml2, make sure all of the following are absent, and if they're present, delete them: /opt/local/bin/xml2-config /opt/local/bin/xmlcatalog /opt/local/bin/xmllint /opt/local/include/libxml2/* /opt/local/lib/libxml2* /opt/local/lib/pkgconfig/libxml-2.0.pc /opt/local/lib/xml2Conf.sh /opt/local/share/aclocal/libxml.m4 /opt/local/share/doc/libxml2-2.6.32/* /opt/local/share/gtk-doc/html/libxml2/* /opt/local/share/man/man1/xml2-config* /opt/local/share/man/man1/xmlcatalog* /opt/local/share/man/man1/xmllint* /opt/local/share/man/man3/libxml* Then reinstall libxml2: sudo port install libxml2 Let us know if that fixes things. Get Info on XCode says it is Xcode version 2.5 ... I re-installed 2.5 on the 25 May when the php5 port was updated but wouldn't upgrade properly. Doing that did get php5 working, and it continued to work right up til the shutdown/reboot I did last weekend. Doing your
Re: more woes with php 5.2.6
On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx+mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Mark ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Jul 24, 2008, at 16:30, Mark Hattam wrote: On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx +mysql5+sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www _php5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 Yes, that's pretty much what I thought ... how has it gone? I usually only do reboots on the PowerBook after Apple updates. But on Saturday I shut it down and restarted it in the evening. On restart I found Apache2 wouldn't run, which is a rather big blow. Welcome to Darwin! modem-645:~ $ sudo port installed libxml2 The following ports are currently installed: libxml2 @2.6.31_0 libxml2 @2.6.32_0 libxml2 @2.6.32_1 (active) Try sudo port deactivate libxml2 @2.6.32_1 sudo port activate libxml2 @2.6.32_1 Does that bring back the /opt/local/lib/libxml2.2.dylib symlink? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: more woes with php 5.2.6
On Jul 22, 2008, at 14:08, Mark Hattam wrote: After a shutdown restart, the Powerbook (10.4.11) wouldn't run up Apache/php5 ... so tried uninstalling and re-installing ... Apache by itself seems OK, but php5 won't install. Obviously it had previously, when 5.2.6_1 first worked, but now it wont. I'm up to date on port sync (selfupdate). Powerbook:~ $ sudo port install php5 @5.2.6_1+apache2+macosx+mysql5 +sqlite --- Building php5 with target all Error: Target org.macports.build returned: shell command cd /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_www_p hp5/work/php-5.2.6 make all returned error 2 [snip] /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: warning can't open dynamic library: /opt/local/lib/libxml2.2.dylib referenced from: /opt/local/lib/libexslt.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSetup collect2: ld returned 1 exit status make: *** [libs/libphp5.bundle] Error 1 Error: Status 1 encountered during processing. It seems you do not have /opt/local/lib/libxml2.2.dylib I wonder why not. On my system, that is a symlink to libxml2.2.6.32.dylib and it's provided by the libxml2 port. What version of the libxml2 port do you have installed? Try port installed libxml2 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users