From a fresh git clone, running a command "sh install_all.sh" doesn't work. I got the following error messages:
make: *** No rule to make target all'. Stop. cp: cannot stat ‘OpenCCTVServer_Starter’: No such file or directory cp: cannot stat ‘opencctv-server.config’: No such file or directory cp: cannot stat ‘opencctv-server_starter.config’: No such file or directory -e Done. OpenCCTV Server Starter installed at /usr/local/opencctv/OpenCCTVServerStarter/. -e *Building OpenCCTV Server... install_all.sh: 23: cd: can't cd to ../../OpenCCTVServer/Release/ make: *** No rule to make targetall'. Stop.
cp: cannot stat ‘OpenCCTVServer’: No such file or directory
-e Done. OpenCCTV Server installed at /usr/local/opencctv/OpenCCTVServer/.
-e Building Analytic Starter...
install_all.sh: 34: cd: can't cd to ../../AnalyticStarter/Release/
make: ** No rule to make target all'. Stop. cp: cannot stat ‘AnalyticStarter’: No such file or directory cp: cannot stat ‘analytic-server.config’: No such file or directory cp: cannot stat ‘analytic-runner.config’: No such file or directory -e Done. Analytic Starter installed at /usr/local/opencctv/AnalyticStarter. -e *Building Analytic Runner... install_all.sh: 44: cd: can't cd to ../../AnalyticRunner/Release/ make: *** No rule to make targetall'. Stop.
cp: cannot stat ‘AnalyticRunner’: No such file or directory
-e Done. Analytic Runner installed at /usr/local/opencctv/AnalyticRunner.
-e Setup Web Application...
install_all.sh: 54: cd: can't cd to ../../OpenCCTVWeb/app/assets/programs/PluginArchiveValidator/Release/
make: ** No rule to make target `all'. Stop.
cp: cannot stat ‘OpenCCTVWeb/’: No such file or directory
-e Done. OpenCCTV Web Application setup at /usr/local/opencctv/AnalyticRunner.
-e OpenCCTV installation Done.
So, need to fix this shell script for installation.
From a fresh git clone, running a command "sh install_all.sh" doesn't work. I got the following error messages:
make: *** No rule to make target
all'. Stop. cp: cannot stat ‘OpenCCTVServer_Starter’: No such file or directory cp: cannot stat ‘opencctv-server.config’: No such file or directory cp: cannot stat ‘opencctv-server_starter.config’: No such file or directory -e Done. OpenCCTV Server Starter installed at /usr/local/opencctv/OpenCCTVServerStarter/. -e *Building OpenCCTV Server... install_all.sh: 23: cd: can't cd to ../../OpenCCTVServer/Release/ make: *** No rule to make targetall'. Stop.cp: cannot stat ‘OpenCCTVServer’: No such file or directory
-e Done. OpenCCTV Server installed at /usr/local/opencctv/OpenCCTVServer/.
-e Building Analytic Starter...
install_all.sh: 34: cd: can't cd to ../../AnalyticStarter/Release/
make: ** No rule to make target
all'. Stop. cp: cannot stat ‘AnalyticStarter’: No such file or directory cp: cannot stat ‘analytic-server.config’: No such file or directory cp: cannot stat ‘analytic-runner.config’: No such file or directory -e Done. Analytic Starter installed at /usr/local/opencctv/AnalyticStarter. -e *Building Analytic Runner... install_all.sh: 44: cd: can't cd to ../../AnalyticRunner/Release/ make: *** No rule to make targetall'. Stop.cp: cannot stat ‘AnalyticRunner’: No such file or directory
-e Done. Analytic Runner installed at /usr/local/opencctv/AnalyticRunner.
-e Setup Web Application...
install_all.sh: 54: cd: can't cd to ../../OpenCCTVWeb/app/assets/programs/PluginArchiveValidator/Release/
make: ** No rule to make target `all'. Stop.
cp: cannot stat ‘OpenCCTVWeb/’: No such file or directory
-e Done. OpenCCTV Web Application setup at /usr/local/opencctv/AnalyticRunner.
-e OpenCCTV installation Done.
So, need to fix this shell script for installation.