Code:
1. Install MySQL
2. Install Fink
3. Using Fink, install and compile mysql15-dev
4. Open /usr/include/c++/4.0.0/cstdlib and comment out the "#undef malloc" and "#undef realloc" lines. You may want to uncomment these lines after you've finished, as it may cause problems for compiling other things
5. Edit the "configure" file in the antrix folder, and replace "ac_cv_func_malloc_0_nonnull=no" with "ac_cv_func_malloc_0_nonnull=yes". There are two occurrences of this I believe. Basically it's trying to find GNU Malloc and Realloc, which OS X doesn't use, but it doesn't matter.
6. Do the same for "ac_cv_func_realloc_0_nonnull=no" - replace with "ac_cv_func_realloc_0_nonnull=yes"
7. In a terminal window, type "sudo -s" and enter your password
8. type "ln -s /usr/local/mysql/lib /usr/local/lib/mysql" (without quotes)
9. type "grep -R -export-dynamic *" (make sure you are in the antrix directory). Any file that shows up needs to be edited to remove all occurrences of that. ld in Mac OS X doesn't use that flag, and make will fail if it's in there.
10. type "./configure --prefix=/usr/antrix --with-python --enable-cli --enable-ra --target i386" (without quotes of course)
11. If that goes through, type "make"
12. If that goes through, type "make install"
13. cd to /usr/antrix, and mkdir etc, then copy the .conf files there (cp ~/<path to antrix>/src/*.conf etc)
14. cd to bin, then mkdir maps and dbc. Copy the necessary files to them
15. Use your favorite MySQL tool to import the apdb.sql file (I like CocoaMySQL).
16. Set up your .conf files (there are instructions on this forum for that, or just read the instructions in the files).
17. In /usr/antrix/bin type ./logonserver
18. Create a new terminal window, and navigate back to /usr/antrix/bin, and type ./antrix
I guess you'll have to replace antrix with Ascent.
But it should work.
----
Source:
Emupedia