Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

install errors on windows No such file or directory Getting source files #22

Open
senrabc opened this issue Jul 31, 2018 · 1 comment
Open

Comments

@senrabc
Copy link
Contributor

senrabc commented Jul 31, 2018

Hi Chris,

Thanks for your response and helping me finding solution for issues/errors. I have REDCap instance already installed my local computer, I followed the instructions given by you for deploying redi2 at the link,
But I am getting the below error, while I provided the correct path and checked the executable mode for all the scripts.

$ bash install_normal.sh
Deploying RED-I 2!
bash: C:/redi/redi2/build_scripts/build_scripts/setup_directories.sh: No such file or directory
Getting source files
install_normal.sh: line 6: pushd: redi2: No such file or directory
install_normal.sh: line 7: pushd: repos: No such file or directory
bash: C:/redi/redi2/build_scripts/build_scripts/get_source.sh: No such file or directory
bash: C:/redi/redi2/build_scripts/build_scripts/install_packages.sh: No such file or directory
install_normal.sh: line 11: popd: directory stack empty
install_normal.sh: line 12: popd: directory stack empty
bash: C:/rediredi2/build_scripts/build_scripts/new_site.sh: No such file or directory
Check in redi2/redi2/NEW_SITE for an example

Thanks
Ruchi

@senrabc
Copy link
Contributor Author

senrabc commented Jul 31, 2018

Hi Ruchi,

This install script was written for auto installing redi2 on ubuntu/debian flavors of linux that have bash and GNU utilities. I'm wondering if bash on Windows does not have 'pushd" and 'popd'. These utilities manipulate directory context in a shell script.

These lines from your message lead me to believe that is the problem:

install_normal.sh: line 6: pushd: redi2: No such file or directory
install_normal.sh: line 7: pushd: repos: No such file or directory
bash: C:/redi/redi2/build_scripts/build_scripts/get_source.sh: No such file or directory
bash: C:/redi/redi2/build_scripts/build_scripts/install_packages.sh: No such file or directory

A little googling found a quick tutorial on getting an Ubuntu Vagrant running on Windows. That is my recommendation for a next step:

https://www.sitepoint.com/getting-started-vagrant-windows/

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

No branches or pull requests

1 participant