Mailinglist Archive: opensuse (3637 mails)

< Previous Next >
[SEVER C compiling ] PHP errors: What's the diff between include <asdf.h> and include "asdf.h" ?
  • From: wilson@xxxxxxxxxxx (Jonathan Wilson)
  • Date: Mon, 21 May 2001 19:48:21 -0500
  • Message-id: <5.1.0.14.0.20010521194323.03544e98@xxxxxxxxxxxxxxxx>
Howdy,

I'm trying to compile that lastest php (4.0.5) on SuSE 7.1 using the --with-wddx option, and I'm getting the following error:

In file included from internal_functions.c:56:
/work/build/php-4.0.5/ext/wddx/php_wddx.h:38: expat.h: No such file or directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/work/build/php-4.0.5/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/build/php-4.0.5/main'
make: *** [all-recursive] Error 1

The relevent section of code looks like this:

#if HAVE_WDDX

#ifdef HAVE_LIBEXPAT2
#include <expat.h>
#else
#include "xmlparse.h"
#endif

I'm wondering why the xmlparse.h is in quotes? expat.h is no where on the system that I can find, however rpm -ql expat shows /usr/include/xmlparse.h , but it seems like make is ignoring the "#else
#include "xmlparse.h" " part of the file. Any ideas? Has anyone else gotten this to work?
----------------------------------------------------

Jonathan Wilson
System Administrator

Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com


< Previous Next >