Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PHP 4.0.3pl1 on Mac OS X Server

PHP 4.0.3pl1 on Mac OS X Server
Thread Tools
Leonel
Guest
Status:
Reply With Quote
Oct 25, 2000, 12:04 PM
 
I have been trying to compile PHP 4.0.3pl1 as a static module of Apache 1.3.14 withou any success, I followed instructions of fellows saying that it compiles with no problem but when I try to make install it allways generates the above errors:

cp: /src/php-4.0.3pl1/pear//src/php-4.0.3pl1/pear/PEAR.php: No such file or directory
make[2]: *** [install-data-local] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

Before doing make and make install I configured it as follows:

./configure --prefix=/usr \
--with-mysql=/usr/local/mysql \
--sysconfdir=/etc \
--localstatedir=/var \
--with-xml \
--with-apache=/src/apache_1.3.14

and before that have configured Apache as follows:

./configure --exec-prefix=/usr \
--localstatedir=/var \
--mandir=/usr/share/man \
--libexecdir=/System/Library/Apache/Modules \
--iconsdir=/System/Library/Apache/Icons \
--includedir=/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers \
--enable-shared=max \
--enable-module=most \
--target=apache

Am I doing something wrong?

Can someone please help me?!

Thanks!

my email is leonel@sdm.pt

------------------
Leonel Silva
     
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 25, 2000, 12:16 PM
 
matt vaughn already made a installer for apache-mysql-php 4

do a search on this section of the site.

it was a whole lot easier than installing trying to compile.

lou
     
Leonel
Guest
Status:
Reply With Quote
Oct 25, 2000, 02:20 PM
 
Thanks Lou,

But Matt package is for Mac OS X Public Beta and doesn't work with Mac OS X Server. Do you know if there a pre-compiled package for Mac OS X Server?



------------------
Leonel Silva
     
Fresh-Faced Recruit
Join Date: Oct 2000
Status: Offline
Reply With Quote
Oct 25, 2000, 06:13 PM
 
nope. sorry.
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 09:51 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2