I'm not sure if this is a bug or if I didn't do something correctly. I did install twice and it did it both times.

At step 3 "verify requirements" I get "The Solr PHP library must be present in a sub-directory named SolrPhpClient. (Currently using Apache Solr PHP Client Library Missing. See the instructions in README.txt)"

This was on a new Linode I opened up just to try out this script. I'm very green when it comes to this so I have no idea what to do. I have a drupal 6 site already set up on another linode so I was just playing around and wanted to see how this all worked.

Comments

alforddm’s picture

I figured it out. Although the error said to see the readme.txt for more info I didn't find anything in the readme.txt file to tell me what to do. I googled and found the

http://code.google.com/p/solr-php-client/ be sure to get revision 22 and not 60.

And with a bit more searching found that I needed to put it in the /var/www/sites/all/modules/apachesolr/

Just wanted to post in case some other noob has the same problem.

saurabhk_97’s picture

Thanks alforddm. I had exactly the same error msg. I installed SolrPhpClient under /var/www/sites/all/modules/apachesolr/ using the following cmd:
svn checkout -r22 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient .

Then adjusted the file permissions:
chown -R root:www-data /var/www/sites/all/modules/apachesolr/SolrPhpClient

For additional help, search for SolrPhpClient at:
http://library.linode.com/application-stacks/project-mercury/ubuntu-10.0...

Regards,

Saurabh

justintime’s picture

According to the stackscript, bcfg2 is supposed to fetch that for you in Mercury 1.1. Unfortunately, I don't have a spare Linode to test this on right now. I'll keep this open until I do. Here's what the script did for manually installing it with mercury 1.0:

/usr/bin/wget http://solr-php-client.googlecode.com/files/SolrPhpClient.r22.2009-11-09.tgz -O /tmp/SolrPhpClient.tgz
tar -xvzf /tmp/SolrPhpClient.tgz -C /var/www/sites/all/modules/apachesolr/
saurabhk_97’s picture

Hi justintime,

Upon checking further, I do see that the stackscript fetched the SolrPhpClient, but in a different location - /var/www/sites/all/ instead of /var/www/sites/all/modules/apachesolr/.

Regards,

Saurabh

justintime’s picture

Status: Active » Fixed

The /etc/mercury/mercury.make file has a bug in it when used with a recent drush make. I've committed a change to the git source that fixes this. I'll push it to Linode later tonight.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.