Unified Thread Standard (The US standards for threads per inch)

Last edited by 24.102.236.57 on February 6, 2012
Major diameter (inches)Threads per inch
Coarse (UNC)Fine (UNF)Extra fine (UNEF)
#0 = 0.0600 80  
#1 = 0.0730 64 72  
#2 = 0.0860 56 64  
#3 = 0.0990 48 56  
#4 = 0.1120 40 48  
#5 = 0.1250 40 44  
#6 = 0.1380 32 40  
#8 = 0.1640 32 36  
#10 = 0.1900 24 32  
#12 = 0.2160 24 28 32
14 20 28 32
516 18 24 32
38 16 24 32
716 14 20 28
12 13 20 28
916 12 18 24
58 11 18 24
34 10 16 20
78 9 14 20
1 8 14* 20

Build Sphinx for Mac OS X Lion with for MAMP 2.0.5

Last edited by Jonathan Fleckenstein on December 22, 2011
cd ~/Downloads/sphinx-2.0.2-beta

Download and Extract Sphinx 2.0.2

Last edited by Jonathan Fleckenstein on December 22, 2011

Download Sphinx 2.0.2 Source Code. Once the Sphinx source is downloaded double click on it to extract it.


Download libstemmer_c

Last edited by Jonathan Fleckenstein on December 22, 2011

Download libstemmer c. Make sure to save libstemmer c to the Sphinx directory that you just extracted. Once libstemmer is finished downloading extract it.


Compile MySQL 5.5.9 in Mac OS X 10.7

Last edited by Jonathan Fleckenstein on December 22, 2011

Startup Terminal and type the following command to create a directory in MAMP. (Note, the command below may change depending on where you're MySQL source is.)

cd ~/Downloads/MAMP_components_2.0.2/mysql-5.5.9

hit the enter key. Next, type 

sudo make -j2

and then hit the enter key (the previous command compiles MySQL).

The next command will create the lib/mysql directory in your mysql installation.

sudo mkdir /Applications/MAMP/Library/lib/mysql

The next command will copy all of the files in the libmysql directory that end with the dylib extension to the newly created directory.

sudo cp libmysql/*.dylib /Applications/MAMP/Library/lib/mysql

The next command creates the include directory in the MAMP MySQL install.

sudo mkdir /Applications/MAMP/Library/include

The last command recursively copies the the include directory from the compiled MySQL files to the newly created MAMP include directory.

sudo cp -R include /Applications/MAMP/Library/include/mysql

Patching MAMP 2.0.5 to work with Sphinx 2.02

Last edited by Jonathan Fleckenstein on December 20, 2011

In order for MAMP to work with Sphinx it requires components that MAMP doesn't include by default. Whenever MAMP is upgraded you will have to re-install these components to get Sphinx to work again. Download the MAMP components(the 2.0.2 compenents are for the 2.0.5 MAMP) once they're done downloading unzip them. Once unzipped extract the mysql-5.5.9.tar.gz by double clicking it. Next, you'll have to install CMake to configure mysql for MAMP.

1

Installing CMake 2.8.6 on Mac OS X 10.6 or 10.7

1.2

Move CMake to the Applications Directory

Mount the CMake DMG and run the CMake installer. Near the end of the installer you will be asked if you want to install links so you can use CMake from the command line. If you plan to use CMake from the command line click the "Install Command Line Links" button.


Configure mysql with CMake to Make Compatible with MAMP

Last edited by Jonathan Fleckenstein on December 20, 2011

Launch the CMake application.

Click the "Browse Source..." button and navigate to the folder that you extracted mysql to. Do the same for the "Browse Build..." button. Also, make sure to check the "Advanced" checkbox. Once that's done click the "Configure" button in the lower left hand to get your configuration options.

Set the CMAKE_INSTALL_PREFIX to /Applications/MAMP/Library

Set the WITHOUT_SERVER option to true.

Next, click the "Add Entry" button. Set the Name to MYSQL_UNIX_ADDR Type to FILEPATH and the Value to /Applications/MAMP/tmp/mysql/mysql.sock

Once everything is all configured click the "Generate" button to generate the configuration files.



Move CMake to the Applications Directory

Last edited by Jonathan Fleckenstein on December 12, 2011

Mount the CMake DMG and run the CMake installer. Near the end of the installer you will be asked if you want to install links so you can use CMake from the command line. If you plan to use CMake from the command line click the "Install Command Line Links" button.



version .0015 Remote VPS