* How to install customised version of cygwin
@ 2002-04-21 22:53 hugo
0 siblings, 0 replies; 9+ messages in thread
From: hugo @ 2002-04-21 22:53 UTC (permalink / raw)
To: cygwin
Hi
I am re-posting this question as, although I got an answer, it didn't
quite resolve my problem.
I would like create a customized version of cygwin which includes Perl
TK, some perl utilities of my own, some other extras like Tk::FileDialog
and the like. I would like to be able to package that up, then install
this with a script similar to setup.exe on other computers. I had a look
at the setup.exe script: I cannot customize it as it is binary code.
My question is: is there any way to create a customized version of
cygwin, then use an install script that installs cygwin properly on any
other computer (Win NT, 2000 and XP). This would include creating the
mount points and executing the mkpasswd -l > etc/password and mkgroup -l
>/etc/group commands and whatever else is needed to install cygwin properly.
Perhaps one way of resolving this is finding the source code for
setup.exe. If I know what setup.exe does to install cygwin properly,
perhaps I can create my own script that does the same for the customized
version of cygwin I would like to install.
Can anyone help me out with this? Any help will be greatly appreciated.
Thanks
Hugo
--
Dr Hugo Bouckaert
R&D Support Engineer/Systems Administrator
Fractal Graphics
57 Havelock St
West Perth, WA 6005
PO Box 1675, West Perth 6872
Ph: 61 08 9211 6000
Fax: 61 08 9226 1299
www.fractalgraphics.com.au
------------------------------------------------------------------------
This email and any attachments may be confidential or legally
privileged. If you received this message in error or are not the
intended recipient, you should destroy the e-mail message and any
attachments or copies, and you are prohibited from retaining,
distributing, disclosing or using any information contained herein.
Please inform us of the erroneous delivery by return e-mail. Thank you
for your cooperation.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to install customised version of cygwin
2002-04-22 7:53 ` Christopher Faylor
@ 2002-04-23 14:13 ` rich-paul
0 siblings, 0 replies; 9+ messages in thread
From: rich-paul @ 2002-04-23 14:13 UTC (permalink / raw)
To: cygwin
On Mon, Apr 22, 2002 at 10:44:20AM -0400, Christopher Faylor wrote:
> On Mon, Apr 22, 2002 at 03:55:14AM -0400, rich-paul@rich-paul.net wrote:
> >Anyway, you can find this trove of information at
> >www.rich-paul.net. Have fun with it.
>
> One part of your installation instructions is ill-advised. Using regedit
> rather than mount to set up your mount table is really asking for trouble.
I'll note that in the article. I can't recall why I used
regedit, I think that at one time I had a perl script that
turned the output of mount into a shell script, and didn't
have time to redo it, so this was a temporary measure.
--
Got freedom? Vote Libertarian: http://www.lp.org
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to install customised version of cygwin
2002-04-22 0:21 ` hugo
2002-04-22 2:16 ` rich-paul
@ 2002-04-22 22:50 ` Andrew DeFaria
1 sibling, 0 replies; 9+ messages in thread
From: Andrew DeFaria @ 2002-04-22 22:50 UTC (permalink / raw)
To: cygwin
hugo wrote:
> Hi Robert
>
> Thanks for your reply. However, I do not want to compile from source -
> there is no need for that. All I would like to do is include XFree86,
> Tk800.23.1 and Tk:Filedialog in my cygwin distribution, plus a few
> perl utilities I wrote myself.
>
> At present this involves several steps:
>
> 1. Using setup.exe to install cygwin;
> 2. Downloading XFree86, unzipping extract.exe and running the
> Xinstall.sh script;
> 3. Downloading Tk800.23.1, then running perl Makefile.PL, make, make
> test and make install;
> 4. Copying over the perl utilities I have from my source location to
> /usr/local/bin.
>
> I would like to reduce the above steps to a single-step installation.
Sounds like you need to write a script! ;-)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to install customised version of cygwin
2002-04-22 2:16 ` rich-paul
2002-04-22 7:17 ` Larry Hall (RFK Partners, Inc)
@ 2002-04-22 7:53 ` Christopher Faylor
2002-04-23 14:13 ` rich-paul
1 sibling, 1 reply; 9+ messages in thread
From: Christopher Faylor @ 2002-04-22 7:53 UTC (permalink / raw)
To: cygwin
On Mon, Apr 22, 2002 at 03:55:14AM -0400, rich-paul@rich-paul.net wrote:
>Anyway, you can find this trove of information at
>www.rich-paul.net. Have fun with it.
One part of your installation instructions is ill-advised. Using regedit
rather than mount to set up your mount table is really asking for trouble.
I've mentioned this repeatedly in this mailing list but it doesn't seem
to sink in. People seem to want to make the setting of directory information
into something mysterious when it is really straightforward.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to install customised version of cygwin
2002-04-22 2:16 ` rich-paul
@ 2002-04-22 7:17 ` Larry Hall (RFK Partners, Inc)
2002-04-22 7:53 ` Christopher Faylor
1 sibling, 0 replies; 9+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-22 7:17 UTC (permalink / raw)
To: rich-paul, cygwin
At 03:55 AM 4/22/2002, rich-paul@rich-paul.net wrote:
>Well, I quickly wrote up what I do to install cygwin. The first
>differance is that I use tar, not zip ... zip doesn't grok cygwin
>symlinks and such. Anyway, the good news is that setup.exe does
>almost nothing except install the files. creating the
>mountpoints is trivial, just export 'em with regedit and import
>'em with regedit /s.
This only works if your target machines will have Cygwin installed on
the same drive as your source installation. A better route is to just make
a script which uses 'mount' to set up the mount points. It's really very
simple.
>I also included source to a couple of silly little exes I use
>when doing this. One creates a shortcut, like the old resource
>kit shortcut.exe, but even less friendly. The other notifies
>top level windows that the environment in the registry has
>changed, so that explorer will reload it and your first bash
>shell will be able to find itself.
>
>Anyway, you can find this trove of information at
>www.rich-paul.net. Have fun with it.
I would hope that by now this is unnecessary to say but I'll repeat this for
the sake of completeness. This list will accept questions about installation
problems only if setup.exe has been used to install. If you attempt an
installation using the method described above and have problems, don't post
them here. This list cannot afford to become the 'catch-all' support group
for any and all home-grown installation facilities.
>On Mon, Apr 22, 2002 at 02:32:10PM +0800, hugo wrote:
> > Hi Robert
> >
> > Thanks for your reply. However, I do not want to compile from source -
> > there is no need for that. All I would like to do is include XFree86,
> > Tk800.23.1 and Tk:Filedialog in my cygwin distribution, plus a few perl
> > utilities I wrote myself.
> >
> > At present this involves several steps:
> >
> > 1. Using setup.exe to install cygwin;
> > 2. Downloading XFree86, unzipping extract.exe and running the
> > Xinstall.sh script;
> > 3. Downloading Tk800.23.1, then running perl Makefile.PL, make, make
> > test and make install;
> > 4. Copying over the perl utilities I have from my source location to
> > /usr/local/bin.
> >
> > I would like to reduce the above steps to a single-step installation. So
> > I thought that, if I run through all steps (1 to 4) on my machine, then
> > zip up everything under C:\cygwin into one large cygwin.zip file, I may
> > be able to run a script that installs cygwin.zip on another computer.
> > However, this involves knowing what setup.exe does in terms of making
> > mounts, executing the mkpasswd and mkgroup commands etc. and placing the
> > necessary dlls in the right places. This is really what I am after.
> >
> > Would you or anyone else be able to help with this? Any help will be
> > greatly appreciated.
> >
> > Thanks
> >
> > Hugo
> >
> > Robert Collins wrote:
> > >
> > > > -----Original Message-----
> > > > From: hugo [mailto:hugo@fractalgraphics.com.au]
> > >
> > > > setup.exe script: I cannot customize it as it is binary code.
> > >
> > > On this page (http://cygwin.com/lists.html) the location of the source
> > > is documented.
> > >
> > > Rob
> > >
> > > --
> > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> > > Bug reporting: http://cygwin.com/bugs.html
> > > Documentation: http://cygwin.com/docs.html
> > > FAQ: http://cygwin.com/faq/
> >
> > --
> > Dr Hugo Bouckaert
> > R&D Support Engineer/Systems Administrator
> >
> > Fractal Graphics
> > 57 Havelock St
> > West Perth, WA 6005
> > PO Box 1675, West Perth 6872
> >
> > Ph: 61 08 9211 6000
> > Fax: 61 08 9226 1299
> >
> > www.fractalgraphics.com.au
> >
> > ------------------------------------------------------------------------
> > This email and any attachments may be confidential or legally
> > privileged. If you received this message in error or are not the
> > intended recipient, you should destroy the e-mail message and any
> > attachments or copies, and you are prohibited from retaining,
> > distributing, disclosing or using any information contained herein.
> > Please inform us of the erroneous delivery by return e-mail. Thank you
> > for your cooperation.
> >
> > --
> > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ: http://cygwin.com/faq/
> >
>
>--
>Got freedom? Vote Libertarian: http://www.lp.org
>
>--
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting: http://cygwin.com/bugs.html
>Documentation: http://cygwin.com/docs.html
>FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to install customised version of cygwin
2002-04-22 0:21 ` hugo
@ 2002-04-22 2:16 ` rich-paul
2002-04-22 7:17 ` Larry Hall (RFK Partners, Inc)
2002-04-22 7:53 ` Christopher Faylor
2002-04-22 22:50 ` Andrew DeFaria
1 sibling, 2 replies; 9+ messages in thread
From: rich-paul @ 2002-04-22 2:16 UTC (permalink / raw)
To: cygwin
Well, I quickly wrote up what I do to install cygwin. The first
differance is that I use tar, not zip ... zip doesn't grok cygwin
symlinks and such. Anyway, the good news is that setup.exe does
almost nothing except install the files. creating the
mountpoints is trivial, just export 'em with regedit and import
'em with regedit /s.
I also included source to a couple of silly little exes I use
when doing this. One creates a shortcut, like the old resource
kit shortcut.exe, but even less friendly. The other notifies
top level windows that the environment in the registry has
changed, so that explorer will reload it and your first bash
shell will be able to find itself.
Anyway, you can find this trove of information at
www.rich-paul.net. Have fun with it.
On Mon, Apr 22, 2002 at 02:32:10PM +0800, hugo wrote:
> Hi Robert
>
> Thanks for your reply. However, I do not want to compile from source -
> there is no need for that. All I would like to do is include XFree86,
> Tk800.23.1 and Tk:Filedialog in my cygwin distribution, plus a few perl
> utilities I wrote myself.
>
> At present this involves several steps:
>
> 1. Using setup.exe to install cygwin;
> 2. Downloading XFree86, unzipping extract.exe and running the
> Xinstall.sh script;
> 3. Downloading Tk800.23.1, then running perl Makefile.PL, make, make
> test and make install;
> 4. Copying over the perl utilities I have from my source location to
> /usr/local/bin.
>
> I would like to reduce the above steps to a single-step installation. So
> I thought that, if I run through all steps (1 to 4) on my machine, then
> zip up everything under C:\cygwin into one large cygwin.zip file, I may
> be able to run a script that installs cygwin.zip on another computer.
> However, this involves knowing what setup.exe does in terms of making
> mounts, executing the mkpasswd and mkgroup commands etc. and placing the
> necessary dlls in the right places. This is really what I am after.
>
> Would you or anyone else be able to help with this? Any help will be
> greatly appreciated.
>
> Thanks
>
> Hugo
>
> Robert Collins wrote:
> >
> > > -----Original Message-----
> > > From: hugo [mailto:hugo@fractalgraphics.com.au]
> >
> > > setup.exe script: I cannot customize it as it is binary code.
> >
> > On this page (http://cygwin.com/lists.html) the location of the source
> > is documented.
> >
> > Rob
> >
> > --
> > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting: http://cygwin.com/bugs.html
> > Documentation: http://cygwin.com/docs.html
> > FAQ: http://cygwin.com/faq/
>
> --
> Dr Hugo Bouckaert
> R&D Support Engineer/Systems Administrator
>
> Fractal Graphics
> 57 Havelock St
> West Perth, WA 6005
> PO Box 1675, West Perth 6872
>
> Ph: 61 08 9211 6000
> Fax: 61 08 9226 1299
>
> www.fractalgraphics.com.au
>
> ------------------------------------------------------------------------
> This email and any attachments may be confidential or legally
> privileged. If you received this message in error or are not the
> intended recipient, you should destroy the e-mail message and any
> attachments or copies, and you are prohibited from retaining,
> distributing, disclosing or using any information contained herein.
> Please inform us of the erroneous delivery by return e-mail. Thank you
> for your cooperation.
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
--
Got freedom? Vote Libertarian: http://www.lp.org
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: How to install customised version of cygwin
@ 2002-04-22 0:38 Robert Collins
0 siblings, 0 replies; 9+ messages in thread
From: Robert Collins @ 2002-04-22 0:38 UTC (permalink / raw)
To: hugo; +Cc: cygwin
> -----Original Message-----
> From: hugo [mailto:hugo@fractalgraphics.com.au]
> Sent: Monday, April 22, 2002 4:32 PM
>
> Hi Robert
>
> Thanks for your reply. However, I do not want to compile from
> source - there is no need for that. All I would like to do is
> include XFree86, Tk800.23.1 and Tk:Filedialog in my cygwin
> distribution, plus a few perl utilities I wrote myself.
Sure. You wanted to know what setup.exe does. The most accurate list is
the source code itself.
> At present this involves several steps:
>
> 1. Using setup.exe to install cygwin;
> 2. Downloading XFree86, unzipping extract.exe and running the
> Xinstall.sh script;
This can be done via setup.exe as well.
> 3. Downloading Tk800.23.1, then running
> perl Makefile.PL, make, make test and make install;
Make a package, you could even contribute it back to cygwin. See
http://www.cygwin.com/setup.html. Also see the cygwin-apps archives.
> 4. Copying over the perl utilities I have from my source
> location to /usr/local/bin.
>
> I would like to reduce the above steps to a single-step
> installation.
Which can be done via a extra setup.ini and a local webserver.
... This
> is really what I am after.
And you have been answered. The details are also in this lists archives.
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: How to install customised version of cygwin
2002-04-21 23:03 Robert Collins
@ 2002-04-22 0:21 ` hugo
2002-04-22 2:16 ` rich-paul
2002-04-22 22:50 ` Andrew DeFaria
0 siblings, 2 replies; 9+ messages in thread
From: hugo @ 2002-04-22 0:21 UTC (permalink / raw)
To: Robert Collins; +Cc: cygwin
Hi Robert
Thanks for your reply. However, I do not want to compile from source -
there is no need for that. All I would like to do is include XFree86,
Tk800.23.1 and Tk:Filedialog in my cygwin distribution, plus a few perl
utilities I wrote myself.
At present this involves several steps:
1. Using setup.exe to install cygwin;
2. Downloading XFree86, unzipping extract.exe and running the
Xinstall.sh script;
3. Downloading Tk800.23.1, then running perl Makefile.PL, make, make
test and make install;
4. Copying over the perl utilities I have from my source location to
/usr/local/bin.
I would like to reduce the above steps to a single-step installation. So
I thought that, if I run through all steps (1 to 4) on my machine, then
zip up everything under C:\cygwin into one large cygwin.zip file, I may
be able to run a script that installs cygwin.zip on another computer.
However, this involves knowing what setup.exe does in terms of making
mounts, executing the mkpasswd and mkgroup commands etc. and placing the
necessary dlls in the right places. This is really what I am after.
Would you or anyone else be able to help with this? Any help will be
greatly appreciated.
Thanks
Hugo
Robert Collins wrote:
>
> > -----Original Message-----
> > From: hugo [mailto:hugo@fractalgraphics.com.au]
>
> > setup.exe script: I cannot customize it as it is binary code.
>
> On this page (http://cygwin.com/lists.html) the location of the source
> is documented.
>
> Rob
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
--
Dr Hugo Bouckaert
R&D Support Engineer/Systems Administrator
Fractal Graphics
57 Havelock St
West Perth, WA 6005
PO Box 1675, West Perth 6872
Ph: 61 08 9211 6000
Fax: 61 08 9226 1299
www.fractalgraphics.com.au
------------------------------------------------------------------------
This email and any attachments may be confidential or legally
privileged. If you received this message in error or are not the
intended recipient, you should destroy the e-mail message and any
attachments or copies, and you are prohibited from retaining,
distributing, disclosing or using any information contained herein.
Please inform us of the erroneous delivery by return e-mail. Thank you
for your cooperation.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: How to install customised version of cygwin
@ 2002-04-21 23:03 Robert Collins
2002-04-22 0:21 ` hugo
0 siblings, 1 reply; 9+ messages in thread
From: Robert Collins @ 2002-04-21 23:03 UTC (permalink / raw)
To: hugo, cygwin
> -----Original Message-----
> From: hugo [mailto:hugo@fractalgraphics.com.au]
> setup.exe script: I cannot customize it as it is binary code.
On this page (http://cygwin.com/lists.html) the location of the source
is documented.
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-04-23 20:22 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-21 22:53 How to install customised version of cygwin hugo
2002-04-21 23:03 Robert Collins
2002-04-22 0:21 ` hugo
2002-04-22 2:16 ` rich-paul
2002-04-22 7:17 ` Larry Hall (RFK Partners, Inc)
2002-04-22 7:53 ` Christopher Faylor
2002-04-23 14:13 ` rich-paul
2002-04-22 22:50 ` Andrew DeFaria
2002-04-22 0:38 Robert Collins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).