Trying v0.6.10. Make got much further, then it errored-out with
node_zlib.cc errors:
(Red Hat Enterprise Linux ES release 4 (Nahant Update 9)
....
/usr/bin/g++ -pthread -m32 -g -O3 -DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=1 -DARCH="ia32"
-DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter
-D_FORTIFY_SOURCE=2 -IRelease/src -I../src -IRelease/deps/http_parser
-I../deps/http_parser -IRelease/deps/uv/include -I../deps/uv/include
-IRelease/deps/uv/src/ares -I../deps/uv/src/ares
-IRelease/deps/v8/include -I../deps/v8/include -I/usr/kerberos/include
-Ideps/v8/include ../src/node_zlib.cc -c -o Release/src/node_zlib_5.o
../src/node_zlib.cc: In static member function `static
v8::Handle<v8::Value> node::ZCtx<mode>::Init(const v8::Arguments&)':
../src/node_zlib.cc:214: error: `Z_FIXED' was not declared in this scope
../src/node_zlib.cc: In function `void node::InitZlib(v8::Handle<v8::Object>)':
../src/node_zlib.cc:341: error: `Z_FIXED' was not declared in this scope
Waf: Leaving directory `/usr/local/src/node-v0.6.10/out'
Build failed: -> task failed (err #1):
{task: cxx node_zlib.cc -> node_zlib_5.o}
make: *** [program] Error 1
===================================
node-v0.6.10 - configure and make (abbreviated)
===================================
/usr/local/src/node-v0.6.10>sudo ./configure
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 program gcc or cc : /usr/bin/gcc
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : yes
Checking for library util : yes
Checking for library rt : yes
Checking for fdatasync(2) with c++ : yes
'configure' finished successfully (0.344s)
==============
make, first few lines
==============
:) 09:29:35 AM 02/10/2012
/usr/local/src/node-v0.6.10>sudo make
Waf: Entering directory `/usr/local/src/node-v0.6.10/out'
DEST_OS: linux
DEST_CPU: ia32
Parallel Jobs: 1
Product type: program
[ 1/35] copy: src/node_config.h.in -> out/Release/src/node_config.h
[ 2/35] cc: deps/http_parser/http_parser.c ->
out/Release/deps/http_parser/http_parser_3.o
....
[17/35] cxx: src/node_string.cc -> out/Release/src/node_string_5.o
/usr/bin/g++ -pthread -m32 -g -O3 -DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=1 -DARCH="ia32"
-DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter
-D_FORTIFY_SOURCE=2 -IRelease/src -I../src -IRelease/deps/http_parser
-I../deps/http_parser -IRelease/deps/uv/include -I../deps/uv/include
-IRelease/deps/uv/src/ares -I../deps/uv/src/ares
-IRelease/deps/v8/include -I../deps/v8/include -I/usr/kerberos/include
-Ideps/v8/include ../src/node_string.cc -c -o
Release/src/node_string_5.o
[18/35] cxx: src/node_zlib.cc -> out/Release/src/node_zlib_5.o
/usr/bin/g++ -pthread -m32 -g -O3 -DHAVE_OPENSSL=1 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DHAVE_FDATASYNC=1 -DARCH="ia32"
-DPLATFORM="linux" -D__POSIX__=1 -Wno-unused-parameter
-D_FORTIFY_SOURCE=2 -IRelease/src -I../src -IRelease/deps/http_parser
-I../deps/http_parser -IRelease/deps/uv/include -I../deps/uv/include
-IRelease/deps/uv/src/ares -I../deps/uv/src/ares
-IRelease/deps/v8/include -I../deps/v8/include -I/usr/kerberos/include
-Ideps/v8/include ../src/node_zlib.cc -c -o Release/src/node_zlib_5.o
../src/node_zlib.cc: In static member function `static
v8::Handle<v8::Value> node::ZCtx<mode>::Init(const v8::Arguments&)':
../src/node_zlib.cc:214: error: `Z_FIXED' was not declared in this scope
../src/node_zlib.cc: In function `void node::InitZlib(v8::Handle<v8::Object>)':
../src/node_zlib.cc:341: error: `Z_FIXED' was not declared in this scope
Waf: Leaving directory `/usr/local/src/node-v0.6.10/out'
Build failed: -> task failed (err #1):
{task: cxx node_zlib.cc -> node_zlib_5.o}
make: *** [program] Error 1
On 2/10/12, Ben Noordhuis <[email protected]> wrote:
> On Fri, Feb 10, 2012 at 17:58, steve98177 <[email protected]>
> wrote:
>> Hello, I am trying to install node on Redhat Linux 4.1. Make is
>
> RHEL 4.1? Is that a typo?
>
>> failing in both node-v0.6.6 and also in node-v0.4.8. What can I do
>> to fix this? Your help is greatly appreciated!
>>
>> The v0.6.6 make errors start like this, full text below:
>>
>> src/unix/linux.c -o src/unix/linux.o
>> src/unix/linux.c:30:25: error: sys/inotify.h: No such file or
>> directory
>
> Upgrade to v0.6.7 or newer, it doesn't depend on <sys/inotify.h>.
>
> --
> 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