Re: Re: segfault on close
| From: | Jeremy Johnstone | Date: | Wed, 16 Mar 2005 23:17:06 +0000 |
| Subject: | Re: Re: segfault on close | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1011@lists.php.net to get a copy of this message | ||
Here is a patch from the changes I had to make to get the errors to go away:
Index: TSRM.h
===================================================================
RCS file: /repository/TSRM/TSRM.h,v
retrieving revision 1.46
diff -w -u -r1.46 TSRM.h
--- TSRM.h 21 Feb 2005 10:01:34 -0000 1.46
+++ TSRM.h 16 Mar 2005 23:15:09 -0000
@@ -15,7 +15,7 @@
/* #ifndef WIN32 */
#ifndef WIN32
-# include <tsrm_config.h>
+# include "tsrm_config.h"
#endif
#ifdef WIN32
Index: tsrm_config_common.h
===================================================================
RCS file: /repository/TSRM/tsrm_config_common.h,v
retrieving revision 1.15
diff -w -u -r1.15 tsrm_config_common.h
--- tsrm_config_common.h 21 Feb 2005 10:07:28 -0000 1.15
+++ tsrm_config_common.h 16 Mar 2005 23:15:09 -0000
@@ -8,7 +8,7 @@
#ifdef TSRM_WIN32
# include "tsrm_config.w32.h"
#else
-# include <tsrm_config.h>
+# include "tsrm_config.h"
# include <sys/param.h>
#endif
Index: php.h
===================================================================
RCS file: /repository/php-src/main/php.h,v
retrieving revision 1.214
diff -w -u -r1.214 php.h
--- php.h 8 Mar 2005 21:42:10 -0000 1.214
+++ php.h 16 Mar 2005 23:15:42 -0000
@@ -397,7 +397,7 @@
/* Virtual current working directory support */
-#include "tsrm_virtual_cwd.h"
+#include "../TSRM/tsrm_virtual_cwd.h"
#include "zend_constants.h"
-Jeremy
On Wed, 16 Mar 2005 15:14:26 -0800, Jeremy Johnstone <phpdev@gmail.com> wrote:
> Having same issues. Edit the files and find where you have things like:
>
> # include <tsrm_config.h>
>
> Change them to:
>
> # include "tsrm_config.h"
>
> I only had to fix includes in like 3 places, so just keep fixing them
> until they all go away (one of them was in main/php.h on line 400 and
> you needed to change it to ../TSRM/tsrm_virtual_cwd.h instead of just
> tsrm_virtual_cwd.h)
>
> Hope this helps!
>
> -Jeremy
>
>
> On Wed, 16 Mar 2005 15:34:12 -0500, Scott Mattocks <scott@crisscott.com> wrote:
> > Andrei Zmievski wrote:
> >
> > > What are the problems you are having? libxml related or something else?
> >
> > Damn your good! I get a make error saying that a few TSRM files aren't
> > found. It dies after the first command which is libxml. If I disable
> > libxml it does the same things at zlib.
> >
> > Any ideas?
> >
> > Thanks,
> > Scott
> >
> > --
> > PHP-GTK Development Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> ---------------------------
> Jeremy Johnstone
> http://www.jeremyjohnstone.com
> jsjohnst@php.net
>
--
---------------------------
Jeremy Johnstone
http://www.jeremyjohnstone.com
jsjohnst@php.net