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 > macOS > OSX (Darwin) PHP/pear problem FIXED.

OSX (Darwin) PHP/pear problem FIXED.
Thread Tools
zerologic
Dedicated MacNNer
Join Date: Sep 2000
Location: Dallas, Texas
Status: Offline
Reply With Quote
Jan 31, 2001, 02:53 AM
 
I just wanted to let you know that I have successfully built Apache 1.3.17 and PHP 4.04pl1 as a DSO on Mac OS X Public Beta 1H39 (AKA Darwin).

The problem was that the configure script for PHP was trying to create a file in the ./pear directory named 'pear' where a directory named 'PEAR' already exists. Of course, since Mac OS X uses the HFS+ disk format by default (case preserving, case insensitive) this is not allowed.

I poked around a bit and figured the best solution was to make sure the file configure creates doesn't conflict with the directory. I chose the file name 'pearfile' for lack of a more creative and meaningful name.

Steps to fix: (This requires editing text files. If you are unaware of all that this entails, you prolly shouldn't be doing it.)

./ = php 4.04pl1 source directory

./configure
Line 8172: change pear/pear to pear/pearfile

./pear/Makefile.in
Line 89: change phpize php-config pear to phpize php-config pearfile
Line 126: change pear.in to pearfile.in
Line 127: change pear/pear to pear/pearfile

./pear
Rename or cp pear.in to pearfile.in


After that, a ./configure does what it is supposed to, even with the --with-apxs=/usr/sbin/apxs line

Now if I could just build openssl in to 1.3.17 with no problems...

Michael.

------------------
Read our Mac OS X ramblings: neologic: http://www.zerologic.com/neologic/

[FONT="Trebuchet MS"]Fully dynamic web site Starting Points.[/FONT]
     
muchfresh
Mac Enthusiast
Join Date: Jan 2001
Location: ny ny usa
Status: Offline
Reply With Quote
Jan 31, 2001, 11:06 AM
 
You da man!!

Your next mission should you choose to accept is to compile MySQL so that it can shutdown properly. If you are killed or captured during this mission we will disavow any knowledge of your existance.
'Satisfy the urge and discover the need' Q-Tip
     
Alex Duffield
Grizzled Veteran
Join Date: Oct 2000
Location: Vancouver
Status: Offline
Reply With Quote
Jan 31, 2001, 05:18 PM
 
Cool!

Will it let you configure with --with-ftp
?????

Maybe I'll give it a shot...

Any chance you could post your modified source and save us all some trouble...

or better yet, if I could just get a .pkg file...

------------------
Alex Duffield
------------------

*Compliments mr_SonicBlue
Alex Duffield
http://www.incontrolsolutions.com
Fatal error: Call to undefined function: signature() in /usr/local/www/htdocs/showthread.php on line 813
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 05:28 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,