Software Outsourcing, Offshore Software Development, Offshore Outsourcing Services, IT Outsourcing, Offshore Development
MySQL manual Offshore Software Outsourcing and Programming, IT Outsourcing Offshore Software Development  
Call Us Today: 1-800-678-9001
Offshore Software Outsourcing and Programming, IT Outsourcing Offshore Software Development

Home / Technical Support / MySQL

Key Offerings:

B2B and B2C E-Business Solutions

Offshore Software Development Outsourcing

Strategic Consulting

Offshore Software Outsourcing

About ALTOROS: ALTOROS Systems is headquartered in Tampa, Florida and maintains an office near Boston, Massachusetts and technology development center in Belarus and Russia. ALTOROS specializes on providing value-added e-commerce and web-based software development and offshore software outsourcing services to emerging enterprises helping them successfully plan and implement business initiatives.

Contact Us for more information.

Node: Porting, Next: Environment variables, Prev: News, Up: Top
Porting to Other Systems
 
This appendix will help you port MySQL to other operationg systems.  Do check the list of currently supported operating systems first.  See Which OS.  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 configure 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 files.
 
/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 Debugging server.
 
Note: before you start debugging mysqld, first get the test programs mysys/thr_alarm and mysys/thr_lock to work.  This will ensure that your thread installation has even a remote chance to work!
 
 
Debugging server      Debugging a MySQL server
Debugging client      Debugging a MySQL client
The DBUG package      The DBUG Package
Locking methods      Locking ethods
RTS-threads      Comments about RTS threads
Thread packages      Differences between different thread packages
 
Offshore Software Outsourcing company Russia Florida Massachusetts Boston Belarus, Offshore Software Development Services, Offshore Programming and IT OutsourcingOffshore Development, Programming  Services, Tampa FL Russia, E-commerce, Database, CRM, Financial Insurance Health Care Real EstateOffshore Software Development Services, Software Outsourcing Russia
HOME PAGE, Offshore Software Outsourcing Company, offshore IT outsourcing services, offshore 
software development Russia Massachusetts Florida New York CT VT RI software development