Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support node 0.6.x #47

Closed
4media opened this issue Nov 6, 2011 · 10 comments
Closed

support node 0.6.x #47

4media opened this issue Nov 6, 2011 · 10 comments

Comments

@4media
Copy link

4media commented Nov 6, 2011

Hello,

when it is planned to support next stable node 0.6.x?

Thanks

@springmeyer
Copy link
Contributor

As soon as we have a spare moment, hopefully that will be early this coming week. thanks for your patience.

@springmeyer
Copy link
Contributor

This was referenced Nov 6, 2011
@gitawego
Copy link

gitawego commented Nov 7, 2011

I'm looking forward to it as well, because my entire project's database based on sqlite3, and I just accidentally upgraded to nodejs 0.6.0 :(

@4media
Copy link
Author

4media commented Nov 7, 2011

Cool!! You and kkaefer working at a 0.6 Version. I was a little hasty with my update.

Thank you for your prompt response and work.

@kkaefer
Copy link
Contributor

kkaefer commented Nov 8, 2011

2.1.x is compatible with node 0.6

@kkaefer kkaefer closed this as completed Nov 8, 2011
@4media
Copy link
Author

4media commented Nov 8, 2011

Unfortunately my first test failed with:

:::::::::::::bash output::::::::::::: for npm install -g sqlite3

> sqlite3@2.1.0 preinstall /root/.nvm/v0.6.0/lib/node_modules/sqlite3
> node-waf clean || true; node-waf configure build

Nothing to clean (project not configured)
Setting srcdir to                        : /root/.nvm/v0.6.0/lib/node_modules/sqlite3
Setting blddir to                        : /root/.nvm/v0.6.0/lib/node_modules/sqlite3/build
Checking for program g++ or c++          : /usr/bin/g++
Checking for program cpp                 : /usr/bin/cpp
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for g++                         : ok
Checking for node path                   : not found
Checking for node prefix                 : ok /root/.nvm/v0.6.0
Note: will build against internal copy of sqlite3 v3070800
(pass --with-sqlite3=/usr/local to build against an external version)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for fdatasync... yes
checking for usleep... yes
checking for fullfsync... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for library containing tgetent... -lcurses
checking for library containing readline... -lreadline
checking for readline... yes
checking for library containing pthread_create... -lpthread
checking for library containing dlopen... -ldl
checking for whether to support dynamic extensions... yes
checking for posix_fallocate... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: executing depfiles commands
'configure' finished successfully (9.542s)
Waf: Entering directory `/root/.nvm/v0.6.0/lib/node_modules/sqlite3/build'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.8\" -DPACKAGE_STRING=\"sqlite\ 3.7.8\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.8\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I.@am__isrc@    -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_RTREE=1 -fPIC -O3 -DNDEBUG -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c -o sqlite3.lo sqlite3.c
 gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.8\" "-DPACKAGE_STRING=\"sqlite 3.7.8\"" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.8\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I.@am__isrc@ -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_RTREE=1 -fPIC -O3 -DNDEBUG -MT sqlite3.lo -MD -MP -MF .deps/sqlite3.Tpo -c sqlite3.c -o sqlite3.o
mv -f .deps/sqlite3.Tpo .deps/sqlite3.Plo
/bin/bash ./libtool --tag=CC   --mode=link gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_RTREE=1 -fPIC -O3 -DNDEBUG -no-undefined -version-info 8:6:8  -o libsqlite3.la -rpath /usr/local/lib sqlite3.lo  -ldl -lpthread
mkdir .libs
ar cru .libs/libsqlite3.a  sqlite3.o
ranlib .libs/libsqlite3.a
creating libsqlite3.la
(cd .libs && rm -f libsqlite3.la && ln -s ../libsqlite3.la libsqlite3.la)
gcc -DPACKAGE_NAME=\"sqlite\" -DPACKAGE_TARNAME=\"sqlite\" -DPACKAGE_VERSION=\"3.7.8\" -DPACKAGE_STRING=\"sqlite\ 3.7.8\" -DPACKAGE_BUGREPORT=\"http://www.sqlite.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"sqlite\" -DVERSION=\"3.7.8\" -D_FILE_OFFSET_BITS=64 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_FDATASYNC=1 -DHAVE_USLEEP=1 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 -I.@am__isrc@    -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_RTREE=1 -fPIC -O3 -DNDEBUG -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.c
mv -f .deps/shell.Tpo .deps/shell.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_RTREE=1 -fPIC -O3 -DNDEBUG   -o sqlite3 shell.o ./libsqlite3.la -lreadline -lcurses  -ldl -lpthread
gcc -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_RTREE=1 -fPIC -O3 -DNDEBUG -o sqlite3 shell.o  ./.libs/libsqlite3.a -lreadline -lcurses -ldl -lpthread
[1/4] cxx: src/sqlite3.cc -> build/Release/src/sqlite3_1.o
In file included from ../src/sqlite3.cc:13:
../src/statement.h:4:21: error: node/v8.h: No such file or directory
../src/statement.h:5:23: error: node/node.h: No such file or directory
Waf: Leaving directory `/root/.nvm/v0.6.0/lib/node_modules/sqlite3/build'
Build failed:  -> task failed (err #1):
        {task: cxx sqlite3.cc -> sqlite3_1.o}
npm ERR! error installing sqlite3@2.1.0 Error: sqlite3@2.1.0 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! error installing sqlite3@2.1.0 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR! error installing sqlite3@2.1.0     at ChildProcess.<anonymous> (/root/.nvm/v0.6.0/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing sqlite3@2.1.0     at ChildProcess.emit (events.js:70:17)
npm ERR! error installing sqlite3@2.1.0     at maybeExit (child_process.js:359:16)
npm ERR! error installing sqlite3@2.1.0     at Process.onexit (child_process.js:395:5)
npm ERR! sqlite3@2.1.0 preinstall: `node-waf clean || true; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
npm ERR!
npm ERR! Failed at the sqlite3@2.1.0 preinstall script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf clean || true; node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-voyage
npm ERR! command "node" "/root/.nvm/v0.6.0/bin/npm" "install" "-g" "sqlite3"
npm ERR! cwd /root/.nvm/v0.6.0/lib
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.0.104
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/.nvm/v0.6.0/lib/npm-debug.log
npm not ok
:::::::::::::bash output:::::::::::::

:::::::::::::npm-debug.log:::::::::::::
info it worked if it ends with ok
verbose cli [ 'node', '/root/.nvm/v0.6.0/bin/npm', 'install', '-g', 'sqlite3' ]
info using npm@1.0.104
info using node@v0.6.0
verbose config file /root/.npmrc
verbose config file /root/.nvm/v0.6.0/etc/npmrc
verbose config file /root/.nvm/v0.6.0/lib/node_modules/npm/npmrc
silly exec /root/.nvm/v0.6.0/bin/node "/root/.nvm/v0.6.0/lib/node_modules/npm/bin/npm-get-uid-gid.js" "nobody" 0
silly spawning [ '/root/.nvm/v0.6.0/bin/node',
silly spawning   [ '/root/.nvm/v0.6.0/lib/node_modules/npm/bin/npm-get-uid-gid.js',
silly spawning     'nobody',
silly spawning     0 ],
silly spawning   null ]
silly output from getuid/gid {"uid":65534,"gid":0}
silly output from getuid/gid 
verbose into /root/.nvm/v0.6.0/lib [ 'sqlite3' ]
verbose cache add sqlite3
verbose cache add [ 'sqlite3', null ]
silly cache add: name, spec, args [ undefined, 'sqlite3', [ 'sqlite3', null ] ]
verbose parsed url { pathname: 'sqlite3', path: 'sqlite3', href: 'sqlite3' }
info addNamed [ 'sqlite3', '' ]
verbose addNamed [ null, '' ]
verbose GET sqlite3
verbose raw, before any munging sqlite3
verbose url resolving [ 'https://registry.npmjs.org/', './sqlite3' ]
verbose url resolved https://registry.npmjs.org/sqlite3
verbose etag "C4R4UI2W4LBA8E40E59WXL21N"
silly get cb [ 304,
silly get cb   { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb     etag: '"C4R4UI2W4LBA8E40E59WXL21N"',
silly get cb     date: 'Tue, 08 Nov 2011 13:03:20 GMT',
silly get cb     'content-length': '0' } ]
verbose etag sqlite3 from cache
verbose GET sqlite3/2.1.0
verbose raw, before any munging sqlite3/2.1.0
verbose url resolving [ 'https://registry.npmjs.org/', './sqlite3/2.1.0' ]
verbose url resolved https://registry.npmjs.org/sqlite3/2.1.0
verbose etag "C4R4UI2W4LBA8E40E59WXL21N"
silly get cb [ 304,
silly get cb   { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb     etag: '"C4R4UI2W4LBA8E40E59WXL21N"',
silly get cb     date: 'Tue, 08 Nov 2011 13:03:20 GMT',
silly get cb     'content-length': '0' } ]
verbose etag sqlite3/2.1.0 from cache
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8o-v83.6.6.6-linux-ia32-2.6.32-voyage',
verbose bin dist   { shasum: 'fdfbb27d5183074bfed99c26e2e862641cc2afbe',
verbose bin dist     tarball: 'http://registry.npmjs.org/sqlite3/-/sqlite3-2.1.0.tgz' } ]
verbose has wscript [ undefined,
verbose has wscript   { file: '/root/.npm/sqlite3/2.1.0/package/package.json',
verbose has wscript     contributors: false,
verbose has wscript     serverjs: false,
verbose has wscript     wscript: true } ]
silly testEngine { name: 'sqlite3',
silly testEngine   description: 'Asynchronous, non-blocking SQLite3 bindings',
silly testEngine   version: '2.1.0',
silly testEngine   homepage: 'http://github.com/developmentseed/node-sqlite3',
silly testEngine   author: 
silly testEngine    { name: 'Development Seed',
silly testEngine      email: 'info@developmentseed.org',
silly testEngine      url: 'http://developmentseed.org/' },
silly testEngine   contributors: 
silly testEngine    [ { name: 'Konstantin Käfer', email: 'mail@kkaefer.com' },
silly testEngine      { name: 'Dane Springmeyer', email: 'dane@developmentseed.org' },
silly testEngine      { name: 'Will White', email: 'will@developmentseed.org' },
silly testEngine      { name: 'Orlando Vazquez', email: 'ovazquez@gmail.com' },
silly testEngine      { name: 'Artem Kustikov', email: 'kustikoff@gmail.com' },
silly testEngine      { name: 'Eric Fredricksen', email: 'efredricksen@gmail.com' },
silly testEngine      { name: 'John Wright', email: 'mrjjwright@gmail.com' },
silly testEngine      { name: 'Ryan Dahl', email: 'ry@tinyclouds.org' },
silly testEngine      { name: 'Tom MacWright', email: 'tom@developmentseed.org' },
silly testEngine      { name: 'Carter Thaxton', email: 'carter.thaxton@gmail.com' },
silly testEngine      { name: 'Audrius Kažukauskas', email: 'audrius@neutrino.lt' },
silly testEngine      { name: 'Johannes Schauer', email: 'josch@pyneo.org' } ],
silly testEngine   repository: 
silly testEngine    { type: 'git',
silly testEngine      url: 'git://github.com/developmentseed/node-sqlite3.git' },
silly testEngine   devDependencies: { step: '0.0.4' },
silly testEngine   engines: { node: '~0.6.0' },
silly testEngine   licenses: [ { type: 'BSD' } ],
silly testEngine   main: './lib/sqlite3',
silly testEngine   _id: 'sqlite3@2.1.0',
silly testEngine   scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly testEngine   dependencies: {},
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.104',
silly testEngine   _nodeVersion: 'v0.6.0',
silly testEngine   _defaultsLoaded: true }
verbose caching /root/.npm/sqlite3/2.1.0/package/package.json
verbose loadDefaults sqlite3@2.1.0
silly resolved [ { name: 'sqlite3',
silly resolved     description: 'Asynchronous, non-blocking SQLite3 bindings',
silly resolved     version: '2.1.0',
silly resolved     homepage: 'http://github.com/developmentseed/node-sqlite3',
silly resolved     author: 
silly resolved      { name: 'Development Seed',
silly resolved        email: 'info@developmentseed.org',
silly resolved        url: 'http://developmentseed.org/' },
silly resolved     contributors: 
silly resolved      [ { name: 'Konstantin Käfer', email: 'mail@kkaefer.com' },
silly resolved        { name: 'Dane Springmeyer', email: 'dane@developmentseed.org' },
silly resolved        { name: 'Will White', email: 'will@developmentseed.org' },
silly resolved        { name: 'Orlando Vazquez', email: 'ovazquez@gmail.com' },
silly resolved        { name: 'Artem Kustikov', email: 'kustikoff@gmail.com' },
silly resolved        { name: 'Eric Fredricksen', email: 'efredricksen@gmail.com' },
silly resolved        { name: 'John Wright', email: 'mrjjwright@gmail.com' },
silly resolved        { name: 'Ryan Dahl', email: 'ry@tinyclouds.org' },
silly resolved        { name: 'Tom MacWright', email: 'tom@developmentseed.org' },
silly resolved        { name: 'Carter Thaxton', email: 'carter.thaxton@gmail.com' },
silly resolved        { name: 'Audrius Kažukauskas', email: 'audrius@neutrino.lt' },
silly resolved        { name: 'Johannes Schauer', email: 'josch@pyneo.org' } ],
silly resolved     repository: 
silly resolved      { type: 'git',
silly resolved        url: 'git://github.com/developmentseed/node-sqlite3.git' },
silly resolved     devDependencies: { step: '0.0.4' },
silly resolved     engines: { node: '~0.6.0' },
silly resolved     licenses: [ { type: 'BSD' } ],
silly resolved     main: './lib/sqlite3',
silly resolved     _id: 'sqlite3@2.1.0',
silly resolved     scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly resolved     dependencies: {},
silly resolved     _engineSupported: true,
silly resolved     _npmVersion: '1.0.104',
silly resolved     _nodeVersion: 'v0.6.0',
silly resolved     _defaultsLoaded: true } ]
info into /root/.nvm/v0.6.0/lib sqlite3@2.1.0
info installOne sqlite3@2.1.0
info unbuild /root/.nvm/v0.6.0/lib/node_modules/sqlite3
verbose from cache /root/.npm/sqlite3/2.1.0/package/package.json
verbose mkdir (expected) error ENOENT, No such file or directory '/root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm'
verbose mkdir done: /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm 755
verbose unpack_ uid, gid [ 65534, 0 ]
verbose unpackTarget /root/.nvm/v0.6.0/lib/node_modules/sqlite3
silly gunzTarPerm modes [ '755', '644' ]
silly spawning [ 'tar',
silly spawning   [ '-zmvxpf', '/root/.npm/sqlite3/2.1.0/package.tgz', '-o' ],
silly spawning   '/root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm' ]
silly tar out package/wscript
silly tar out package/sqlite3.js
silly tar out package/README.md
silly tar out package/package.json
silly tar out package/Makefile
silly tar out package/LICENSE
silly tar out package/configure
silly tar out package/.gitignore
silly tar out package/src/statement.h
silly tar out package/src/statement.cc
silly tar out package/src/sqlite3.cc
silly tar out package/src/macros.h
silly tar out package/src/database.h
silly tar out package/src/database.cc
silly tar out package/src/async.h
silly tar out package/lib/trace.js
silly tar out package/lib/sqlite3.js
silly tar out package/lib/index.js
silly tar out package/examples/simple-chaining.js
silly tar out package/deps/sqlite-autoconf-3070800.tar.gz
silly tar out package/benchmark/insert.js
silly tar out package/benchmark/insert-transaction.sql
silly tar out package/test/unicode.test.js
silly tar out package/test/trace.test.js
silly tar out package/test/serialization.test.js
silly tar out package/test/scheduling.test.js
silly tar out package/test/rerun.test.js
silly tar out package/test/profile.test.js
silly tar out package/test/prepare.test.js
silly tar out package/test/parallel_insert.test.js
silly tar out package/test/other_objects.test.js
silly tar out package/test/open_close.test.js
silly tar out package/test/null_error.test.js
silly tar out package/test/named_params.test.js
silly tar out package/test/named_columns.test.js
silly tar out package/test/map.test.js
silly tar out package/test/extension.test.js
silly tar out package/test/exec.test.js
silly tar out package/test/each.test.js
silly tar out package/test/database_fail.test.js
silly tar out package/test/constants.test.js
silly tar out package/test/cache.test.js
silly tar out package/test/blob.test.js
silly tar out package/test/affected.test.js
silly tar out package/test/support/script.sql
silly tar out package/test/support/prepare.db
silly tar out package/test/support/helper.js
silly tar out package/test/support/elmo.png
silly tar out package/test/support/createdb.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/wscript
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/sqlite3.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/README.md
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/package.json
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/Makefile
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/LICENSE
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/configure
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/.gitignore
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/statement.h
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/statement.cc
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/sqlite3.cc
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/macros.h
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/database.h
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/database.cc
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/src/async.h
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/lib
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/lib/trace.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/lib/sqlite3.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/lib/index.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/examples
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/examples/simple-chaining.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/deps
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/deps/sqlite-autoconf-3070800.tar.gz
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/benchmark
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/benchmark/insert.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/benchmark/insert-transaction.sql
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/unicode.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/trace.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/serialization.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/scheduling.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/rerun.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/profile.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/prepare.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/parallel_insert.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/other_objects.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/open_close.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/null_error.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/named_params.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/named_columns.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/map.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/extension.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/exec.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/each.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/database_fail.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/constants.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/cache.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/blob.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/affected.test.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/support
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/support/script.sql
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/support/prepare.db
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/support/helper.js
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/support/elmo.png
silly asyncMap in gTP /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package/test/support/createdb.js
verbose gunzed /root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package
verbose rm'ed /root/.nvm/v0.6.0/lib/node_modules/sqlite3
verbose renamed [ '/root/.nvm/v0.6.0/lib/node_modules/___sqlite3.npm/package',
verbose renamed   '/root/.nvm/v0.6.0/lib/node_modules/sqlite3' ]
verbose has wscript [ undefined,
verbose has wscript   { file: '/root/.nvm/v0.6.0/lib/node_modules/sqlite3/package.json',
verbose has wscript     contributors: false,
verbose has wscript     serverjs: false,
verbose has wscript     wscript: true } ]
silly testEngine { name: 'sqlite3',
silly testEngine   description: 'Asynchronous, non-blocking SQLite3 bindings',
silly testEngine   version: '2.1.0',
silly testEngine   homepage: 'http://github.com/developmentseed/node-sqlite3',
silly testEngine   author: 
silly testEngine    { name: 'Development Seed',
silly testEngine      email: 'info@developmentseed.org',
silly testEngine      url: 'http://developmentseed.org/' },
silly testEngine   contributors: 
silly testEngine    [ { name: 'Konstantin Käfer', email: 'mail@kkaefer.com' },
silly testEngine      { name: 'Dane Springmeyer', email: 'dane@developmentseed.org' },
silly testEngine      { name: 'Will White', email: 'will@developmentseed.org' },
silly testEngine      { name: 'Orlando Vazquez', email: 'ovazquez@gmail.com' },
silly testEngine      { name: 'Artem Kustikov', email: 'kustikoff@gmail.com' },
silly testEngine      { name: 'Eric Fredricksen', email: 'efredricksen@gmail.com' },
silly testEngine      { name: 'John Wright', email: 'mrjjwright@gmail.com' },
silly testEngine      { name: 'Ryan Dahl', email: 'ry@tinyclouds.org' },
silly testEngine      { name: 'Tom MacWright', email: 'tom@developmentseed.org' },
silly testEngine      { name: 'Carter Thaxton', email: 'carter.thaxton@gmail.com' },
silly testEngine      { name: 'Audrius Kažukauskas', email: 'audrius@neutrino.lt' },
silly testEngine      { name: 'Johannes Schauer', email: 'josch@pyneo.org' } ],
silly testEngine   repository: 
silly testEngine    { type: 'git',
silly testEngine      url: 'git://github.com/developmentseed/node-sqlite3.git' },
silly testEngine   devDependencies: { step: '0.0.4' },
silly testEngine   engines: { node: '~0.6.0' },
silly testEngine   licenses: [ { type: 'BSD' } ],
silly testEngine   main: './lib/sqlite3',
silly testEngine   _id: 'sqlite3@2.1.0',
silly testEngine   scripts: { preinstall: 'node-waf clean || true; node-waf configure build' },
silly testEngine   dependencies: {},
silly testEngine   _engineSupported: true,
silly testEngine   _npmVersion: '1.0.104',
silly testEngine   _nodeVersion: 'v0.6.0',
silly testEngine   _defaultsLoaded: true }
verbose caching /root/.nvm/v0.6.0/lib/node_modules/sqlite3/package.json
verbose loadDefaults sqlite3@2.1.0
info preinstall sqlite3@2.1.0
verbose unsafe-perm in lifecycle false
verbose Setting uid from 0 nobody
verbose stack at uid setting Error
verbose stack at uid setting     at exec (/root/.nvm/v0.6.0/lib/node_modules/npm/lib/utils/exec.js:35:17)
verbose stack at uid setting     at Array.0 (/root/.nvm/v0.6.0/lib/node_modules/npm/lib/utils/lifecycle.js:127:5)
verbose stack at uid setting     at EventEmitter._tickCallback (node.js:192:40)
silly exec sh "-c" "node-waf clean || true; node-waf configure build"
silly spawning [ 'sh',
silly spawning   [ '-c', 'node-waf clean || true; node-waf configure build' ],
silly spawning   '/root/.nvm/v0.6.0/lib/node_modules/sqlite3' ]
info sqlite3@2.1.0 Failed to exec preinstall script
ERR! error installing sqlite3@2.1.0 Error: sqlite3@2.1.0 preinstall: `node-waf clean || true; node-waf configure build`
ERR! error installing sqlite3@2.1.0 `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
ERR! error installing sqlite3@2.1.0     at ChildProcess.<anonymous> (/root/.nvm/v0.6.0/lib/node_modules/npm/lib/utils/exec.js:49:20)
ERR! error installing sqlite3@2.1.0     at ChildProcess.emit (events.js:70:17)
ERR! error installing sqlite3@2.1.0     at maybeExit (child_process.js:359:16)
ERR! error installing sqlite3@2.1.0     at Process.onexit (child_process.js:395:5)
info unbuild /root/.nvm/v0.6.0/lib/node_modules/sqlite3
verbose from cache /root/.nvm/v0.6.0/lib/node_modules/sqlite3/package.json
info preuninstall sqlite3@2.1.0
info uninstall sqlite3@2.1.0
verbose unbuild sqlite3@2.1.0 [ true,
verbose unbuild sqlite3@2.1.0   '/root/.nvm/v0.6.0/lib/node_modules',
verbose unbuild sqlite3@2.1.0   '/root/.nvm/v0.6.0/lib/node_modules' ]
info postuninstall sqlite3@2.1.0
verbose installOne cb sqlite3@2.1.0
ERR! sqlite3@2.1.0 preinstall: `node-waf clean || true; node-waf configure build`
ERR! `sh "-c" "node-waf clean || true; node-waf configure build"` failed with 1
ERR! 
ERR! Failed at the sqlite3@2.1.0 preinstall script.
ERR! This is most likely a problem with the sqlite3 package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR!     node-waf clean || true; node-waf configure build
ERR! You can get their info via:
ERR!     npm owner ls sqlite3
ERR! There is likely additional logging output above.
ERR! 
ERR! System Linux 2.6.32-voyage
ERR! command "node" "/root/.nvm/v0.6.0/bin/npm" "install" "-g" "sqlite3"
ERR! cwd /root/.nvm/v0.6.0/lib
ERR! node -v v0.6.0
ERR! npm -v 1.0.104
ERR! code ELIFECYCLE
verbose exit [ 1, true ]
:::::::::::::npm-debug.log:::::::::::::

@kkaefer
Copy link
Contributor

kkaefer commented Nov 8, 2011

Thanks for the report. I apparently had the header files in a different directory (they were moved during the 0.5 cycle at some point), but forgot to update one reference for 0.6 final. I published 2.1.1 which should mitigate this issue.

@4media
Copy link
Author

4media commented Nov 8, 2011

Thank You kkaefer, Installation worked perfect now!

@neechange
Copy link

In Windows how to work, why not put a good compiler, WAF?

@kkaefer
Copy link
Contributor

kkaefer commented Nov 18, 2011

Windows support is blocked by nodejs/node-v0.x-archive#2036

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants