I am using the solr home that comes with the example. The curious thing is I get the error in item 1 when running on linux, as well. The error says something about command not found line 15, but all the files I looked at, line 15 was a comment. I _think_ it is referring to an error in reading scripts.conf, but I am not sure.

I will put a bug in for the link issue for now and try to write up some scripts that work on OS X after ApacheCon. I will also _try_ to investigate the other issue when time permits. Should we have separate directories under bin for different platforms or should we try to have one script to rule them all?

On Apr 22, 2007, at 10:18 PM, Bill Au wrote:

What does your directory structure look like?  The scripts assume that
all the scripts are in the bin directory which is under $solr_root.
So $solr_root is set to be two directory level up from where the
script is.

It turns the cp command in OS X and BSD can not be used to create hard links.
We will need to use the ln command instead.

Bill

On 4/21/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote:
Has anyone run the distribution scripts successfully on OS X?  If so,
what did you have to change, if anything, to get them to work?

I'm getting a couple of issues in snapshooter:
1.  The line . ${solr_root}/bin/scripts-util fails saying command not
found.  This is presumably because solr_root is not being set

2. The cp command fails when trying to make the links b/c the -l
attributed does not seem to exist for the cp command on OS X

I am running bash 3.2.0 on 10.4.9


Thanks,
Grant



Reply via email to