Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git installation troubles #6

Closed
cboden opened this issue May 7, 2015 · 4 comments · Fixed by #16
Closed

Git installation troubles #6

cboden opened this issue May 7, 2015 · 4 comments · Fixed by #16

Comments

@cboden
Copy link

cboden commented May 7, 2015

I have a couple issues with the installation via git. I'm on OS X 10.10.3 with Python 2.7.6.

  1. The installation instructions create a cyclic symbolic link: ls -ltr | tail -n 1

lrwxr-xr-x (etc) fpp -> ./fpp

Adjusting the ln command to use the full path for the source fixes that.

  1. After the symbolic link is setup correctly I get the following error when running fpp --help:

/usr/local/bin/fpp: line 18: cd: /usr/local/bin//usr/local/PathPicker: No such file or directory
python: can't open file '/src/printHelp.py': [Errno 2] No such file or directory

I have placed PathPicker in /usr/local/PathPicker and linked the binary to /usr/local/bin/fpp.

@kkoch986
Copy link

kkoch986 commented May 7, 2015

had the exact same experience, fixed by changing

while [ -h "$WHEREAMI" ]; do
  WHEREAMI=$(dirname "$WHEREAMI")"/"$(readlink "$WHEREAMI")
done

to

while [ -h "$WHEREAMI" ]; do
  WHEREAMI=$(readlink "$WHEREAMI")
done

frantic added a commit to frantic/PathPicker that referenced this issue May 7, 2015
I have fpp repo checked out locally, the binary is symlinked to my
`~/bin` which is also a symlink to some other place. Running `fpp`
used to show "No such file or directory".

I took this code from the internet and it seems to do the job well.

Fixes facebook#6
@frantic
Copy link
Contributor

frantic commented May 7, 2015

@cboden, @kkoch986 - could you please try #16 and see if it works for you?

@kkoch986
Copy link

kkoch986 commented May 7, 2015

works for me

@cboden
Copy link
Author

cboden commented May 7, 2015

works for me as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants