<< previous page   --   table of contents   --   next page >>
| | | | | | | |
  • Return to Table of Contents
  • Table of Contents

    1. General Information
    2. MySQL Installation
    3. Tutorial Introduction
    4. Database Administration
    5. MySQL Optimisation
    6. MySQL Language Reference
    7. MySQL Table Types
    8. MySQL APIs
    9. Extending MySQL

    Appendix E: Porting to Other Systems 757 Appendix E  Porting to Other Systems This appendix will help you port MySQL to other operationg systems.  Do check the list of currently supported operating systems rst.  See Section 2.2.2 [Which OS], page 69.  If you have created a new port of MySQL, please let us know so that we can list it here and on our web site (http://www.mysql.com/), recommending it to other users. Note:  If you create a new port of MySQL, you are free to copy and distribute it under the GPL license, but it does not make you a copyright holder of MySQL. A working Posix thread library is needed for the server. On Solaris 2.5 we use Sun PThreads (the native thread support in 2.4 and earlier versions are not good enough) and on Linux we use LinuxThreads by Xavier Leroy, Xavier.Leroy@inria.fr. The  hard  part  of  porting  to  a  new  Unix  variant  without  good  native  thread  support  is probably  to  port  MIT-pthreads.   See  `mit-pthreads/README'  and  Programming  POSIX Threads (http://www.humanfactor.com/pthreads/). The MySQL distribution includes a patched version of Provenzano's Pthreads from MIT (see the MIT Pthreads web page at http://www.mit.edu:8001/people/proven/pthreads.html) This can be used for some operating systems that do not have POSIX threads. It is also possible to use another user level thread package named FSU Pthreads (see FSU Pthreads home page (http://www.informatik.hu-berlin.de/~mueller/pthreads.html)). This implementation is being used for the SCO port. See  the  `thr_lock.c'  and  `thr_alarm.c'  programs  in  the  `mysys'  directory  for  some tests/examples of these problems. Both the server and the client need a working C++ compiler (we use gcc and have tried SPARCworks).  Another compiler that is known to work is the Irix cc. To compile only the client use ./configure --without-server. There is currently no support for only compiling the server, nor is it likly to be added unless someone has a good reason for it. If you want/need to change any `Makefile' or the con gure script you must get Automake and Autoconf.  We have used the automake-1.2 and autoconf-2.12 distributions. All steps needed to remake everything from the most basic les. /bin/rm */.deps/*.P /bin/rm -f config.cache aclocal autoheader aclocal automake autoconf ./configure --with-debug=full --prefix='your installation directory' # The makefiles generated above need GNU make 3.75 or newer. # (called gmake below) gmake clean all install init-db If you run into problems with a new port, you may have to do some debugging of MySQL! See Section E.1 [Debugging server], page 758.
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    MERCHANT ACCOUNTS
    DEDICATED SERVERS
    E-COMMERCE HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN
    REGISTRATION
    MANAGE
    YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    Corporate Info
    ABOUT US
    OUR NETWORK
    CONTACT US
    SITE MAP
    Copyright © 2002 Dyntex Group, Inc. All Rights Reserved
  • Return to Table of Contents
  • Back to top

  • Web Hosting: Manuals & FAQ's

    1. Unix-Based Web Hosting
    2. Unix Dedicated Servers
    3. Windows Dedicated Servers
    4. CuteFTP User’s Guide
    5. CuteHTML User’s Guide
    6. WS_FTP Pro User's Guide
    7. Miva Order User's Guide
    8. Miva Merchant User's Guide