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
How to recompile openssl dependency
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
  14 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
 
Justin Meltzer  
View profile  
 More options Oct 4 2012, 10:13 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Thu, 4 Oct 2012 19:13:58 -0700 (PDT)
Local: Thurs, Oct 4 2012 10:13 pm
Subject: How to recompile openssl dependency

There's a small bug with respect to an Internet Explorer corner case in the
openssl dependency package. I'd like to modify one of the openssl C files
but I'm at a loss as to how to recompile this package so that node can use
my updates. Any help would be greatly appreciated!


 
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 Oct 4 2012, 10:32 pm
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 5 Oct 2012 04:32:33 +0200
Local: Thurs, Oct 4 2012 10:32 pm
Subject: Re: [nodejs] How to recompile openssl dependency

On Fri, Oct 5, 2012 at 4:13 AM, Justin Meltzer <jus...@airtimehq.com> wrote:
> There's a small bug with respect to an Internet Explorer corner case in the
> openssl dependency package. I'd like to modify one of the openssl C files
> but I'm at a loss as to how to recompile this package so that node can use
> my updates. Any help would be greatly appreciated!

I assume that you mean the bundled version that lives in deps/openssl?
It should be trivial, just edit the file and run make, gyp (the build
system) will pick up the changes and recompile the required files.

 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 12:10 am
From: Justin Meltzer <jus...@airtimehq.com>
Date: Thu, 4 Oct 2012 21:10:01 -0700 (PDT)
Local: Fri, Oct 5 2012 12:10 am
Subject: Re: [nodejs] How to recompile openssl dependency

Yeah exactly, the bundled version in deps/openssl.

Thanks! Do I need to run ./configure? or just make? what about make install?


 
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 Oct 5 2012, 7:51 am
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 5 Oct 2012 13:51:43 +0200
Local: Fri, Oct 5 2012 7:51 am
Subject: Re: [nodejs] How to recompile openssl dependency

On Fri, Oct 5, 2012 at 6:10 AM, Justin Meltzer <jus...@airtimehq.com> wrote:
> Yeah exactly, the bundled version in deps/openssl.

> Thanks! Do I need to run ./configure? or just make? what about make install?

Right, I assumed you had already built node. You don't have to
reinstall it on every compile, the binary is quite self-contained.
Here, try this:

$ export JOBS=<num-cpus> # speed up build
$ ./configure
$ make BUILDTYPE=Release
$ out/Release/node # starts the REPL

If you want debug builds, repeat the last two steps with s/Release/Debug/


 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 12:44 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Fri, 5 Oct 2012 09:44:57 -0700 (PDT)
Local: Fri, Oct 5 2012 12:44 pm
Subject: Re: [nodejs] How to recompile openssl dependency

Actually yes, node is already built. I'm just looking to recompile the
openssl dependency inside node/deps/openssl.

I tried running make inside node/deps/openssl/openssl but unfortunately it
threw an error related to the linker (there was some undefined reference or
something). I then noticed that each openssl sub-package (ssl, crytpo etc.)
has its own Makefile. Since I only updated a fie inside the ssl package of
openssl, I ran

make clean all

inside that directory and it seemed to finish with no errors.

So the main thing I'd like to understand is which packages can I recompile
so that node will pick up these openssl modifications? Is recompiling just
the ssl package of the openssl package sufficient? Or do I have to
recompile the entire openssl package? Will recompiling node as a whole also
dynamically recompile the openssl package and pick up those changes?

Thanks!


 
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 Oct 5 2012, 4:07 pm
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 5 Oct 2012 22:07:26 +0200
Local: Fri, Oct 5 2012 4:07 pm
Subject: Re: [nodejs] How to recompile openssl dependency

Are you working with 0.6 or 0.8?

If you get a linker error with 0.8, you either had an error somewhere
in your code or you need to add the missing dependencies or defines to
deps/openssl/openssl.gyp and run configure again. In any case, you
shouldn't use any of the Makefiles in deps/openssl - node doesn't and
won't pick up your changes.

The story is different for 0.6 but you shouldn't be using that anyway. :-)


 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 4:18 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Fri, 5 Oct 2012 13:18:44 -0700 (PDT)
Local: Fri, Oct 5 2012 4:18 pm
Subject: Re: [nodejs] How to recompile openssl dependency

yeah I actually am using 0.6...


 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 4:29 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Fri, 5 Oct 2012 13:29:00 -0700 (PDT)
Subject: Re: [nodejs] How to recompile openssl dependency

I suppose you highly recommend upgrading to v. 0.8 then haha

Just to be clear, in v. 0.8 any time I run

$ make && sudo make install

for node, any changes to the deps/openssl dependency package will be picked
up?


 
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 Oct 5 2012, 4:35 pm
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 5 Oct 2012 22:35:39 +0200
Local: Fri, Oct 5 2012 4:35 pm
Subject: Re: [nodejs] How to recompile openssl dependency

On Fri, Oct 5, 2012 at 10:29 PM, Justin Meltzer <jus...@airtimehq.com> wrote:
> I suppose you highly recommend upgrading to v. 0.8 then haha

> Just to be clear, in v. 0.8 any time I run

> $ make && sudo make install

> for node, any changes to the deps/openssl dependency package will be picked
> up?

Yep, that's correct.

 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 4:45 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Fri, 5 Oct 2012 13:45:24 -0700 (PDT)
Local: Fri, Oct 5 2012 4:45 pm
Subject: Re: [nodejs] How to recompile openssl dependency

Cool.

Btw, node.js packages for Fedora systems (http://nodejs.tchol.org/) are out
of date. Thought I'd give you a heads up. Looks like I'll have to install
from source now.


 
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.
Nathan Rajlich  
View profile  
 More options Oct 5 2012, 4:53 pm
From: Nathan Rajlich <nat...@tootallnate.net>
Date: Fri, 5 Oct 2012 13:53:11 -0700
Local: Fri, Oct 5 2012 4:53 pm
Subject: Re: [nodejs] How to recompile openssl dependency
Those Fedora rpms are maintained by someone else, but it seems like
they're not maintaining them any longer:
http://lists.tchol.org/pipermail/nodejs-tchol.org/


 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 5:29 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Fri, 5 Oct 2012 14:29:13 -0700 (PDT)
Local: Fri, Oct 5 2012 5:29 pm
Subject: Re: [nodejs] How to recompile openssl dependency

Ok and although you don't recommend it, what about with 0.6?

Btw, thanks so much for all of this help :)


 
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.
Justin Meltzer  
View profile  
 More options Oct 5 2012, 5:29 pm
From: Justin Meltzer <jus...@airtimehq.com>
Date: Fri, 5 Oct 2012 14:29:52 -0700 (PDT)
Local: Fri, Oct 5 2012 5:29 pm
Subject: Re: [nodejs] How to recompile openssl dependency

Got it... that's a shame :/


 
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 Oct 5 2012, 5:51 pm
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Fri, 5 Oct 2012 23:51:06 +0200
Local: Fri, Oct 5 2012 5:51 pm
Subject: Re: [nodejs] How to recompile openssl dependency

On Fri, Oct 5, 2012 at 11:29 PM, Justin Meltzer <jus...@airtimehq.com> wrote:
> Ok and although you don't recommend it, what about with 0.6?

Well, for one it doesn't use the bundled openssl. :-)

You'd have to build openssl yourself, then pass include and library
paths to the configure script. `./configure --help | grep openssl`
shows an overview.


 
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 »