Re: Debug version of PECL package?

From: Date: Fri, 04 Sep 2009 10:05:28 +0000
Subject: Re: Debug version of PECL package?
References: 1 2 3 4  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6617@lists.php.net to get a copy of this message
Thanks so far! I misunderstood the "shared" option. I'm getting closer now and i have already compiled some extensions. But there are still some, that throw linker errors with missing xml smybols. I have downloaded the latest libxml and libxslt libraries and tried to compile it again but it failed too... I tried to compile with the following options: cscript /nologo /e:jscript configure.js --enable-debug --enable-embed --disable-ipv6 --with-pdo-dblib=shared --with-pdo-mssql=shared --with-pdo-firebird=shared --with-pdo-mysql=shared --with-pdo-oci=shared --with-pdo-oci8=shared --with-pdo-odbc=shared --with-pdo-pgsql=shared --with-pdo-sqlite=shared --with-pdo-sqlite-external=shared --with-xmlrpc=shared --with-xml=shared --with-xsl=shared --with-extra-includes=C:\php529\zlib\include;C:\php529\libxml\include;C:\php529\iconv\include;C:\php529\libxslt\include;C:\php529\bindlib_w32 --with-extra-libs=C:\php529\zlib\lib;C:\php529\libxml\lib;C:\php529\iconv\lib;C:\php529\libxslt\lib And this is what the linker sais: (...) 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. Maybe i forgot something? Thanks for help! :) -------- Original-Nachricht -------- > Datum: Thu, 3 Sep 2009 22:45:47 +0200 > Von: Pierre Joye <pierre.php@gmail.com> > An: Benjamin Franke <buzle@gmx.de> > CC: pecl-dev@lists.php.net > Betreff: Re: [PECL-DEV] Debug version of PECL package? > please follow the step by step guide and then we can discuss on a common > base. > > However, by reading your configure line, you may add shared to the > extension you like have as dll. > > On Thu, Sep 3, 2009 at 10:14 PM, Benjamin Franke<buzle@gmx.de> wrote: > > Hi, > > I already compiled php on my own, but i don't get any .dll in the > > (Debug_TS/Release_TS)/ext -folder > > I compiled php 5.2.9 successfully with the following options: > > > > -enable-debug -with-extra-includes=(...) -with-extra-libs=(...) > > -disable-ipv6 -enable-embed -with-curl > > -enable-dbase -with-gettext -enable-mbstring -enable-mbregex > > -with-mcrypt -with-mhash -with-mime-magic > > -with-mssql -with-mysql -with-mysqli -with-openssl -enable-sockets > > -enable-zip -enable-pdo -with-pdo-mssql > > -with-pdo-mysql -with-xsl > > > > Btw: why is it easier with php 5.3? > > > > Thanks so far! > > > > > > > >> hi, > >> > >> compile it yourself? it is very easy. I would suggest to begin with > >> 5.3, it is much more easier to do than with 5.2: > >> > >> http://wiki.php.net/internals/windows/stepbystepbuild > >> > >> Cheers, > >> On Thu, Sep 3, 2009 at 9:38 PM, Benjamin Franke<buzle@gmx.de> wrote: > >> > >>> I'm trying to debug php (5.2.9) in Visual Studio 2005 with > ZEND_DEBUG=1. > >>> But everytime php loads the extensions i get error messages that say: > >>> > >>> module comiled with... debug=0 > >>> php compile with... debug=1 > >>> > >>> How can i get/build a debug version of the standard php pecl extension > >>> package? > >>> Or is there any extisting debug package? > >>> I only found the "PHP 5.2.9 Win32 Debug Pack" but it only includes the > >>> ..pdb files and not the debug versions of the dlls. > >>> > >>> Thanks for help! > >>> > >>> > >>> __________ Information from ESET Smart Security, version of virus > signature database 4392 (20090903) __________ > >>> > >>> The message was checked by ESET Smart Security. > >>> > >>> http://www.eset.com > >>> > >>> > >>> > >>> -- > >>> PECL development discussion Mailing List (http://pecl.php.net/) > >>> To unsubscribe, visit: > >>> http://www.php.net/unsub.php > >>> > >>> > >>> > >> > >> > >> > >> > > > > > > > > __________ Information from ESET Smart Security, version of virus > signature database 4392 (20090903) __________ > > > > The message was checked by ESET Smart Security. > > > > http://www.eset.com > > > > > > > > > > -- > Pierre > > http://blog.thepimp.net | > http://www.libgd.org -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

« previous php.pecl.dev (#6617) next »