<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Hernandez wrote:
<blockquote cite="mid:A42E3194-82E5-401D-BAED-C947D397CED6@techally.com"
type="cite">
<pre wrap="">On Mar 18, 2008, at 3:36 PM, Marc Spitzer wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Tue, Mar 18, 2008 at 2:46 PM, Michael Hernandez
<a class="moz-txt-link-rfc2396E" href="mailto:mhernandez@techally.com"><mhernandez@techally.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I am trying to build the php5-spl port and I keep getting errors like
this:
/usr/ports/devel/php5-spl/work/php-5.2.5/ext/spl/php_spl.c:61: error:
invalid type argument of `->'
I looked at php_spl.c - I don't see what's wrong with it. The line
is:
spl_globals->autoload_extensions = NULL;
Is that not valid code? Is my gcc just old? I'm running out of ideas
here. Any help would be appreciated.
</pre>
</blockquote>
<pre wrap="">is spl_globals a pointer? Stupid question but it is complaining that
it can not do a pointer dereference and access structure field.
marc
</pre>
</blockquote>
<pre wrap=""><!---->
To be quite honest, I'm not sure - I guess the PHP hackers might be
too used to hacking in PHP and so their C is getting sloppy? Which
isn't good since PHP is written in C, not PHP. :)
</pre>
</blockquote>
<br>
I just gave it a go. Installed from port just fine on 6.2.<br>
Stupid question, but have you tried a portsnap?<br>
<br>
<br>
</body>
</html>