 |
 |
Apache / PHP4 / MySQL Success!
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status:
Offline
|
|
How many people have gotten Apache, PHP4, and/or MySQL to run on OS X Public Beta?
I've been poking at it for a couple days, and finally got Apache with PHP4 to install.  x 100
I'm currently workin on MySQL.
------------------
-Eric Schneider (SonicBlue)
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2000
Location: Denver, CO, USA
Status:
Offline
|
|
i do not use mysql, but have apache and php installed and running - installed them on darwin then dumped osX on top of it all and it still works!
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Brisbane, Queensland, Australia
Status:
Offline
|
|
I *REALLY* don't think you are going to have much luck finding out how to compile or run MySQL on OS X Beta for the moment, at least until someone finds a way or fixes that pthreads problem up which has plagued it on OS X DP & Beta.
If anyone has, please drop us a line. Let us know, everyone wants MySQL 
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Brisbane, Queensland, Australia
Status:
Offline
|
|
I *REALLY* don't think you are going to have much luck finding out how to compile or run MySQL on OS X Beta for the moment, at least until someone finds a way or fixes that pthreads problem up which has plagued it on OS X DP & Beta.
If anyone has, please drop us a line. Let us know, everyone wants MySQL 
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status:
Offline
|
|
You're probably right.
I got everything to compile and install EXCEPT the server (mysqld)
And binaries for Mac OS X Server produce 'Bus Error' when run.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status:
Offline
|
|
I installed a replacement pthread library. Now I just have to figure out how to configure the mysql make to use it. The guess method isn't working very well since it takes 15 minutes per trial.
Anyone have any ideas?
------------------
-Eric Schneider (SonicBlue)
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2000
Status:
Offline
|
|
I believe our friend, Anjo Krank... the one who gave us the OSX Server patches for mySQL, is working on the OS X Beta port now.
Watch for it within the next couple of weeks.
|
|
--
Aaron Bratcher
Got Data? See it with db Reports
http://abDataTools.com
|
| |
|
|
|
 |
|
 |
|
John Heitmann
|
|
I really don't understand the fervor over getting MySQL running. I haven't tried yet in PB, but in DP4 MySQL wasn't too bad to get going. Sure there are some pthread functions missing, but on the whole enough pthread functionality is there. If you look at the pthread source in MySQL, you will see that the MySQL developers have already dealt with other platforms that lack the same pthread functions that MacOS X lacks. They even conveniently provided #defines so that unavailable pthread functions can be circumvented in one spot.
The only problem I ran into was that mysqld was sometimes difficult to shutdown due to the lack of a certain pthread call (pthread_kill? I don't remember), but who would ever want to shutdown MySQL ;-)
In general to get MySQL compiling: if it doesn't work chop it out and try to recompile.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Sep 2000
Location: Brisbane, Queensland, Australia
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Sep 2000
Location: San Francisco, CA
Status:
Offline
|
|
I have patched the distribution but it still crash and burns when compiling string portion. Anone just want to post binaries for MySQL?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2000
Status:
Offline
|
|
I just got this in the Darwin dev list.
Date: Tue, 26 Sep 2000 15:02:41 -0700
From: Chris Meyer <cmeyer@gatan.com>
Subject: mysql on Darwin/OSX PB
I put together a patch file for patching MySQL to run under OS X
PB/Darwin. I didn't test it thoroughly but I did get the mysql daemon
up and running and was able to access a few databases with the
client... In particular, I think the thread support doesn't work
correctly (in the same way it didn't under OS X Server). Anyone more
knowledgeable know anything more about pthread_kill, pthread_signal,
and other linux-only calls?
The basic things the patch does are:
- - Update config.guess and config.sub files
- - Add a new section called 'HAVE_DARWIN_THREADS' for supporting the
Darwin threads
- - Fix one line in sql_cache.cc that the Darwin compiler chokes on
Anyway, to use the patch (run this portion as a regular user):
wget ]http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.24-beta.tar.gz......
It goes one with a diff too long to post. Hit the list. to get it.
[This message has been edited by Scott_H (edited 09-26-2000).]
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Eagan, MN
Status:
Offline
|
|
I got mysql to compile and install (with the server mysqld) but when I run it I get the same 'bus error' as with the OS X Server binary.
------------------
-Eric Schneider (SonicBlue)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|