php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26887 PHP fails to compile without libxml
Submitted: 2004-01-12 14:50 UTC Modified: 2004-01-13 06:51 UTC
From: nunoplopes at sapo dot pt Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2004-01-12 (dev) OS: Win XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nunoplopes at sapo dot pt
New email:
PHP Version: OS:

 

 [2004-01-12 14:50 UTC] nunoplopes at sapo dot pt
Description:
------------
I've downloaded latest source snapshot and I've tried to compile it using cygwin.
It fails because it doesn't find the libxml. I think that ./configure should generate an error if the libxml isn't found.

Actual result:
--------------
$ make
gcc  -Iext/libxml/ -I/home/Nuno/php5/ext/libxml/ -DPHP_ATOM_INC -I/home/Nuno/php
5/include -I/home/Nuno/php5/main -I/home/Nuno/php5 -I/home/Nuno/php5/Zend -I/usr
/include/libxml2  -I/home/Nuno/php5/TSRM  -g -Wall  -c /home/Nuno/php5/ext/libxm
l/libxml.c -o ext/libxml/libxml.o  && echo > ext/libxml/libxml.lo
In file included from /usr/include/libxml2/libxml/parser.h:655,
                 from /home/Nuno/php5/ext/libxml/libxml.c:38:
/usr/include/libxml2/libxml/encoding.h:27:19: iconv.h: No such file or directory

In file included from /usr/include/libxml2/libxml/parser.h:655,
                 from /home/Nuno/php5/ext/libxml/libxml.c:38:
/usr/include/libxml2/libxml/encoding.h:132: error: syntax error before "iconv_t"

/usr/include/libxml2/libxml/encoding.h:132: warning: no semicolon at end of stru
ct or union
/usr/include/libxml2/libxml/encoding.h:133: warning: type defaults to `int' in d
eclaration of `iconv_out'
/usr/include/libxml2/libxml/encoding.h:133: warning: data definition has no type
 or storage class
make: *** [ext/libxml/libxml.lo] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-13 06:51 UTC] sniper@php.net
You're missing some required libraries/headers (iconv).
This is not any PHP bug. Ask support questions elsewhere.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 22:01:26 2024 UTC