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
Message from discussion Node on Windows with Cygwin: Necessary Files

Received: by 10.100.43.20 with SMTP id q20mr4004983anq.53.1280789405203;
        Mon, 02 Aug 2010 15:50:05 -0700 (PDT)
X-BeenThere: nodejs@googlegroups.com
Received: by 10.101.156.10 with SMTP id i10ls1256047ano.3.p; Mon, 02 Aug 2010 
	15:50:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.10.6 with SMTP id n6mr816569ani.18.1280789402330; Mon, 02 
	Aug 2010 15:50:02 -0700 (PDT)
Received: by v15g2000yqe.googlegroups.com with HTTP; Mon, 2 Aug 2010 15:50:02 
	-0700 (PDT)
Date: Mon, 2 Aug 2010 15:50:02 -0700 (PDT)
In-Reply-To: <4709d555-5132-478f-8e6d-b0b113cac74e@y21g2000pro.googlegroups.com>
X-IP: 145.94.50.9
References: <50dd77f2-b64a-4b4d-a77f-baad9f6869e6@i9g2000prn.googlegroups.com> 
	<AANLkTinfGgd7lmeJkFR_jPr_0qlmhY0p8Obiq06b9xMy@mail.gmail.com> 
	<AANLkTimpVN_v1YoERphZSWvAagyXcNk_lKRgWHcrSfu8@mail.gmail.com> 
	<bc1800ef-4bde-479e-aef4-974b8358b85c@k14g2000pro.googlegroups.com> 
	<AANLkTikb9TfDyJyg8YH9fY8nDOEPgMPxaDgI9Rxha5nD@mail.gmail.com> 
	<945fa781-3f99-46b8-a83c-2eebb21bdb63@z15g2000prn.googlegroups.com> 
	<AANLkTin7GjYweAt0_LuCw_MhoSXxCFcCCTl6jycNGAh2@mail.gmail.com> 
	<AANLkTil7XGxN0lazk3A7zxmFw1UVdPkZ4UyzNjwVE3Ys@mail.gmail.com> 
	<a131fa5b-f6d4-4001-b684-963d7e26e8fb@m17g2000prl.googlegroups.com> 
	<ef385c28-cbb9-4efb-a453-7f6c1babc286@z10g2000yqb.googlegroups.com> 
	<4709d555-5132-478f-8e6d-b0b113cac74e@y21g2000pro.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nl; rv:1.9.2.8) 
	Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729),gzip(gfe)
Message-ID: <a395aa37-e192-4863-9903-fdd1bebf053b@v15g2000yqe.googlegroups.com>
Subject: Re: Node on Windows with Cygwin: Necessary Files
From: Bert Belder <bertbel...@gmail.com>
To: nodejs <nodejs@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Maybe it would be useful to have a script that generates a binary
distro; that would allow us to gradually improve it.

First shot here: http://github.com/piscisaureus/nodejs-cygwin-package

It creates a zip similar Simons 'full' package, but without WAF
scripts and C header files, because I couldn't figure out why they
should be included.

- Bert

On Jul 6, 4:58=A0pm, Simon <simon.stur...@gmail.com> wrote:
> I updated the package with your suggested script and I also updated
> the etc/resolv.conf file to fix DNS from within node scripts.
>
> Thanks,
> Simon
>
> On Jul 6, 6:44=A0pm, Bert Belder <bertbel...@gmail.com> wrote:
>
> > The node.cmd script that comes packaged with node-win32binariescould
> > be improved:
> > - It does not accept relative paths (tries to resolve 'em from the
> > node/bin/ directory)
> > - It doesn't restore the working directory after quitting node
> > It's very easy to improve:http://gist.github.com/465171
>
> > - Bert
>
> > On 6 jul, 10:10, Simon <simon.stur...@gmail.com> wrote:
>
> > > Latest version compiled no problem.http://dl.dropbox.com/u/341900/nod=
ejs/nodejs-0.1.100-cygwin-full.zip
>
> > > I used the instructions posted by raff to do this build from scratch
> > > on a fresh machine and it works flawlessly.http://wiki.github.com/ry/=
node/building-node-on-windowscygwin
>
> > > @Tom .. I haven't tried Node on Win32 with any database yet, but I
> > > will let ya know how she goes.
>
> > > Cheers,
> > > Simon
>
> > > On Jun 30, 12:03=A0am, Tom <tommed...@gmail.com> wrote:
>
> > > > I could use this package to use node onwindows.
>
> > > > Would you be willing to publicize it?
>
> > > > - Tom
>
> > > > 2010/6/28 Ciaran <ciar...@gmail.com>
>
> > > > > On Mon, Jun 28, 2010 at 2:26 PM, Simon <simon.stur...@gmail.com> =
wrote:
> > > > > > Thanks Ciaran. I couldn't find your post from last month, but I=
 think
> > > > > > that will be helpful. I am going to give it a go with just thos=
e
> > > > > > files. I am also gonna try to build a few extensions to get a m=
ore
> > > > > > comprehensive package.
>
> > > > > > Did you specify a --prefix=3D parameter when configuring your b=
uild for
> > > > > > Cygwin?
>
> > > > > Nope, I just copied what I needed from the build sub-folder and t=
he
> > > > > cygwin bin folder :)
> > > > > -cj.
>
> > > > > > On Jun 28, 5:52 pm, Ciaran <ciar...@gmail.com> wrote:
> > > > > >> You need very little, the cygwin dll and a couple of crypto li=
bs, most
> > > > > >> other dependencies will be found on mostwindowsinstallations
> > > > > >> already.
>
> > > > > >> A working zip (like the one I posted to the mailing list last =
month)
> > > > > contains:
>
> > > > > >> cygcrypto-0.9.8.dll =A0(1.1Mb)
> > > > > >> cyggcc_s-1.dll (45Kb)
> > > > > >> cygssl-0.9.8.dll (265Kb)
> > > > > >> cygwin1.dll (2.5Mb)
> > > > > >> node.exe (6.2Mb)
>
> > > > > >> Which comes in just a shade over 10Mb un-compressed , 3Meg com=
pressed.
> > > > > >> =A0Hope that helps
>
> > > > > >> -cj.
>
> > > > > >> On Mon, Jun 28, 2010 at 12:34 AM, Simon <simon.stur...@gmail.c=
om>
> > > > > wrote:
> > > > > >> > Thanks Chris. I've managed to get it down to 23MB (7MB zippe=
d)
> > > > > >> > including the Node executable. If anyone is interested in te=
sting this
> > > > > >> > build, shoot me an email and I will supply a link.
>
> > > > > >> > Cheers
>
> > > > > >> > On Jun 28, 8:16 am, Chris Winberry <cpt.obvi...@gmail.com> w=
rote:
> > > > > >> >> Been down this path before. Run filemon (from what used to =
be
> > > > > SysInternals)
> > > > > >> >> before launching node and filter on node/cygwin.
>
> > > > > >> >> On Jun 27, 2010 6:02 PM, "Simon" <simon.stur...@gmail.com> =
wrote:
>
> > > > > >> >> I now have Node successfully running on Win32 (Server 2003 =
in my
> > > > > case)
> > > > > >> >> using Cygwin. The compile process was fairly straightforwar=
d and went
> > > > > >> >> smoothly.
>
> > > > > >> >> The problem is C:\cygwin takes up about a Gig of space just=
 to
> > > > > support
> > > > > >> >> a 13MB Node installation. This is a bit much and makes it d=
ifficult
> > > > > to
> > > > > >> >> distribute Node to otherWindowsmachines without either down=
loading
> > > > > >> >> all those files or starting the process from scratch on eac=
h machine.
>
> > > > > >> >> I was able to get a slimmer install (110MB) of Cygwin runni=
ng on
> > > > > >> >> another machine and just copy over the Node files from /usr=
/local
> > > > > >> >> (required default Cygwin setup plus OpenSSL runtime). This =
still
> > > > > seems
> > > > > >> >> a bit bloated, however.
>
> > > > > >> >> Can anyone tell me what Cygwin files / directories are nece=
ssary at
> > > > > >> >> the minimum to distribute a fully functional Node runtime f=
or
> > > > >Windows?
>
> > > > > >> >> Cheers,
> > > > > >> >> Simon
>
> > > > > >> >> --
> > > > > >> >> You received this message because you are subscribed to the=
 Google
> > > > > Groups
> > > > > >> >> "nodejs" group.
> > > > > >> >> To post to this group, send email to nod...@googlegroups.co=
m.
> > > > > >> >> To unsubscribe from this group, send email to
> > > > > >> >> nodejs+unsubscribe@googlegroups.com<nodejs%2Bunsubscribe@go=
oglegroups.com><
> > > > > nodejs%2Bunsubscribe@googlegroups.com<nodejs%252Bunsubscribe@goog=
legroups.com>
> > > > > >.
> > > > > >> >> For more options, visit this group athttp://
> > > > > groups.google.com/group/nodejs?hl=3Den.
>
> > > > > >> > --
> > > > > >> > You received this message because you are subscribed to the =
Google
> > > > > Groups "nodejs" group.
> > > > > >> > To post to this group, send email to nodejs@googlegroups.com=
.
> > > > > >> > To unsubscribe from this group, send email to
> > > > > nodejs+unsubscribe@googlegroups.com<nodejs%2Bunsubscribe@googlegr=
oups.com>
> > > > > .
> > > > > >> > For more options, visit this group athttp://
> > > > > groups.google.com/group/nodejs?hl=3Den.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Goo=
gle Groups
> > > > > "nodejs" group.
> > > > > > To post to this group, send email to nodejs@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > nodejs+unsubscribe@googlegroups.com<nodejs%2Bunsubscribe@googlegr=
oups.com>
> > > > > .
> > > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/nodejs?hl=3Den.
>
> > > > > --
> > > > > You received this message because you are subscribed to the Googl=
e Groups
> > > > > "nodejs" group.
> > > > > To post to this group, send email to nodejs@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > nodejs+unsubscribe@googlegroups.com<nodejs%2Bunsubscribe@googlegr=
oups.com>
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/nodejs?hl=3Den.
>