more woes with php 5.2.6

Mark Hattam mark at dxradio.demon.co.uk
Sun Jul 27 16:56:20 PDT 2008


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 2>&1 | 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-x    199 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      admin    408 Jun 28 02:04 man5
>>
>>man1 seems to have these
>>-r--r--r--     2 root      admin    625 Jun 28 02:04 svn.1.gz
>>-r--r--r--     2 root      admin    645 Jun 28 02:04 svnadmin.1.gz
>>-r--r--r--     2 root      admin    648 Jun 28 02:04 svndumpfilter.1.gz
>>-r--r--r--     2 root      admin    642 Jun 28 02:04 svnlook.1.gz
>>-r--r--r--     2 root      admin    644 Jun 28 02:04 svnsync.1.gz
>>-r--r--r--     2 root      admin    652 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-x    15 root      admin    510 Dec 17  2007 .
drwxr-xr-x     3 root      wheel    102 Apr  5  2007 ..
-rw-rw-r--     1 markhatt  admin   6148 Jul 25 22:34 .DS_Store
drwxrwxr-x    14 root      admin    476 Jul 22 19:31 apache2
drwxr-xr-x   203 root      admin   6902 Jul 26 22:38 bin
drwxr-xr-x     9 root      admin    306 Jul 22 19:08 etc
drwxr-xr-x    74 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      admin    238 Apr 26 02:43 libexec
lrwxr-xr-x     1 root      admin      9 Dec 17  2007 man -> share/man
drwxr-xr-x     7 root      admin    238 Jun 28 01:37 sbin
drwxr-xr-x    20 root      admin    680 Jul 26 22:38 share
drwxr-xr-x     2 root      admin     68 Aug 16  2007 src
drwxr-xr-x     9 root      admin    306 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 of it since, and it's now at 1.6


So, OK let's install "autoconf" ...

Powerbook: $ sudo port install autoconf
--->  Fetching perl5.8
--->  Attempting to fetch perl-5.8.8.tar.bz2 from http://www.cpan.org/src/5.0/
--->  Verifying checksum(s) for perl5.8
--->  Extracting perl5.8
--->  Applying patches to perl5.8
--->  Configuring perl5.8
--->  Building perl5.8 with target all
--->  Staging perl5.8 into destroot
--->  Installing perl5.8 5.8.8_3+darwin_8
--->  Activating perl5.8 5.8.8_3+darwin_8
--->  Cleaning perl5.8
--->  Fetching p5-locale-gettext
--->  Attempting to fetch gettext-1.05.tar.gz from 
http://ftp.ucr.ac.cr/Unix/CPAN/modules/by-module/Locale
--->  Attempting to fetch gettext-1.05.tar.gz from 
ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Locale
--->  Attempting to fetch gettext-1.05.tar.gz from 
ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale
--->  Verifying checksum(s) for p5-locale-gettext
--->  Extracting p5-locale-gettext
--->  Configuring p5-locale-gettext
--->  Building p5-locale-gettext with target all
--->  Staging p5-locale-gettext into destroot
--->  Installing p5-locale-gettext 1.05_0
--->  Activating p5-locale-gettext 1.05_0
--->  Cleaning p5-locale-gettext
--->  Fetching help2man
--->  Attempting to fetch help2man-1.36.4.tar.gz from 
http://ftp.gnu.org/gnu/help2man
--->  Verifying checksum(s) for help2man
--->  Extracting help2man
--->  Applying patches to help2man
--->  Configuring help2man
--->  Building help2man with target all
--->  Staging help2man into destroot
--->  Installing help2man 1.36.4_1
--->  Activating help2man 1.36.4_1
--->  Cleaning help2man
--->  Fetching m4
--->  Attempting to fetch m4-1.4.11.tar.bz2 from http://ftp.gnu.org/gnu/m4
--->  Verifying checksum(s) for m4
--->  Extracting m4
--->  Configuring m4
--->  Building m4 with target all
--->  Staging m4 into destroot
--->  Installing m4 1.4.11_0
--->  Activating m4 1.4.11_0
--->  Cleaning m4
--->  Fetching autoconf
--->  Attempting to fetch autoconf-2.62.tar.bz2 from 
http://ftp.gnu.org/gnu/autoconf
--->  Verifying checksum(s) for autoconf
--->  Extracting autoconf
--->  Configuring autoconf
--->  Building autoconf with target all
--->  Staging autoconf into destroot
--->  Installing autoconf 2.62_0
--->  Activating autoconf 2.62_0
--->  Cleaning autoconf


hmmm .... didn't quite expect all of that ...

but at least I now have
   autoconf @2.62_0 (active)

though still no "automake" ...

anyway ... carrying on

Powerbook: $ sudo port clean --work libxml2
--->  Cleaning libxml2

Powerbook: $ sudo port install libxml2
Skipping org.macports.activate (libxml2 ) since this port is already active
--->  Cleaning libxml2


OK, let's force an uninstall ...

Powerbook: $ 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

Powerbook: $ sudo port clean --work libxml2
--->  Cleaning libxml2

Powerbook: $ sudo port install libxml2
--->  Fetching libxml2
--->  Verifying checksum(s) for libxml2
--->  Extracting libxml2
--->  Configuring libxml2
--->  Building libxml2 with target all
--->  Staging libxml2 into destroot
--->  Installing libxml2 2.6.32_1
--->  Activating libxml2 2.6.32_1
--->  Cleaning libxml2


Wow ... no errors ... but /opt/local/lib now has these

lrwxr-xr-x     1 root      admin        9 Jul 28 00:50 libxml2 -> libxml2.2
-rwxr-xr-x     2 root      admin  1319504 Jul 28 00:50 libxml2.2
lrwxr-xr-x     1 root      admin        9 Jul 28 00:50 libxml2.2.6.32 
-> libxml2.2
-rwxr-xr-x     2 root      admin      835 Jul 28 00:50 libxml2.la

which again still looks unfortunately the same as when we started all this ...

>>  modem-3637:/opt/local/lib $ ls -la
>>  lrwxr-xr-x     1 root      admin        9 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      admin        9 Jul 25 22:33 
>>libxml2.2.6.32 -> libxml2.2
>>  -rwxr-xr-x     2 root      admin      835 Jul  4 01:53 libxml2.la

and unsurprisingly installing php5 still errors out with the same error.


Mark


More information about the macports-users mailing list