Hi,

I need to run a nodejs webserver on BeagleBone and BeagleBone Black. The 
factory image of Angstrom has an old version not compatible with modules I 
need (socket.io, serialport, ...)

Have a problem with installation from sources. Based on instructions from 
here: 
*http://www.armhf.com/index.php/node-js-for-the-beaglebone-black/*<http://www.armhf.com/index.php/node-js-for-the-beaglebone-black/>and
 here: 
*
http://vamfun.wordpress.com/2013/08/09/note-2-beaglebone-blackbuilding-openrov-software-with-angstrom/
*<http://vamfun.wordpress.com/2013/08/09/note-2-beaglebone-blackbuilding-openrov-software-with-angstrom/>I
 did the following:

root@beaglebone:~# uname -a

Linux beaglebone 3.8.13 #1 SMP Thu Sep 12 10:27:06 CEST 2013 armv7l 
GNU/Linux

root@beaglebone:~# opkg update

root@beaglebone:~# opkg install g++ curl pkg-config libv4l-dev libjpeg-dev 
build

-esial libssl-dev vim cmake

Package g++ (linaro-4.7-r9.3) installed in root is up to date.

Package curl (7.26.0-r1.10) installed in root is up to date.

Unknown package 'pkg-config'.

Package libv4l-dev (0.8.8-r2.7) installed in root is up to date.

Package libjpeg-dev (8d+1.2.1-r2.7) installed in root is up to date.

Unknown package 'build-essential'.

Unknown package 'libssl-dev'.

Package vim (7.2.446-r11.3.7) installed in root is up to date.

Package cmake (2.8.8-r0.0.4) installed in root is up to date.

Collected errors:

 * opkg_install_cmd: Cannot install package pkg-config.

 * opkg_install_cmd: Cannot install package build-essential.

 * opkg_install_cmd: Cannot install package libssl-dev.

root@beaglebone:~# opkg install packagegroup-core-buildessential-dev 
1.0-r0.4

Package packagegroup-core-buildessential-dev (1.0-r0.4) installed in root 
is up

to date.

Unknown package '1.0-r0.4'.

Collected errors:

 * opkg_install_cmd: Cannot install package 1.0-r0.4.

root@beaglebone:~# wget *
http://nodejs.org/dist/v0.10.20/node-v0.10.20.tar.gz*<http://nodejs.org/dist/v0.10.20/node-v0.10.20.tar.gz>

root@beaglebone:~# tar xzvf node-v0.10.20.tar.gz

...

root@beaglebone:~# cd node-v0.10.20

*root@beaglebone:~/node-v0.10.20#* <root@beaglebone:~/node-v0.10.20>

root@beaglebone:~/node-v0.10.20# ./configure --without-snapshot

Traceback (most recent call last):

  File "./configure", line 14, in <module>

    from gyp.common import GetFlavor

  File "./tools/gyp/pylib/gyp/__init__.py", line 8, in <module>

    import gyp.input

  File "./tools/gyp/pylib/gyp/input.py", line 14, in <module>

    import gyp.common

  File "./tools/gyp/pylib/gyp/common.py", line 8, in <module>

    import filecmp

ImportError: No module named filecmp

root@beaglebone:~/node-v0.10.20#

 

Any advice?

 

Jan

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to