[mapguide-users] configure parameters for PHP 5.1.4?

Marcus Spurkel mspurkel at pacbell.net
Wed Jul 26 18:17:50 EDT 2006


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
>  
>




More information about the Mapguide-users mailing list