Re: Debug version of PECL package?
| From: | Benjamin Franke | Date: | Mon, 07 Sep 2009 12:55:34 +0000 |
| Subject: | Re: Debug version of PECL package? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6621@lists.php.net to get a copy of this message | ||
Hi again!
I'm getting closer and closer xD
But I don't get php_xsl.dll builded!
I'm doing the following:
cscript /nologo /e:jscript configure.js --enable-debug --enable-embed --with-xml --with-xsl
--with-extra-includes=C:\php529\libs\zlib\include;C:\php529\libs\iconv\include;C:\php529\libs\libxml\include;C:\php529\libs\libxslt\include;C:\php529\bindlib_w32
--with-extra-libs=C:\php529\libs\zlib\lib;C:\php529\libs\iconv\lib;C:\php529\libs\libxml\lib;C:\php529\libs\libxslt\lib
And php shows this:
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
Checking for cl.exe ... <in default path>
Detected MS compiler version 14
Detected 32-bit compiler
Checking for link.exe ... C:\Program Files\Microsoft Visual Studio 8\VC\BIN
Checking for nmake.exe ... <in default path>
Checking for lib.exe ... <in default path>
Checking for bison.exe ... <in default path>
Checking for flex.exe ... <in default path>
Checking for re2c.exe ... <in default path>
Checking for zip.exe ... <in default path>
Checking for lemon.exe ... <not found>
Checking for mc.exe ... C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\bin
Checking for mt.exe ... C:\Program Files\Microsoft Visual Studio 8\VC\BIN
Checking for arpa\nameser.h ... ..\bindlib_w32
Checking for library resolv.lib ... <not found>
Build dir: Debug_TS
PHP Core: php5ts_debug.dll and php5ts_debug.lib
Checking for wspiapi.h ... <in default path>
Enabling IPv6 support
Checking for NewAPIs.h ... <in default path>
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Enabling SAPI sapi\embed
Enabling extension ext\bcmath
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ... <in default path>
Enabling extension ext\ctype
Enabling extension ext\date
Enabling extension ext\filter
Enabling extension ext\ftp
Checking for library libjpeg.lib ... <not found>
WARNING: gd not enabled; libraries and headers not found
Enabling extension ext\hash
Checking for iconv.h ... <not found>
Checking for iconv.h ... C:\php529\libs\iconv\include
Enabling extension ext\iconv
Enabling extension ext\json
Enabling extension ext\odbc
Enabling extension ext\pcre
Enabling extension ext\reflection
Enabling extension ext\session
Enabling extension ext\spl
Checking for timelib_config.h ... ext/date/lib
Enabling extension ext\standard
Enabling extension ext\tokenizer
Enabling extension ext\zlib
Checking for library zlib.lib ... <in extra libs path>
Checking for zlib.h ... <not found>
Checking for zlib.h ... C:\php529\libs\zlib\include
Checking for library libxml2_a_dll.lib;libxml2_a.lib ... <in extra libs path>
Checking for library iconv_a.lib;iconv.lib ... <in extra libs path>
Checking for libxml/parser.h ... <not found>
Checking for libxml/parser.h ... C:\php529\libs\libxml\include
Enabling extension ext\libxml
Enabling extension ext\dom
Enabling extension ext\simplexml
Enabling extension ext\wddx
Checking for timelib_config.h ... ext/date/lib
Enabling extension ext\xml
Enabling extension ext\xmlreader
Checking for libxml/xmlwriter.h ... <not found>
Checking for libxml/xmlwriter.h ... C:\php529\libs\libxml\include
Enabling extension ext\xmlwriter
Checking for library libxslt_a.lib ... <in extra libs path>
Checking for library libexslt_a.lib ... <in extra libs path>
Checking for libxslt\xslt.h ... <not found>
Checking for libxslt\xslt.h ... C:\php529\libs\libxslt\include
Checking for libexslt\exslt.h ... <not found>
Checking for libexslt\exslt.h ... C:\php529\libs\libxslt\include
Enabling extension ext\xsl
Creating build dirs...
Generating files...
Generating Makefile
Generating main/internal_functions.c
[content unchanged; skipping]
Generating main/config.w32.h
Done.
Type 'nmake' to build PHP
So it definitly sais: "Enabling extension ext\xsl"!
But when I compile php it doesn't creates the php_xsl.dll. I only get the .lib .obj etc...
What am I doing wrong?
Thanks for help! :)
-------- Original-Nachricht --------
> Datum: Fri, 4 Sep 2009 14:55:19 +0200
> Von: Kalle Sommer Nielsen <kalle@php.net>
> An: Benjamin Franke <buzle@gmx.de>
> CC: Pierre Joye <pierre.php@gmail.com>, pecl-dev@lists.php.net
> Betreff: Re: [PECL-DEV] Debug version of PECL package?
> Hi
>
> 2009/9/4 Benjamin Franke <buzle@gmx.de>:
> > LINK : Debug_TS\php5ts_debug.dll not found or not built by the last
> incremental link; performing full link
> > Creating library Debug_TS\php5ts_debug.lib and object
> Debug_TS\php5ts_debug.exp
> > php_xmlreader.obj : warning LNK4217: locally defined symbol
> _php_dom_create_object imported in function _zim_xmlreader_expand
> > wddx.obj : error LNK2019: unresolved external symbol _php_XML_ParserFree
> referenced in function _php_wddx_deserialize_ex
> > wddx.obj : error LNK2019: unresolved external symbol _php_XML_Parse
> referenced in function _php_wddx_deserialize_ex
> > wddx.obj : error LNK2019: unresolved external symbol
> _php_XML_SetCharacterDataHandler referenced in function _php_wddx_deserialize_ex
> > wddx.obj : error LNK2019: unresolved external symbol
> _php_XML_SetElementHandler referenced in function _php_wddx_deserialize_ex
> > wddx.obj : error LNK2019: unresolved external symbol
> _php_XML_SetUserData referenced in function _php_wddx_deserialize_ex
> > wddx.obj : error LNK2019: unresolved external symbol
> _php_XML_ParserCreate referenced in function _php_wddx_deserialize_ex
> > Debug_TS\php5ts_debug.dll : fatal error LNK1120: 6 unresolved externals
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\BIN\cl.exe"' : return code '0x2'
> > Stop.
> >
>
> By a quick look of this, then it seems like ext/wddx depends and
> assumes that ext/xml is built staticlly hence why it gets unresolved
> external symbols. Compile ext/xml staticlly like: `configure
> --with-xml` should fix it.
>
>
> --
> regrads,
>
> Kalle Sommer Nielsen
> kalle@php.net
--
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01