I am trying to install the Licode on a fresh Ubunto 14 server by following the guide located at http://lynckia.com/licode/install.html
unfortunately I have encountered several areas where I got stuck which needs to be mentioned in the document for easy process, first I had to install the openssl and then doxygen was required, further it is now using NVM so that had to be installed too. Once these items were installed I was able to move further, however now I get stuck at the following when running installErizo script:
I would appreciate if someone can assistā¦ I am unable to perform the Make and getting the message: No rule to make target `//licode/erizo/build/allā. Stop.
Following is the output when installing erizo:
root@ubuntu:/# ./licode/scripts/installErizo.sh
Installing erizoā¦
ā Found Doxygen: /usr/bin/doxygen (found version ā1.8.6ā)
ā Found glib-2.0: /usr/include/glib-2.0, /usr/lib/x86_64-linux-gnu/libglib-2.0.so;/usr/lib/x86_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-gnu/libgthread-2.0.so
ā Boost version: 1.54.0
ā Found the following Boost libraries:
ā thread
ā regex
ā system
ā Found glib-2.0: /usr/include/glib-2.0, /usr/lib/x86_64-linux-gnu/libglib-2.0.so;/usr/lib/x86_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-gnu/libgthread-2.0.so
ā Boost version: 1.54.0
ā Found the following Boost libraries:
ā thread
ā regex
ā system
ā Configuring done
ā Generating done
ā Build files have been written to: //licode/erizo/build
Done
make[1]: *** No rule to make target `//licode/erizo/build/allā. Stop.
make: *** [all] Error 2
root@ubuntu:/licode/erizo/build# ls
CMakeCache.txt cmake_install.cmake Doxyfile libdeps test
CMakeFiles CTestTestfile.cmake erizo Makefile third_party
root@ubuntu:/licode/erizo/build#
The Licode documentation is not up to date. With the current codebase installation goes fine if you download the repository and use the commands
cd licode
./scripts/installUbuntuDeps.sh
If I remember right, you have to run the installation of Erizo and Nuve from the licode directory also.
Hi Alvaro, last time I installed Licode on a clean machine the installation according to the documents failed due to Node Version Manager failure. But after doing ācd licodeā and running the installation script from that directory the installation worked. That was some weeks ago.
It is good if that has been corrected. I have not not checked the latest situation, I just have not been able to keep up with the fast changes in the codebase.
Thanks @jjahifi! I think now I understand what you mean. I didnāt realized you refer to the path from where the scripts are executed. I have to check it because probably you are right. Thanks for the report!
I have seen that the documentation is now updated with the cd licode and with altered script paths, however I am trying to do an install on a VM machine with Ubuntu 14 Server.
But when running the script I get the following errors:
root@ubuntu:~/licode# ./scripts/installUbuntuDeps.sh
Checking dir /root/licode/build/libdeps/nvm
Running nvm
Found ā/root/licode/.nvmrcā with version <6.9.2>
v6.9.2 is already installed.
Now using node v6.9.2 (npm v3.10.9)
Found ā/root/licode/.nvmrcā with version <6.9.2>
Now using node v6.9.2 (npm v3.10.9)
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv ā/root/licode/build/libdeps/nvm/versions/node/v6.9.2/bin/nodeā ā/root/licode/build/libdeps/nvm/versions/node/v6.9.2/bin/npmā āinstallā ā-gā "node-gyp"
npm ERR! node v6.9.2
npm ERR! npm v3.10.9
npm ERR! file /root/.npm/node-gyp/3.5.0/package/package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /root/.npm/node-gyp/3.5.0/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! /root/licode/npm-debug.log
gpg: keyring /tmp/tmpd0_kgng1/secring.gpg' created gpg: keyring/tmp/tmpd0_kgng1/pubring.gpgā created
gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpd0_kgng1/trustdb.gpg: trustdb created
gpg: key BA9EF27F: public key āLaunchpad Toolchain buildsā imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ā¦
Reading package listsā¦ Done
update-alternatives: error: alternative path /usr/bin/gcc-5 doesnāt exist
No http proxy set, doing nothing
No https proxy set, doing nothing
ā¦
configure: creating ./config.status
config.status: creating Makefile
config.status: creating crypto/Makefile
config.status: creating doc/Makefile
config.status: creating crypto/include/config.h
./scripts/installUbuntuDeps.sh: line 197: make: command not found
./scripts/installUbuntuDeps.sh: line 198: make: command not found
./scripts/installUbuntuDeps.sh: line 199: make: command not found
Looks like something basic is missingā¦
assistance is appreciatedā¦
That version (14.04.5) should work. I have, however, made my installations in a bit different way.
I have never installed Licode as root. I have always created a specific (non-root but with administrative privileges) user and done the installation as that user. In addition, I like to use graphical interfaces even with servers, and for that reason I have installed a desktop before installing Licode.
I would recommend you to try installation as some other user.
I have a fresh installation of 14.04 Ubuntu AMD 64bit server
I created another user gave admin privileges to it,
This time the ./scripts/installUbuntuDeps.sh script went little further with only few errors, however when the installErizo.sh is run I go the following errors and I needed to instal gcc manually:
zrg@ubuntu:/licode$ sudo ./scripts/installErizo.sh
Installing erizoā¦
ā Found glib-2.0: /usr/include/glib-2.0, /usr/lib/x86_64-linux-gnu/libglib-2.0.so;/usr/lib/x86_64-linux-gnu/libgobject-2.0.so;/usr/lib/x86_64-linux-gnu/libgthread-2.0.so
ā Boost version: 1.54.0
ā Found the following Boost libraries:
ā thread
ā regex
ā system
CMake Error at erizo/CMakeLists.txt:6 (message):
lib not found: NICE-NOTFOUND check README
Call Stack (most recent call first):
erizo/CMakeLists.txt:50 (test_lib)
ā Configuring incomplete, errors occurred!
See also ā/licode/erizo/build/CMakeFiles/CMakeOutput.logā.
zrg@ubuntu:/licode$
Something is still wrong, May be I need to have a desktop version of ubuntuā¦
can you send me the download link of the working ubuntu ISO