After reading and seeing all the hype by Mr King ‘The King Of Shaves’, I bought in to the idea that there is a cheaper, better alternative to the big two names in shaving. How wrong was I? Continue reading ‘Is the Azor the worst razor?’
Debian and ant: No supported regular expression matcher found
Published June 11th, 2008 in Stuff. 0 CommentsAnother one of those “why is this thing not working in Debian!” problem.
The answer is:
apt-get install ant-optional
Why or why is ant not fully installed with the ant package?
Urgh!
This is a brief post on how to get Perl’s DBD::mysql working with MAMP 1.7 on Mac OS X Leopard. The instructions for now, are quite concise.
I have found that using CPAN does not seem to work to install DBD::mysql when you only have MAMP installed. The CPAN commands:
perl -MCPAN -eshell install DBD::mysql
This I think is due to MAMP not having the correct MySQL files or libraries installed. Below are the steps required to get DBD::mysql working.
Note: You will probably need XCode tools installed to be able to compile the MySQL libraries.
1. Install the header files
Download the full MAMP packages.
The file that you need is called something like MAMP_1.7_intel_full.dmg.
This image contains the required files. Copy:
cp -r /Volumes/MAMP/MAMP/Library/include /Applications/MAMP/Library
2. Install the MySQL client libraries
- Download the MAMP sources. MAMP_1.7_src.tar.gz
- Untar
- Untar the mysql archive file
- Change directory to the mysql directory
- Configure and build mysql
./configure --with-unix-socket-path=/Applications/MAMP/tmp/mysql/mysql.sock \ --without-server \ --prefix=/Applications/MAMP/Library make -j2 - Copy libraries
cp libmysql/.libs/*.dylib /Applications/MAMP/Library/lib/mysql
3. Build and install DBD::mysql
- Download DBD-mysql-4.006.tar.gz or similar from CPAN. (Or use the one in ~/.cpan/build/DBD-mysql-4.006)
- Build
perl Makefile.PL --CFLAGS="-I/Applications/MAMP/Library/include/mysql -Os -arch i386 -fno-common" \ --libs="-L/Applications/MAMP/Library/lib/mysql -lmysqlclient -lz -lm" \ --mysql_config="/Applications/MAMP/Library/bin/mysql_config" make make test sudo make install
Make test may throws errors about connecting to the database server but should not throw an errors about using shared libraries or missing symbols.
A few months have passed since the passing of old John Young and not much has changed.
Young’s is now brewed by Wells in Bedford.
No longer in Wandsworth. No longer local. No longer drunk by me.
Well, well, Wells.
[http://findarticles.com/p/articles/mi_qn4158/is_20060919/ai_n16732935]
John Young, the oldest and longest-serving chairman in the brewing industry, died on Sunday night aged 85, after a long battle against cancer. He had headed the family’s brewery in Wandsworth, southwest London, for 44 years.
Mr Young was the great-great-grandson of Charles Allen Young, one of two businessmen who took over the 16th-century Ram Brewery in 1831 and founded Young & Co. John Young’s death came in the week that Young’s beers are being brewed in Wandsworth for the last time. In May, the company said the Ram Brewery was to be sold for redevelopment, with production transferred to Bedford in a deal with the Bedford brewer, Charles Wells.
Mr Young, who was known as Mr John at the brewery, joined the family business in 1954 after serving as a fighter pilot with the Fleet Air Arm during the Second World War and after a spell in merchant shipping. He became chairman and chief executive of the brewery in 1962 when his father, William Allen Young, retired and reverted to executive chairman in 1999.
John Young was well-known for his support of regional brewing and real ale. In the 1960s he promoted draught beer rather than keg beers favoured by other brewers.
[http://news.independent.co.uk/people/obituaries/article1621745.ece]
