You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@predictionio.apache.org by "Takahiro Hagino (JIRA)" <ji...@apache.org> on 2016/11/21 02:17:58 UTC

[jira] [Created] (PIO-46) On BSD machines the pio command does not work

Takahiro Hagino created PIO-46:
----------------------------------

             Summary:  On BSD machines the pio command does not work
                 Key: PIO-46
                 URL: https://issues.apache.org/jira/browse/PIO-46
             Project: PredictionIO
          Issue Type: Bug
    Affects Versions: 0.10.0-incubating
         Environment: MacOS Sierra version 10.12.1
            Reporter: Takahiro Hagino


Thanks for pio script's supporting soft link.
#289 https://github.com/apache/incubator-predictionio/pull/289

But readlink -f doesn't seem to work on Mac and possibly BSD based systems.
As execute pio script, the following errors occurs.

```
readlink: illegal option -- f
usage: readlink [-n] [file ...]
usage: dirname path
bin/pio: line 45: //bin/pio-class: No such file or directory
bin/pio: line 45: exec: //bin/pio-class: cannot execute: No such file or directory
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)