LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 04-08-2012, 05:46 PM   #1
morejunk4me
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Rep: Reputation: Disabled
Question 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.
 
Old 04-08-2012, 07:49 PM   #2
GATTACA
Member
 
Registered: Feb 2002
Location: USA
Distribution: Fedora, CENTOS
Posts: 209

Rep: Reputation: 32
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?
 
Old 04-09-2012, 09:11 AM   #3
morejunk4me
LQ Newbie
 
Registered: Apr 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-18-2012, 02:41 AM   #4
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 509

Rep: Reputation: 203Reputation: 203Reputation: 203
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).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue sg_modes cmd at cmd line, want to see the cmd in binary form NuUser Linux - Newbie 1 03-28-2012 08:08 AM
PHP - Ping test in shell/cmd window baddah Programming 1 03-04-2010 04:10 AM
How to make script cmd valid as execut it directly? cdcshu Linux - Software 5 06-05-2007 05:58 AM
make failing to make with this error. Help needed? vdemuth Linux - Software 4 06-20-2004 03:08 PM
smbmount cmd failing! dav7500 Linux - Software 2 02-24-2004 08:00 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration