Upgrading to PHP 5.3.10 and make cmd failing
Hi I'm trying to upgrade from php 5.2.17 to php 5.3.10 on AIX 6.1 TL6 with Apache 2.2.21 and am getting some errors when running the make command. The errors I'm getting are as follows:
/usr/apache/installs/php-5.3.10/ext/sqlite3/libsqlite/sqlite3.c: At top level: /usr/apache/installs/php-5.3.10/ext/sqlite3/libsqlite/sqlite3.c:124382: warning: visibility attribute not supported in this configuration; ignored /usr/apache/installs/php-5.3.10/ext/sqlite3/libsqlite/sqlite3.c:124382: warning: visibility attribute not supported in this configuration; ignored /usr/apache/installs/php-5.3.10/ext/sqlite3/libsqlite/sqlite3.c:124382: warning: visibility attribute not supported in this configuration; ignored Assembler: /tmp//ccdtuq8I.s: line 21747: illegal expression /tmp//ccdtuq8I.s: line 21755: illegal expression /tmp//ccdtuq8I.s: line 21763: illegal expression /tmp//ccdtuq8I.s: line 21771: illegal expression /tmp//ccdtuq8I.s: line 21779: illegal expression /tmp//ccdtuq8I.s: line 21787: illegal expression I see others successfully running PHP 5.3.10 on aix 6.1 so I have hope that someone can give me pointers. |
These don't look like compile errors to me.
The first batch look like compile warnings which can be ignored (although at your own risk). What did you get out when you ran ./configure prior to compiling? |
I'm not having issues during compilation but am getting the errors posted when I run the make command. Here is the syntax used:
Apache install command : ./configure --prefix=/usr/apache/apache1 --enable-so --enable-rewrite --enable-status --enable-ssl --enable-vhost-alias --enable-expires --enable-cache --enable-mem-cache --enable-disk-cache --with-mpm=worker --enable-nonportable-atomics=yes PHP Install Command : ./configure --prefix=/usr/apache/php1 --with-apxs2=/usr/apache/apache1/bin/apxs --host=powerpc-ibm-aix6.1.0.0 –-with-curl=/usr/local/lib make make install |
Hi there,
Your errors do not look familiar to me, but have one suggestion that may be worth trying. When compiling PHP 5.3.9 & 5.3.10 on AIX 6.1, I had a problem with the make command itself. If I used the AIX make command (default), the php CLI would not compile. Switching to gmake solved the problem. To do this, install [g]make from the Linux Toolkit, and then set your PATH to "/opt/freeware/bin:$PATH" before running make. Hope this helps. If not, I can post all my compile steps if you want (althoguh I included different modules, so not sure how useful that would be). |
All times are GMT -5. The time now is 09:27 AM. |