Date: 11/17/00
- Next message: Andi Gutmans: "[PHP-DEV] Problem with passing function return values by reference"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7863 Updated: str_pad only taking 3 params, not 4"
- Next in thread: Bill Stoddard: "[PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Reply: Bill Stoddard: "[PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Pulled the latest php4 from cvs...
./buildconf
./configure --with-apxs=path --without-mysql --without-xml
First failure
dlfcn.h header not being discovered because the xlc #line directive does
not support line numbers over 32768 (bleh). I have not found a clean way
around this. I wrote a perl script to munge the #line directives in the
configure script as a temporary solution.
Second failure is in php_config.h,
line 60.9: (S) Macro name inline cannot be redefined
"inline" is defined on line 78 of php.h
The attached patch fixes this problem.
Third failure:
Seg fault on start-up because the apache symbols have not been imported by the
php dso. There is a bug report on this and the work around described in the
report is valid. I am not a autoconf/libtool guru and don't have a clear idea
how to fix this one.
There are other problems if I include mysql or xml. Wanted to knock these out
first....
Bill
----- Original Message -----
From: Bill Stoddard <bill <email protected>>
To: <php-dev <email protected>>
Sent: Thursday, November 09, 2000 3:28 PM
Subject: [PHP-DEV] [PATCH] Fix compile problem with php4 on AIX using the xlc
compiler
> Just getting my toes wet in PHP4 on AIX (using xlc). I'll submit more
patches
> once I figure out the -right- way to fix the problems I am seeing :-)
>
> Bill Stoddard
>
> Index: php.h
> ===================================================================
> RCS file: /repository/php4/main/php.h,v
> retrieving revision 1.126
> diff -u -r1.126 php.h
> --- php.h 2000/11/02 15:32:52 1.126
> +++ php.h 2000/11/09 20:10:08
> @@ -71,7 +71,7 @@
> #define PHP_DEBUG ZEND_DEBUG
>
>
> -#if PHP_DEBUG || !(defined(__GNUC__)||defined(PHP_WIN32))
> +#if PHP_DEBUG ||
!(defined(__GNUC__)||defined(PHP_WIN32)||defined(__IBMC__))
> #ifdef inline
> #undef inline
> #endif
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "[PHP-DEV] Problem with passing function return values by reference"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #7863 Updated: str_pad only taking 3 params, not 4"
- Next in thread: Bill Stoddard: "[PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Reply: Bill Stoddard: "[PHP-DEV] PHP 4 on AIX using the xlc compiler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

