You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Bill Au (JIRA)" <ji...@apache.org> on 2007/08/06 20:33:59 UTC

[jira] Commented: (SOLR-327) shell scripts failed to run on Solaris 8 (and probably other non recent UNIX)

    [ https://issues.apache.org/jira/browse/SOLR-327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517996 ] 

Bill Au commented on SOLR-327:
------------------------------

The latest version of the scripts no longer use "cp -l" on Solaris:

https://issues.apache.org/jira/browse/SOLR-282

I no longer have access to a Solaris machine so I cannot check myself but according to the Solaris 8 documentation published by SUN pgrep is available on Solaris 8:

http://docs.sun.com/app/docs/doc/806-0624/6j9vek5cu?a=view

What other incompatibilities have you come across?

> shell scripts failed to run on Solaris 8 (and probably other non recent UNIX)
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-327
>                 URL: https://issues.apache.org/jira/browse/SOLR-327
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Paul Sundling
>            Priority: Minor
>
> There are several places where commands used are incompatible with older UNIX versions, even though these capabilities are present.  There are ways to rewrite the shell scripts to be compatible with these older versions.
> The first example is the use of pgrep.  Older machines will have grep, egrep and fgrep, but NOT pgrep. I've been doing UNIX for well over a decade and never heard of pgrep, although it is installed on my home server apparently. :)
> There are also enhancements like the use of  'cp -l'.  This could be accomplished with the 'ln' command instead on older UNIX versions.  Since it's also used recursively in snapshooter, which 'ln' doesn't support, it makes the command more complex.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.