AIX5.3 installing PHP5.2.8 issues on the build
Workaround
Compile and install on Aix php,./configure smooth passage, but in make times wrong,
Error message: make:*** [Ext/pcre/pcrelib/pcre_chartables.lo] Error 1.
View in the Ext/pcre/pcrelib directory without this file, but there is a pcre_chartables.lot file that will pcre_chartables.lot cp a copy Pcre_ Chartables.lo file, again make, prompt error message:
make:*** [Ext/pcre/pcrelib/pcre_compile.lo] Error 1
To view this directory again, the directory does not have this file.
Dizzy Ah, which hero help solve Ah!!!!!!!!!!!!
d8888d Huitie Content
And you have the same problem, but I was installed under AIX6.1 IBM Http Server with Apache 1.3
All error messages are as follows/bin/sh/tmp/install/php/php5.2.8/libtool silent Preservedupdeps mode=compile gcc iext/libxml/i/tmp/install/ Php/php5.2.8/ext/libxml/dphp_atom_inc i/tmp/install/php/php5.2.8/include I/tmp/install/php/php5.2.8/main I/tmp/ install/php/php5.2.8 I/OPT/FREEWARE/INCLUDE/LIBXML2 I/tmp/install/php/php5.2.8/ext/date/lib I/tmp/install/php/ PHP5.2.8/TSRM i/tmp/install/php/php5.2.8/zend i/usr/include g O2 c/tmp/install/php/php5.2.8/ext/libxml/libxml.c o ext /libxml/libxml.lo/bin/sh/tmp/install/php/php5.2.8/libtool Silent Preservedupdeps mode=compile gcc I/tmp/install/php /php5.2.8/ext/pcre/pcrelib Iext/pcre/i/tmp/install/php/php5.2.8/ext/pcre/dphp_atom_inc I/tmp/install/php/ Php5.2.8/include i/tmp/install/php/php5.2.8/main i/tmp/install/php/php5.2.8 i/opt/freeware/include/libxml2 I/tmp/ Install/php/php5.2.8/ext/date/lib i/tmp/install/php/php5.2.8/tsrm I/tmp/install/php/php5.2.8/zend I/usr/include g O2 c/tmp/install/php/php5.2.8/ext/pcre/pcrelib/pcre_chartables.c o ext/pcre/pcrelib/pcre_chArtables.loin file included from/tmp/install/php/php5.2.8/ext/pcre/pcrelib/pcre_chartables.c:25:/tmp/install/php/ php5.2.8/ext/pcre/pcrelib/pcre_internal.h:976:error:expected specifierqualifierlist before ' BOOL '/tmp/install/php /php5.2.8/ext/pcre/pcrelib/pcre_internal.h:1027:error:expected specifierqualifierlist before ' BOOL '/tmp/install/ php/php5.2.8/ext/pcre/pcrelib/pcre_internal.h:1137:error:expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' php_ _pcre_is_newline '/tmp/install/php/php5.2.8/ext/pcre/pcrelib/pcre_internal.h:1143:error:expected ' = ', ', ', '; ', ' ASM ' or ' __attribute__ ' before ' Php__pcre_was_newline '/tmp/install/php/php5.2.8/ext/pcre/pcrelib/pcre_internal.h : 1145:error:expected ' = ', ', ', '; ', ' asm ' or ' __attribute__ ' before ' php__pcre_xclass ' make: * * * [Ext/pcre/pcrelib/pcre_c Hartables.lo] Error 1
Copy the code I hope the master Help to see, thank you!
[ ]
d8888d Huitie Content
Oh yeah I finally made a success
I do not know whether the landlord and I is not a mistake in fact or./configure problem, nonsense not much to say, on the source: Export Path=/opt/freeware/bin: $PATH
./configure
Prefix=/usr/local
Withconfigfilepath=/usr/httpserver/conf/php.ini
Enableshared
Disablestatic
Enablemaintainerzts
Enablecalendar
Enablebcmath
Enablesockets
Enablezip
Withgd
Withzlib
Withlibxmldir=/opt/freeware
Withzlibdir=/opt/freeware
withbz2
Withgettext=/opt/freeware
Withjpegdir=/opt/freeware
Withpngdir=/opt/freeware
Withfreetypedir=/opt/freeware
Copy the code and watch the face.
Prefix=/usr/local This directory refers to the directory where your PHP folder is located, my directory is/usr/local/php5.2.6 so here prefix=/usr/local
I am based on a foreign article configured PHP5, the URL is as follows.
[url=http://koo.fi/tech/2008/12/08/installingphp5onaixusingibmhttpserver/] link marker http://koo.fi/tech/2008/12/08/ Installingphp5onaixusingibmhttpserver/[/url]
Do not know can help the landlord's busy, I wish to solve the problem early:)
[ ]
http://www.bkjia.com/PHPjc/632526.html www.bkjia.com true http://www.bkjia.com/PHPjc/632526.html techarticle AIX5.3 on the compile and install PHP5.2.8 problem resolution method on AIX to compile the installation php,./configure passed smoothly, but in the Make times wrong, error prompt: make:*** [ext/pcre/pcrelib/pcre_cha ...