[Bug 732704] Review Request: npm - Node.js Package Manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=732704

--- Comment #2 from Matěj Cepl <mcepl@xxxxxxxxxx> 2011-08-26 07:09:35 EDT ---
Yes, libxmljs doesn't build even with the packaged npm

bradford:nodejs $ rpm -qf `which npm`
npm-1.0.26-1.fc16.noarch
bradford:nodejs $ npm install libxmljs

> libxmljs@0.4.2 preinstall /tmp/node_modules/libxmljs
> make node

scons: Reading SConscript files ...
Checking for node.js ...(cached) yes
True
Checking for C++ library xml2... yes
Checking for node.js ...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/html_document.os -c -I/usr/include/libxml2 -g -O3 -DNDEBUG -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -rdynamic -D__POSIX__=1
-DHAVE_FDATASYNC=1 -DPLATFORM="linux" -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=1 -D_FORTIFY_SOURCE=2
-DHAVE_CONFIG_H=1 -DHAVE_OPENSSL=1 -I/usr/include/node -fPIC
src/html_document.cc
In file included from src/html_document.h:5:0,
                 from src/html_document.cc:2:
src/libxmljs.h:6:18: fatal error: node.h: No such file or directory
compilation terminated.
scons: *** [src/html_document.os] Error 1
scons: building terminated because of errors.
make: *** [node] Error 2
npm ERR! error installing libxmljs@0.4.2 Error: libxmljs@0.4.2 preinstall:
`make node`
npm ERR! error installing libxmljs@0.4.2 `sh "-c" "make node"` failed with 2
npm ERR! error installing libxmljs@0.4.2     at ChildProcess.<anonymous>
(/usr/lib/nodejs/npm/lib/utils/exec.js:49:20)
npm ERR! error installing libxmljs@0.4.2     at ChildProcess.emit
(events.js:67:17)
npm ERR! error installing libxmljs@0.4.2     at ChildProcess.onexit
(child_process.js:192:12)

> libxmljs@0.4.2 preuninstall /tmp/node_modules/libxmljs
> make clean

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
npm ERR! libxmljs@0.4.2 preinstall: `make node`
npm ERR! `sh "-c" "make node"` failed with 2
npm ERR! 
npm ERR! Failed at the libxmljs@0.4.2 preinstall script.
npm ERR! This is most likely a problem with the libxmljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     make node
npm ERR! You can get their info via:
npm ERR!     npm owner ls libxmljs
npm ERR! There is likely additional logging output above.
npm ERR! 
npm ERR! System Linux 3.0.0-1.fc16.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "libxmljs"
npm ERR! cwd /tmp/nodejs
npm ERR! node -v v0.4.11
npm ERR! npm -v 1.0.26
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /tmp/nodejs/npm-debug.log
npm not ok
bradford:nodejs $

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]