[mapguide-users] configure parameters for PHP 5.1.4?

Traian Stanev traian.stanev at autodesk.com
Wed Jul 26 17:43:39 EDT 2006


 
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
	
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5490 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060726/9586bfaf/attachment.bin


More information about the Mapguide_users mailing list