VitaHound is recognized as a leader in pet nutrition science. The VitaHound website reports daily on current discoveries in pet nutrition and the products that serve the dog supplement industry. Our readers have discovered what the single most important aspect of dog health is. In addition to our site's library of info, VitaHound features articles vital to a dogs well being, and essential to avoiding veterinarian bills not covered by any health insurance. For instance our product for cleaning dog teeth is far superior to any other product available, and VitaHound offers it at the lowest price guaranteed. It is our industry leading research in dog health that allows us to determine the most effective products for improving dog health.
Hi,
the launch of the. / configure script of php 5.2.12 I get the following error:
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
but the socket location is right!
How can I fix?
Thanks!
Thanks very much for the how-to. While I was compiling PHP, I received a "mysql configure failed" message, which prevented me from being able to make and install. Any ideas why?
Me working as a computer, but there was false positive from anti spam. So here is the message James McCarthy mailed in:
---------------------
this was an excellent write-up! thank you. it worked and now my local dev env. is happy with mcrypt :)
I had to make a few adjustments. the curl url fro freetype is now: http://nongnu.askapache.com/freetype/freetype-2.3.12.tar.bz2 and the curl URL for libmcrypt is broken.
i tried http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8 but couldn't get it to download so I download, decompressed and moved via finder and then could run configure, make, etc.
I added a 'hacky fix' to get ssh to port forward 8082 to port 80 to make DAMP work on localhost. It's in the comments on http://acquia.com/node/1170832 I'm not sure how to turn it off though :^) a restart should do.
@Josh P
You just don't make sense :
I will delete all .svn folders recursively, then create a new site in Coda, then delete the old one, then go back to Coda to be able to make a brand new checkout… pfffuiiii…If what you are trying to achieve is to change the Repository URL :
1-in Coda note down your site specs
2-delete site
3-create new site
4-checkout
If you're like me and make silly mistakes, I implemented your ln fix before launching MAMP. Reversing my steps, I see it was not necessary at all (10.6, running MAMP).
For me, the message was:
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2)
Actually your article was among the most useful. Peculiar enough how you can find the majority of Drupal related/powered posts on this issue on first pages of Google :)
I'm just trying to keep amount of PHP libs minimal to keep up with "average" hosting setup of my clients. So I'll stick with this PHP configuration for a while.
And as of OSX 10.6.3 Apple supplies updated PHP (5.3.1) so my backup line in the bottom of the blog was so helpful :) 5.2.12 was backed up and working in a min.
Thank you so much for such a great write-up! I wanted to let you know that there seems to be a typo in the configure script for the php compilation. Shouldn't there be a '\' at the end of the line "--enable-soap"? Thanks again!
This worked great! Countless days and night trying to get it right. Awesome! Thank you. Worked on my desktop P4 2.8 800Fsb Nvidia GeForce 5200 Dual vga Kogi 17" LCD Linux Mint 8 KDE.
@malvese oh so so true. Just shocked by amount tourists with 3 SLRs (5D+ +L lense) for family of 1.5 this summer. Credit crunch you say?
—
4 days 15 hours ago
I wonder whether it is legal to http://www.torrentbasket.com/htc-tytn-unlock download films by means of torrent files
VitaHound is recognized as a leader in pet nutrition science. The VitaHound website reports daily on current discoveries in pet nutrition and the products that serve the dog supplement industry. Our readers have discovered what the single most important aspect of dog health is. In addition to our site's library of info, VitaHound features articles vital to a dogs well being, and essential to avoiding veterinarian bills not covered by any health insurance. For instance our product for cleaning dog teeth is far superior to any other product available, and VitaHound offers it at the lowest price guaranteed. It is our industry leading research in dog health that allows us to determine the most effective products for improving dog health.
Hi,
the launch of the. / configure script of php 5.2.12 I get the following error:
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
but the socket location is right!
How can I fix?
Thanks!
Just wanted to say thanks for the info on how to install Lynx!
This will be great for testing my website!
Thanks Tim!
Sorry, missed the step. And just updated the blog post with step #0.
Most probably you missed installing MySQL from official site. Hope it helps.
Thanks very much for the how-to. While I was compiling PHP, I received a "mysql configure failed" message, which prevented me from being able to make and install. Any ideas why?
Thanks!
Me working as a computer, but there was false positive from anti spam. So here is the message James McCarthy mailed in:
---------------------
this was an excellent write-up! thank you. it worked and now my local dev env. is happy with mcrypt :)
I had to make a few adjustments. the curl url fro freetype is now: http://nongnu.askapache.com/freetype/freetype-2.3.12.tar.bz2 and the curl URL for libmcrypt is broken.
i tried http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8 but couldn't get it to download so I download, decompressed and moved via finder and then could run configure, make, etc.
Again thanks!
Echt super diese aufnahme gefällt mir richtig gut.
Yep, it's hacky. But you should be able to put it in .sh and run at startup. Nice idea though!
You only need to run those commands once. Make sure your MAMP is running before you try this in terminal.
Open up a new Terminal and enter the following:
(Anytime you see a dollar sign before a command, it means do it in terminal w/o the dollar sign)
$mysql -u username -p
This should prompt you for your mysql password
After you type in your MYSQL password, the command line will change to
mysql >
You can use the command "show databases;" minus the quotes to see all your databases in the terminal window.
Example, your terminal window should look like this
mysql > show databases;
You can also enter Queries via the mysql > prompt
Example
Make sure you've selected what database to use, with the USE command first "USE exampledatabase" or you'll get an error.
mysql > USE exampledatabase;
..
To do a simple select it is like so:
mysql > SELECT * FROM exampletable;
I added a 'hacky fix' to get ssh to port forward 8082 to port 80 to make DAMP work on localhost. It's in the comments on http://acquia.com/node/1170832 I'm not sure how to turn it off though :^) a restart should do.
I´m sorry, I´m not an experimented developer, after reading your post what I understood is that I open terminal and type :
sudo mkdir /var/mysql
sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
sudo chown _mysql /var/mysql/mysql.sock
sudo chmod 777 /var/mysql/mysql.sock
but just after I type the first line:
udo mkdir /var/mysql
I´m prompted to write my password, after I write my password, I placed the next 3 lines:
sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
sudo chown _mysql /var/mysql/mysql.sock
sudo chmod 777 /var/mysql/mysql.sock
and I don´t receive any answer from the terminal...
close terminal and paste the final update:
echo 'export PATH=/Applications/MAMP/Library/bin:$PATH' >> ~/.bash_profile
and still can´t start any mysql server, I´m running 10.6.2... am I doing it all wrong?
Hope you can help me.
Thanks in advanced!
Super die Farben großartige aufnahme.
Super Perspektive eich echter Hingucker, gratuliere.
@Josh P
You just don't make sense :
I will delete all .svn folders recursively, then create a new site in Coda, then delete the old one, then go back to Coda to be able to make a brand new checkout… pfffuiiii…If what you are trying to achieve is to change the Repository URL :
1-in Coda note down your site specs
2-delete site
3-create new site
4-checkout
If you're like me and make silly mistakes, I implemented your ln fix before launching MAMP. Reversing my steps, I see it was not necessary at all (10.6, running MAMP).
For me, the message was:
$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2)
hth
Oh, hey! And thanks.
Actually your article was among the most useful. Peculiar enough how you can find the majority of Drupal related/powered posts on this issue on first pages of Google :)
I'm just trying to keep amount of PHP libs minimal to keep up with "average" hosting setup of my clients. So I'll stick with this PHP configuration for a while.
Acquia Drupal Stack (http://acquia.com/downloads) is lovely as well actually but not in last versions for me: http://acquia.com/node/1170832
Hi,
Thanks for linking back to my pixelchimp instructions, I just stumbled across this post as I am reinstalling PHP, Mysql for Drupal 5 & 6 on 10.6.3.
I have added a few more updates since I used PHP 5.2.13 & newer libraries, lets hope they work with Drupal :^)
thanks, you are my hero! :)
Thanks Jay,
This was really a typo. I just fixed it.
And as of OSX 10.6.3 Apple supplies updated PHP (5.3.1) so my backup line in the bottom of the blog was so helpful :) 5.2.12 was backed up and working in a min.
Thank you so much for such a great write-up! I wanted to let you know that there seems to be a typo in the configure script for the php compilation. Shouldn't there be a '\' at the end of the line "--enable-soap"? Thanks again!
I'm not sure where it is but if you look real close on the tables, it looks like it says "Morgans". Great photo!
It also worked with arch linux, thank you
Nice! Then we could assume this tip will work on much more Ubuntu based distributions then I thought (like Linux Mint, Xubuntu and so on).
This worked great! Countless days and night trying to get it right. Awesome! Thank you. Worked on my desktop P4 2.8 800Fsb Nvidia GeForce 5200 Dual vga Kogi 17" LCD Linux Mint 8 KDE.