Re: building a simple extensin failed because lack of libxml

From: Date: Tue, 09 Jan 2007 12:48:12 +0000
Subject: Re: building a simple extensin failed because lack of libxml
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-27361@lists.php.net to get a copy of this message
Teruhiko Kurosaka escreveu:
Hi, I'm new to PHP. I'm trying to learn how to make PHP extensions on Windows, and followed instructions in Chapter 5 "Your First Extension" in "Extending and Embedding PHP" by Sara Golemon with a few modification necessary to suit for Visual Studio .NET 2003 environment I'm using. I could manage to build the PHP core. But when I tried to build the most simple extension which only has an extension entry, I encountered a compilation error: C:\PHPDEV\php-5.2.0>nmake php_sample.dll Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. sample.c internal_functions.c c:\VS2003\Vc7\PlatformSDK\Include\WS2tcpip.h(647) : warning C4142: benign redefinition of type
WARNINGS - as I know doesn't afect the flux of programing. This warning says that you have a simple redefinition type.
c:\PHPDEV\php-5.2.0\ext\dom\php_dom.h(33) : fatal error C1083: Cannot open include file: 'libxml/parser.h': No such file or directory NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
FATAL ERRORS, yes, the flux is stopped. This error says that the include file 'libxml/parser.h' was not found. Probably by error path or missing. See: http://xmlsoft.org/ -- zerof http://www.educar.pro.br/ Apache - PHP - MySQL - Boolean Logics - Project Management ---------------------------------------------------------- Você deve, sempre, consultar uma segunda opião! ---------------------------------------------------------- You must hear, always, one second opinion! In all cases. ----------------------------------------------------------

« previous php.windows (#27361) next »