Thx Jorge

Evidently I was wrong to go ahead and install npm in the usual way. There must be a separate version or switch option for installation on ARM.

More searching needed. There are several working node modules (eg http) in the distribution. The question is how were they installed?

Paul

At 04:01 PM 5/9/2012, you wrote:
On May 9, 2012, at 11:52 AM, paul_tanner wrote:

> Hi,
>
> Just got my beaglebone from farnell and hoping to start work with
> nodejs on it.
>
> It shipped with v0.4.12 and the Cloud9 IDE.
>
> On running the standard hello world script it thows errors to the
> effect that npm modules inotify and fibers were not installed.
> Presumably these are required by the IDE.
>
> So I tried npm install and found that npm was not present.  Installed
> that OK.
>
> Then installed inotify  ok
>
> The attempt to install fibers failed as follows:
>
> root@beaglebone:~# npm install fibers
>
>> [email protected] install /home/root/node_modules/fibers
>> make clean all
>
> make -C src clean
> make[1]: Entering directory `/home/root/node_modules/fibers/src'
> rm -f fibers.node libcoro.o coroutine.so
> rm -f -r *.dSYM
> make[1]: Leaving directory `/home/root/node_modules/fibers/src'
> rm -f -r man
> make -C src coroutine.so
> make[1]: Entering directory `/home/root/node_modules/fibers/src'
> cc  -Wall -Wno-deprecated-declarations -I/usr/include -I/usr/include/
> node -g -O3 -minline-all-stringops -m32 -DCORO_UCONTEXT -fPIC -c -o
> libcoro.o libcoro/coro.c
> cc1: error: unrecognized command line option "-minline-all-stringops"
> cc1: error: unrecognized command line option "-m32"

Neither -m32 nor -minline-all-stringops are valid gcc options for ARM (they're ok for i386 and x86-64), see http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc.pdf page 15-17
--
Jorge.

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Paul Tanner - Virtual Technologies - http://www.virtual-techno.com
Tel: +44 1494 581979 Mob: +44 7973 223239 mailto:[email protected]
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to