Re: svn: /phpdoc/doc-base/trunk/ configure.php

From: Date: Wed, 12 May 2010 14:56:25 +0000
Subject: Re: svn: /phpdoc/doc-base/trunk/ configure.php
References: 1  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-699@lists.php.net to get a copy of this message
On 6 May 2010 18:17, Philip Olson <philip@php.net> wrote: > philip                                   Thu, 06 May 2010 17:17:45 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=299087 > > Log: > Added a libxml 2.7.4+ requirement, with brief explanation, and includes a > --disable-libxml-check option > > Changed paths: >    U   phpdoc/doc-base/trunk/configure.php > > Modified: phpdoc/doc-base/trunk/configure.php > =================================================================== > --- phpdoc/doc-base/trunk/configure.php 2010-05-06 16:59:59 UTC (rev 299086) > +++ phpdoc/doc-base/trunk/configure.php 2010-05-06 17:17:45 UTC (rev 299087) > @@ -56,6 +56,7 @@ >   --enable-howto            Configure the phpdoc howto, not the phpdoc docs > [{$acd['HOWTO']}] >   --disable-segfault-error  LIBXML may segfault with broken XML, use this if it does > [{$acd['SEGFAULT_ERROR']}] >   --disable-version-files   Do not merge the extension specific version.xml files > +  --disable-libxml-check    Disable the libxml 2.7.4+ requirement check >   --with-php=PATH           Path to php CLI executable [detect] >   --with-lang=LANG          Language to build [{$acd['LANG']}] >   --with-partial=ID         Root ID to build [{$acd['PARTIAL']}] > @@ -266,6 +267,7 @@ >     'DETAILED_ERRORMSG' => 'no', >     'SEGFAULT_ERROR' => 'yes', >     'VERSION_FILES'  => 'yes', > +    'LIBXML_CHECK' => 'yes', >     'HOWTO' => 'no', >     'USE_BROKEN_TRANSLATION_FILENAME' => 'yes', >     'COPYRIGHT_YEAR' => date('Y'), > @@ -366,6 +368,10 @@ >             $ac['VERSION_FILES'] = $v; >             break; > > +        case 'libxml-check': > +            $ac['LIBXML_CHECK'] = $v; > +            break; > + >         case 'howto': >             $ac['HOWTO']  =$v; >             break; > @@ -391,6 +397,15 @@ >     } >  } // }}} > > +// Reject 'old' LibXML installations, due to LibXML feature #502960 {{{ > +if (version_compare(LIBXML_DOTTED_VERSION, '2.7.4', '<') && > $ac['LIBXML_CHECK'] === 'yes') { > +       echo "LibXML 2.7.4+ added a 'feature' to break things, typically > namespace related, and unfortunately we must require it.\n"; > +       echo "For a few related details, see: > http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg777646.html\n"; > +       echo "Please recompile PHP with a LibXML version 2..7.4 or greater. Version > detected: " . LIBXML_DOTTED_VERSION . "\n"; > +       echo "Or, pass in --disable-libxml-check if doing so feels safe.\n\n"; > +       exit(100); > +} // }}} > + >  checking('for source directory'); >  if (!file_exists($ac['srcdir']) || !is_dir($ac['srcdir']) || > !is_writable($ac['srcdir'])) { >     checkerror("Source directory doesn't exist or can't be written to."); > > > -- > PHP Documentation Commits Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > So, with the Win32 PHP snapshots being stalled, I assume we have to wait for another release or RC to be able to build the documentation locally? -- ----- Richard Quadling "Standing on the shoulders of some very clever giants!" EE : http://www.experts-exchange.com/M_248814.html EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 ZOPA : http://uk.zopa.com/member/RQuadling

« previous php.internals.win (#699) next »