Re: snapshooter on OS X

2007-04-24 Thread Grant Ingersoll
That was it, now runs past that and hits the known issue of cp -l. I will file a bug for that issue. If no one else gets to it first, I will try to run all the scripts, etc. on OS X after ApacheCon to see if there are any other issues. On Apr 24, 2007, at 9:54 AM, Yonik Seeley wrote: O

Re: snapshooter on OS X

2007-04-24 Thread Bertrand Delacretaz
On 4/24/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: ...++ . /apache-solr-1.1.0-incubating/example/solr/conf/ scripts.conf +++ $'\r' : command not found /apache-solr-1.1.0-incubating/example/... Not sure what $'\r' means exactly, but it might indicate invalid characters either in the snapsho

Re: snapshooter on OS X

2007-04-24 Thread Yonik Seeley
On 4/24/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: Scripts.conf is: [...] Could you try running dos2unix on this file (or maybe try a nightly build)? -Yonik

Re: snapshooter on OS X

2007-04-24 Thread Grant Ingersoll
You can also run the script with the -V option. It shows debugging info but not as much as "bash -x". I tried snapshooter on OS X 10.4.9. I did get the "cp: illegal option -- l" error. But that's the only error I got. Bill On 4/23/07, Bertrand Delacretaz <[

Re: snapshooter on OS X

2007-04-23 Thread Bill Au
You can also run the script with the -V option. It shows debugging info but not as much as "bash -x". I tried snapshooter on OS X 10.4.9. I did get the "cp: illegal option -- l" error. But that's the only error I got. Bill On 4/23/07, Bertrand Delacretaz <[EMAIL

Re: snapshooter on OS X

2007-04-22 Thread Bertrand Delacretaz
On 4/23/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: ...The error says something about command not found line 15, but all the files I looked at, line 15 was a comment... Running your script with bash -x myscript should help, it will echo commands before executing them. -Bertrand

Re: snapshooter on OS X

2007-04-22 Thread Yonik Seeley
On 4/22/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: Should we have separate directories under bin for different platforms or should we try to have one script to rule them all? I think we should try to keep the same scripts until it becomes too burdensome. -Yonik

Re: snapshooter on OS X

2007-04-22 Thread Grant Ingersoll
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 r

Re: snapshooter on OS X

2007-04-22 Thread Bill Au
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 w

snapshooter on OS X

2007-04-21 Thread Grant Ingersoll
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_roo