Re: [DOC-CVS] svn: /phpdoc/doc-base/trunk/ configure.php

[email protected] (Richard Quadling)
Newsgroups php.internals.win
Message-ID <[email protected]>
On 6 May 2010 18:17, Philip Olson <[email protected]> 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/[email protected]/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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.