vendredi 4 novembre 2016

emberjs install on ubuntu

Any on help me..

I want to install emberjs on my ubuntu system..

I just follow emberjs official site and install ebmerjs..

When i check ember versition..i have a 'watchman' error..

I use this command line

ember -v

And i have error look like this...

Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ift.tt/22TlJJ7 for more info.
ember-cli: 2.9.1
node: 6.2.2
os: linux ia32

I tried to solve this error and follow this link,but i have another error

This is my stpes:

    // installing watchman from source
    git clone http://ift.tt/1NDIdGH
    cd watchman
    ./autogen.sh
    ./configure
    make
    sudo make install

When i put make command

I have error look like

make  all-am
make[1]: Entering directory '/home/karthick/watchman'
cd python && /usr/bin/python ./setup.py clean build_py -c -d . build_ext -i
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running clean
removing 'build/temp.linux-i686-2.7' (and everything under it)
error removing build/temp.linux-i686-2.7: [Errno 13] Permission denied: 'build/temp.linux-i686-2.7/pywatchman'
error removing build/temp.linux-i686-2.7: [Errno 13] Permission denied: 'build/temp.linux-i686-2.7'
running build_py
running build_ext
building 'pywatchman.bser' extension
i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c pywatchman/bser.c -o build/temp.linux-i686-2.7/pywatchman/bser.o
pywatchman/bser.c:31:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
error: command 'i686-linux-gnu-gcc' failed with exit status 1
Makefile:4139: recipe for target 'py-build' failed
make[1]: *** [py-build] Error 1
make[1]: Leaving directory '/home/karthick/watchman'
Makefile:899: recipe for target 'all' failed
make: *** [all] Error 2

Any one Help me :( :(




Aucun commentaire:

Enregistrer un commentaire