Hello Ben, I start with a fresh tar, and here is the directory listing: [ joyent-node-d4ccdea]# AUTHORS BSDmakefile common.gypi deps lib Makefile README.md test vcbuild.bat benchmark ChangeLog configure doc LICENSE node.gyp src tools
I want to be sure gcc4 is used (there are three gccs on my system) so I exported CXX and CC to the env, which looks like this: .... CXX=g++4 CC=gcc4 ... They live here: /usr/bin/gcc4 /usr/bin/g++4 My linux kernel: 2.6.9-101.ELsmp I ran configure like this: ./configure --without-npm --without-waf --without-ssl --without-snapshot --no-ssl2 After configure, here are the source dir contents: AUTHORS BSDmakefile common.gypi config.mk deps lib Makefile out src tools benchmark ChangeLog config.gypi configure doc LICENSE node.gyp README.md test vcbuild.bat An 'out' dir was created by configure. It looks like this. deps Makefile node_js2c.host.mk node.target.mk An excerpt from the new Makefile in out, so make should use gcc4: .... CC.host ?= gcc CFLAGS.host ?= CXX.host ?= g++ CXXFLAGS.host ?= LINK.host ?= g++ LDFLAGS.host ?= AR.host ?= ar .... I ran make: make -C out BUILDTYPE=Release make[1]: Entering directory `/usr/local/src/joyent-node-d4ccdea/out' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/usr/local/src/joyent-node-d4ccdea/out' ln -fs out/Release/node node out/Release/node tools/installer.js ./config.gypi install make: out/Release/node: Command not found make: *** [install] Error 127 Here are contents of out after make install: deps Makefile node_js2c.host.mk node.target.mk No 'Release' directory is created. No binary... On Sat, Feb 11, 2012 at 5:09 AM, Ben Noordhuis <[email protected]> wrote: > On Sat, Feb 11, 2012 at 06:02, steve johnston > <[email protected]> wrote: > > Thanks Ben. I'm still stuck. > > > > configure: > > > > /usr/local/src/joyent-node-d4ccdea>sudo ./configure --without-snapshot > > > > { 'target_defaults': { 'cflags': [], > > 'defines': [], > > 'include_dirs': [], > > 'libraries': ['-lz']}, > > 'variables': { 'host_arch': 'ia32', > > 'node_install_npm': 'true', > > 'node_install_waf': 'true', > > 'node_prefix': '', > > 'node_shared_cares': 'false', > > 'node_shared_v8': 'false', > > 'node_use_dtrace': 'false', > > 'node_use_openssl': 'true', > > 'node_use_system_openssl': 'false', > > 'target_arch': 'ia32', > > 'v8_use_snapshot': 'false'}} > > creating ./config.gypi > > creating ./config.mk > > > > make install > > > > /usr/local/src/joyent-node-d4ccdea>sudo make install > > > > make -C out BUILDTYPE=Release > > make[1]: Entering directory `/usr/local/src/joyent-node-d4ccdea/out' > > make[1]: Nothing to be done for `all'. > > > > make[1]: Leaving directory `/usr/local/src/joyent-node-d4ccdea/out' > > ln -fs out/Release/node node > > out/Release/node tools/installer.js ./config.gypi install > > make: out/Release/node: Command not found > > make: *** [install] Error 127 > > > > here is what out looks like, no "Release" dir: > > > > /usr/local/src/joyent-node-d4ccdea/out>ls -al > > total 44 > > drwxr-xr-x 3 root root 4096 Feb 10 20:56 . > > drwxr-xr-x 10 root root 4096 Feb 10 20:57 .. > > drwxr-xr-x 7 root root 4096 Feb 10 20:56 deps > > -rw-r--r-- 1 root root 18313 Feb 10 20:56 Makefile > > -rw-r--r-- 1 root root 2664 Feb 10 20:56 node_js2c.host.mk > > -rw-r--r-- 1 root root 5137 Feb 10 20:56 node.target.mk > > Uhm, I confess I'm kind of baffled. Can you try this with a fresh > source tree? Does it produce a binary in out/Release/node? If not, can > you post the full build log? > > ./configure # plus whatever switches you need > make -C out -j 2 V=1 BUILDTYPE=Release > > Replace the -j 2 with however many CPUs your machine has. It's not > required but it'll speed up the build. :-) > > -- > 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 > -- Thanks, Steve [email protected] 206-406-8100 -- 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
