Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
errors building libuv on linux
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
dct  
View profile  
 More options Aug 9 2012, 8:49 pm
From: dct <dct...@gmail.com>
Date: Thu, 9 Aug 2012 17:49:58 -0700 (PDT)
Local: Thurs, Aug 9 2012 8:49 pm
Subject: errors building libuv on linux

hello all,

i downloaded libuv with git and gyp with svn.  my linux environment is centos 5 and python 2.4.  

i have been unable to build libuv.  according to the instruction here:

https://github.com/joyent/libuv

i just need to run the command ./gyp_uv -f make.  but here is what happens.  can someone help?

failing this, is there an already-compiled version of libuv that i could obtain?

thank you,
doug

% ./gyp_uv -f make
Traceback (most recent call last):
  File "./gyp_uv", line 12, in ?
    import gyp
  File "./build/gyp/pylib/gyp/__init__.py", line 8, in ?
    import gyp.input
  File "./build/gyp/pylib/gyp/input.py", line 14, in ?
    import gyp.common
  File "./build/gyp/pylib/gyp/common.py", line 374
    with open(source_path) as source_file:
            ^
SyntaxError: invalid syntax


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bert Belder  
View profile  
 More options Aug 9 2012, 8:54 pm
From: Bert Belder <bertbel...@gmail.com>
Date: Thu, 9 Aug 2012 17:54:21 -0700 (PDT)
Local: Thurs, Aug 9 2012 8:54 pm
Subject: Re: errors building libuv on linux

The gyp_uv file is located in the tools/ directory. You'll also need gyp
for it to work; there may be a package for it (atleast, ubuntu has one),
otherwise you can git clone http://git.chromium.org/external/gyp.git.

There is also a "normal" makefile, so just 'make' should do the trick too.

- Bert


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bert Belder  
View profile  
 More options Aug 9 2012, 8:56 pm
From: Bert Belder <bertbel...@gmail.com>
Date: Thu, 9 Aug 2012 17:56:13 -0700 (PDT)
Local: Thurs, Aug 9 2012 8:56 pm
Subject: Re: errors building libuv on linux

I'm sorry - I gave you the wrong instructions, these were for node.js :-/

You need to install gyp, and you also need python 2.x. But I suggest you
try the makefile first.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Noordhuis  
View profile  
 More options Aug 10 2012, 6:59 am
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 10 Aug 2012 12:59:57 +0200
Local: Fri, Aug 10 2012 6:59 am
Subject: Re: [libuv] Re: errors building libuv on linux

On Fri, Aug 10, 2012 at 2:56 AM, Bert Belder <bertbel...@gmail.com> wrote:
> You need to install gyp, and you also need python 2.x.

More specifically, you need python 2.6 or 2.7. Install or symlink gyp
to build/gyp.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Saúl Ibarra Corretgé  
View profile  
 More options Aug 10 2012, 3:00 am
From: Saúl Ibarra Corretgé <sag...@gmail.com>
Date: Fri, 10 Aug 2012 08:00:44 +0100
Local: Fri, Aug 10 2012 3:00 am
Subject: Re: [libuv] Re: errors building libuv on linux

That Python version is too old. It's older than YouTube! Time for an
upgrade ;-)

/Saúl

On 10/08/2012, at 01:56, Bert Belder <bertbel...@gmail.com> wrote:

I'm sorry - I gave you the wrong instructions, these were for node.js :-/

You need to install gyp, and you also need python 2.x. But I suggest you
try the makefile first.

You received this message because you are subscribed to the Google Groups
"libuv" group.
To post to this group, send email to libuv@googlegroups.com.
Visit this group at http://groups.google.com/group/libuv?hl=en-US.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dct  
View profile  
 More options Aug 10 2012, 11:38 am
From: dct <dct...@gmail.com>
Date: Fri, 10 Aug 2012 08:38:25 -0700 (PDT)
Local: Fri, Aug 10 2012 11:38 am
Subject: Re: errors building libuv on linux

python 2.7 - check.  on to the next roadblock!

now this is happening (compiling on centos 5).  switching to gcc 4.1.2
doesn't change anything.

building this is proving to be unnecessarily difficult.  are there
pre-compiled versions of libuv available anywhere?

thank you,
d

cc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE
-Iinclude -Iinclude/uv-private -Isrc -Isrc/unix/ev -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -c src/unix/async.c -o src/unix/async.o
cc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE
-Iinclude -Iinclude/uv-private -Isrc -Isrc/unix/ev -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -c src/unix/core.c -o src/unix/core.o
cc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE
-Iinclude -Iinclude/uv-private -Isrc -Isrc/unix/ev -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -c src/unix/dl.c -o src/unix/dl.o
cc --std=c89 -pedantic -Wall -Wextra -Wno-unused-parameter -D_GNU_SOURCE
-Iinclude -Iinclude/uv-private -Isrc -Isrc/unix/ev -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g -c src/unix/error.c -o src/unix/error.o
In file included from src/unix/internal.h:40,
                 from src/unix/async.c:22:
src/unix/linux/syscalls.h:74: error: expected specifier-qualifier-list
before ‘__u64’
In file included from src/unix/internal.h:40,
                 from src/unix/core.c:22:
src/unix/linux/syscalls.h:74: error: expected specifier-qualifier-list
before ‘__u64’
make: *** [src/unix/async.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from src/unix/internal.h:40,
                 from src/unix/error.c:28:
src/unix/linux/syscalls.h:74: error: expected specifier-qualifier-list
before ‘__u64’
make: *** [src/unix/error.o] Error 1
In file included from src/unix/internal.h:40,
                 from src/unix/dl.c:23:
src/unix/linux/syscalls.h:74: error: expected specifier-qualifier-list
before ‘__u64’make: *** [src/unix/core.o] Error 1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Noordhuis  
View profile  
 More options Aug 10 2012, 12:05 pm
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 10 Aug 2012 18:05:28 +0200
Local: Fri, Aug 10 2012 12:05 pm
Subject: Re: [libuv] Re: errors building libuv on linux

You're probably missing some kernel headers. I forgot what the package
is called on RHEL derivatives but they're in linux-headers-generic on
Debian-based distros.

We don't provide precompiled binaries, by the way.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »