[mapguide-users] configure parameters for PHP 5.1.4?
Traian Stanev
traian.stanev at autodesk.com
Thu Jul 27 09:06:12 EDT 2006
Good if you have it working now I don't need to dig into PHP sources...
As far as Fedora goes, personally, I would prefer Fedora to RedHat when
compiling MapGuide from source.
Traian
-----Original Message-----
From: Marcus Spurkel [mailto:mspurkel at pacbell.net]
Sent: Thursday, July 27, 2006 3:00 AM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] configure parameters for PHP 5.1.4?
I'll see if I can get you a list tomorrow. In the meantime, Trevor
Wekel gave me the tip that got everything working for me at last. Just
a few strategically placed "#ifndef PHPPROXYAPI_EXPORTS" in php.h and
everything fell into place. I now have MapGuide running on my FC5 box
with gcc 4.1, Apache 2.2 and PHP 5.1.4. Nice!
BTW, would you use Fedora as a production server OS for MapGuide, or
would you recommend RedHat Enterprise instead?
-Marcus
Traian Stanev wrote:
>
>Most of the extra qualification errors are in the FDO headers, which
are in a separate svn vault (fdo.osgeo.org). I know there are several
template errors in the MdfModel project of MapGuide that haven't been
checked in yet, like in ChannelBand.h. I'll take care of those. If you
want to send us the files that you think need to be fixed, that would be
cool too...
>
>Traian
>
> -----Original Message-----
> From: Marcus Spurkel [mailto:mspurkel at pacbell.net]
> Sent: Wed 7/26/2006 6:17 PM
> To: users at mapguide.osgeo.org
> Cc:
> Subject: Re: [mapguide-users] configure parameters for PHP
5.1.4?
>
>
>
> Ah -- that would explain it, yes. I was beginning to think the
same
> thing. Knowing that that _is_ in fact the case, maybe I can
figure it
> out on my own but by all means take a look at let me know what
it was
> that you changed.
>
> While we're on the subject, are the other changes to the
mapguide
> files,such as the "extra qualification" errors going to get
published?
> Last time I checked the svn tree, I didn't see any evidence of
that.
>
> Thanks again,
> -Marcus
>
> Traian Stanev wrote:
>
> >
> >Oooh, yeah, I forgot that I hacked two or three PHP headers to
make it compile with 5.1.4. I will go back and track down the changes
tomorrow, since I didn't actually keep track the first time around...
However, the changes necessary for Linux may be different than the ones
for Windows, but we'll see I guess.
> >
> >My theory at the time was that definitions in PHP 5.1.4 headers
are conflicting with libACE headers.
> >
> >Traian
> >
> >
> > -----Original Message-----
> > From: Marcus Spurkel [mailto:mspurkel at pacbell.net]
> > Sent: Wed 7/26/2006 4:37 PM
> > To: users at mapguide.osgeo.org
> > Cc:
> > Subject: [mapguide-users] configure parameters for PHP
5.1.4?
> >
> >
> >
> > I'm still struggling with getting PhpApi to compile for
PHP 5.1.4 It
> > comes back with conflicting declaration errors. Here's
what I've done:
> >
> > 1. unpack the latest tarball from php.net (5.1.4) to
mapguide-1.0.0/Oem
> > 2. rename the existing php dir (5.0.5 I believe) to
php_old
> > 3. rename the new php--xxx dir to "php" so it matches
the old layout
> > 4. cd php and run ./configure
> > 5. go to Web/src/PhpApi and try "make clean" and "make"
> >
> > ../../../Oem/php/regex/regex.h:17: error: conflicting
declaration
> > 'typedef off_t regoff_t'
> > /usr/include/regex.h:419: error: 'regoff_t' has a
previous declaration
> > as 'typedef int regoff_t'
> > ...and so on
> >
> > What's interesting is that when I swap the original php
directory back
> > in (php -> php_new and php_old -> php) the re-make for
PhpApi works just
> > fine so I'm thinking it's got something to do with one
or more files in
> > the two PHP dirs. Specifically, it seems to complain
about regex a
> > lot, but the regex.h files in Oem/php/regex are
identical between 5.0.5
> > and 5.1.4. Can someone tell me how the php dir was
"prepped" to work
> > within the context of MapGuide so I can duplicate it
with 5.1.4? Any
> > specific ./configure parameters that I need to provide
or directories
> > that I need to change/prune?
> >
> > Much appreciated,
> > -Marcus
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
users-unsubscribe at mapguide.osgeo.org
> > For additional commands, e-mail:
users-help at mapguide.osgeo.org
> >
> >
> >
> >
> >
>
>-----------------------------------------------------------------------
-
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> >For additional commands, e-mail: users-help at mapguide.osgeo.org
> >
>
>-----------------------------------------------------------------------
-
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date:
7/25/2006
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>
>
>
>
>-----------------------------------------------------------------------
-
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>-----------------------------------------------------------------------
-
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date:
7/25/2006
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide_users
mailing list