Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old June 16th, 2006
s.fida's Avatar
s.fida Offline
s.fida
 
Join Date: June 2006
Location: Diber
Posts: 43
Send a message via MSN to s.fida
php with pear and gettext on AIX 5.3.04

I need to install php 5.1.4 with the following the mention extension pear,gettext, mime-magic etc. Please anybody has managed to configure this on AIX 5.3. I treid ZendCore but even the ZendCore it is not configured with gettext and magic-mime.

Thanks in advance
s.fida
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old June 16th, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: php with pear and gettext on AIX 5.3.04

Are you looking for a prebuilt installation or have you tried compiling this yourself and had problems?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old June 16th, 2006
s.fida's Avatar
s.fida Offline
s.fida
 
Join Date: June 2006
Location: Diber
Posts: 43
Send a message via MSN to s.fida
Re: php with pear and gettext on AIX 5.3.04

Yeas Fred i treid to compile but it seams that AIX has its own way of compiling and configuring php. I treid to install php but not as apache module or with required extensions. Please did you have managed or experinced to do the same on AIX?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old June 16th, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: php with pear and gettext on AIX 5.3.04

Yes, I've compiled PHP on AIX several times before and had to add several modules.

What compiler were you tring to use and what errors did you get? If you can post those for me, I can help you to get it to compile properly.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old June 16th, 2006
s.fida's Avatar
s.fida Offline
s.fida
 
Join Date: June 2006
Location: Diber
Posts: 43
Send a message via MSN to s.fida
Re: php with pear and gettext on AIX 5.3.04

I have used both gcc and xlc. Ok ill post it now the error and also the configuration that i needed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old June 16th, 2006
s.fida's Avatar
s.fida Offline
s.fida
 
Join Date: June 2006
Location: Diber
Posts: 43
Send a message via MSN to s.fida
Re: php with pear and gettext on AIX 5.3.04

CC=gcc
./configure --with-pear --with-gettext --with-mime-magic
make
make install fails in
# make install
echo '\
\
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp5.so
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/sys/inst.images/php-5.1.4/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: /usr/local/apache2/modules/libphp5.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.
#
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old June 16th, 2006
s.fida's Avatar
s.fida Offline
s.fida
 
Join Date: June 2006
Location: Diber
Posts: 43
Send a message via MSN to s.fida
Re: php with pear and gettext on AIX 5.3.04

i tried:
./libtool --finish and it gives me like this:
make install
echo '\
\
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp5.so
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/sys/inst.images/php-5.1.4/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: /usr/local/apache2/modules/libphp5.so: A file or directory in the path name does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.


Stop.
#
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old June 16th, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: php with pear and gettext on AIX 5.3.04

So make finished without errors and its only make install that gives you errors?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old June 16th, 2006
s.fida's Avatar
s.fida Offline
s.fida
 
Join Date: June 2006
Location: Diber
Posts: 43
Send a message via MSN to s.fida
Re: php with pear and gettext on AIX 5.3.04

yeas exactly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old June 16th, 2006
FASherman's Avatar
FASherman Offline
IBM pSeries and Storage Architect
 
Join Date: May 2006
Posts: 240
Send a message via Yahoo to FASherman
Re: php with pear and gettext on AIX 5.3.04

So the good news is that you have successfully compiled a php binary! 90% of the work is done.

Are you attempting to do this as root? What is the output from
# ls -la /usr/local/apache2/modules/
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Fred Sherman
IBM pSeries and Storage Architect
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0042-302 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix rsync aixif_arp_dup_addr b181fb53 ba010004 ba210000 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gtar aix hi yall hmc 7 hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 mksysb navisphere agent nim server pseries pseries led 610 pseriestech redhat vs suse rsync aix scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43