non network install

2003-06-10 Thread B Thomas
Hi,
I would be gratefull if you could help with the following problem:

I am trying to make a CD so that cywin  binary/source can be installed
from this CD. The reason being I only have a linux computer my friend
only has a Windows XP. I have a fast internet connection , he has none.
we finally did get his computer hooked up to my network and installed. 
However I would like to know how to do this still

So I mirrored a cygwin ftp archive and burned them onto a CD. However when
I try to install  from the CD I get the following two errors many, many
times when the post-install scripts are running.

1) sed.exe : "The procedure entry point libintl_gettext could not be located in
the dynamic link library cygintl-2.dll" . 

2) basename.exe : "The procedure entry point libintl_bindtextdomain
could not be located in the dynamic link library cygintl-2.dll"

Apparently as a result of these errors almost nothing works not even -
ls, man , info ... etc.

Since we have been trying to install almost the entire distro it is not
possible that some thing is missing. If i am correct this particular
library is provided by the gettext package which is being installed too.


I also noticed oddly that setup.exe classifies packages into categories
when I ran it on his computer , and did a network install but it lists
all packages in one category "misc" when we tried to install from the CD
i made. 

If this question has been often repeated here , I would be gratefull if
you could just point me to the appropriate page. I  have seen the
script mkcygwget but would like to know how to obtain the corresponding
source to make a source CD too.

sincerely
B Thomas

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread Max Bowsher
B Thomas wrote:
> Hi,
> I would be gratefull if you could help with the following problem:
>
> I am trying to make a CD so that cywin  binary/source can be installed
> from this CD. The reason being I only have a linux computer my friend
> only has a Windows XP. I have a fast internet connection , he has none.
> we finally did get his computer hooked up to my network and installed.
> However I would like to know how to do this still
>
> So I mirrored a cygwin ftp archive and burned them onto a CD. However when
> I try to install  from the CD I get the following two errors many, many
> times when the post-install scripts are running.
>
> 1) sed.exe : "The procedure entry point libintl_gettext could not be
located in
> the dynamic link library cygintl-2.dll" .
>
> 2) basename.exe : "The procedure entry point libintl_bindtextdomain
> could not be located in the dynamic link library cygintl-2.dll"
>
> Apparently as a result of these errors almost nothing works not even -
> ls, man , info ... etc.
>
> Since we have been trying to install almost the entire distro it is not
> possible that some thing is missing. If i am correct this particular
> library is provided by the gettext package which is being installed too.
>
>
> I also noticed oddly that setup.exe classifies packages into categories
> when I ran it on his computer , and did a network install but it lists
> all packages in one category "misc" when we tried to install from the CD
> i made. 

You've missed the setup.ini file, which contains all the category and
dependency information.

Obviously you haven't installed the entire distribution, because
cygintl-2.dll is in the libintl2 package.




Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread B Thomas
Hi,
Thank you for responding.

But it doesn't seem like I have some thing missing  , here is the listing 
of my top level CD-ROM directory :

directory -
total 1116
-r--r--r--1 bt   bt   2600 Jun 10 08:00 INSTALL.TXT
-r--r--r--1 bt   bt   4141 Apr 18  2002 README.TXT
-r--r--r--1 bt   bt 393740 Jun  9 19:38 cygwin.pdf
dr-xr-xr-x5 bt   bt   4096 Jun 10 05:50 mail-archives
dr-xr-xr-x   17 bt   bt   4096 Jun 10 04:55 math
-r--r--r--1 bt   bt225 Jun 10 06:47 md5.sum
dr-xr-xr-x2 bt   bt   4096 Jun  5  2002 private
dr-xr-xr-x  174 bt   bt   4096 Jun 10 06:47 release
-r--r--r--1 bt   bt  48079 Jun  9 22:07 setup.bz2
-r--r--r--1 bt   bt 259072 Jun 10 06:35 setup.exe
-r--r--r--1 bt   bt 183808 Jun  9 22:07 setup.exe.old
-r--r--r--1 bt   bt 186186 Jun  9 22:07 setup.ini
dr-xr-xr-x2 bt   bt   4096 Jun 10 03:03 tmp
dr-xr-xr-x2 bt   bt   4096 Jun 10 09:41 utils
dr-xr-xr-x3 bt   bt   4096 Jun 10 04:58 xfree


As you can see it is all there and was downloaded just yesterday. Infact
I compared the setup.exe and setup.ini on both the CD and the hard
drive. Both are identical byte by byte. Yet they behave differently or I
must be hallucinating :-). Note the CD rom very closely mirrors the 
ftp archive. I am trying to find my way through setup's source code but
with my busy schedule this is going to take a long long time, so I am 
really hoping some one would answer this. 

And yes I installed not only libintl2 but the other versions of libintl
also . Infact in trying to solve this problem I tried to install all the
packages except :

apache
ccache
curl
doxygen
dpkg
emacs
enscript
exim
fortune
gcc2
ghostscript
gnugo
guile 
libxml2
libxslt
lilypond
mutt
nano
perl
pine
postgresql
proftpd
python
ruby
splint
squid
swig
tetex
texmf
xerces-c
xfree

I will gladly put the CD ISO image on an anonymous ftp site should
anyone be interested in having a look at it. 

regards
B Thomas


On Tue, Jun 10, 2003 at 03:16:45PM +0100, Max Bowsher wrote:
> B Thomas wrote:
> > Hi,
> > I would be gratefull if you could help with the following problem:
> >
> > I am trying to make a CD so that cywin  binary/source can be installed
> > from this CD. The reason being I only have a linux computer my friend
> > only has a Windows XP. I have a fast internet connection , he has none.
> > we finally did get his computer hooked up to my network and installed.
> > However I would like to know how to do this still
> >
> > So I mirrored a cygwin ftp archive and burned them onto a CD. However when
> > I try to install  from the CD I get the following two errors many, many
> > times when the post-install scripts are running.
> >
> > 1) sed.exe : "The procedure entry point libintl_gettext could not be
> located in
> > the dynamic link library cygintl-2.dll" .
> >
> > 2) basename.exe : "The procedure entry point libintl_bindtextdomain
> > could not be located in the dynamic link library cygintl-2.dll"
> >
> > Apparently as a result of these errors almost nothing works not even -
> > ls, man , info ... etc.
> >
> > Since we have been trying to install almost the entire distro it is not
> > possible that some thing is missing. If i am correct this particular
> > library is provided by the gettext package which is being installed too.
> >
> >
> > I also noticed oddly that setup.exe classifies packages into categories
> > when I ran it on his computer , and did a network install but it lists
> > all packages in one category "misc" when we tried to install from the CD
> > i made. 
> 
> You've missed the setup.ini file, which contains all the category and
> dependency information.
> 
> Obviously you haven't installed the entire distribution, because
> cygintl-2.dll is in the libintl2 package.
> 
> 
> 
> 
> Max.
> 
> 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread Don Sharp
Hi there

My WAG is that you need to place all those top level directory contents
into a single new top level directory. setup.exe is said to fumble the
ball if you try an install from a package directory which is the root
directory of a drive.

When you run

:\\setup.exe

you have to ensure that the nominated local package directory is

:\

HTH

Don Sharp

B Thomas wrote:
> 
> Hi,
> Thank you for responding.
> 
> But it doesn't seem like I have some thing missing  , here is the listing
> of my top level CD-ROM directory :
> 
> directory -
> total 1116
> -r--r--r--1 bt   bt   2600 Jun 10 08:00 INSTALL.TXT
> -r--r--r--1 bt   bt   4141 Apr 18  2002 README.TXT
> -r--r--r--1 bt   bt 393740 Jun  9 19:38 cygwin.pdf
> dr-xr-xr-x5 bt   bt   4096 Jun 10 05:50 mail-archives
> dr-xr-xr-x   17 bt   bt   4096 Jun 10 04:55 math
> -r--r--r--1 bt   bt225 Jun 10 06:47 md5.sum
> dr-xr-xr-x2 bt   bt   4096 Jun  5  2002 private
> dr-xr-xr-x  174 bt   bt   4096 Jun 10 06:47 release
> -r--r--r--1 bt   bt  48079 Jun  9 22:07 setup.bz2
> -r--r--r--1 bt   bt 259072 Jun 10 06:35 setup.exe
> -r--r--r--1 bt   bt 183808 Jun  9 22:07 setup.exe.old
> -r--r--r--1 bt   bt 186186 Jun  9 22:07 setup.ini
> dr-xr-xr-x2 bt   bt   4096 Jun 10 03:03 tmp
> dr-xr-xr-x2 bt   bt   4096 Jun 10 09:41 utils
> dr-xr-xr-x3 bt   bt   4096 Jun 10 04:58 xfree
> 
> As you can see it is all there and was downloaded just yesterday. Infact
> I compared the setup.exe and setup.ini on both the CD and the hard
> drive. Both are identical byte by byte. Yet they behave differently or I
> must be hallucinating :-). Note the CD rom very closely mirrors the
> ftp archive. I am trying to find my way through setup's source code but
> with my busy schedule this is going to take a long long time, so I am
> really hoping some one would answer this.
> 
> And yes I installed not only libintl2 but the other versions of libintl
> also . Infact in trying to solve this problem I tried to install all the
> packages except :
> 
> apache
> ccache
> curl
> doxygen
> dpkg
> emacs
> enscript
> exim
> fortune
> gcc2
> ghostscript
> gnugo
> guile
> libxml2
> libxslt
> lilypond
> mutt
> nano
> perl
> pine
> postgresql
> proftpd
> python
> ruby
> splint
> squid
> swig
> tetex
> texmf
> xerces-c
> xfree
> 
> I will gladly put the CD ISO image on an anonymous ftp site should
> anyone be interested in having a look at it.
> 
> regards
> B Thomas
> 
> On Tue, Jun 10, 2003 at 03:16:45PM +0100, Max Bowsher wrote:
> > B Thomas wrote:
> > > Hi,
> > > I would be gratefull if you could help with the following problem:
> > >
> > > I am trying to make a CD so that cywin  binary/source can be installed
> > > from this CD. The reason being I only have a linux computer my friend
> > > only has a Windows XP. I have a fast internet connection , he has none.
> > > we finally did get his computer hooked up to my network and installed.
> > > However I would like to know how to do this still
> > >
> > > So I mirrored a cygwin ftp archive and burned them onto a CD. However when
> > > I try to install  from the CD I get the following two errors many, many
> > > times when the post-install scripts are running.
> > >
> > > 1) sed.exe : "The procedure entry point libintl_gettext could not be
> > located in
> > > the dynamic link library cygintl-2.dll" .
> > >
> > > 2) basename.exe : "The procedure entry point libintl_bindtextdomain
> > > could not be located in the dynamic link library cygintl-2.dll"
> > >
> > > Apparently as a result of these errors almost nothing works not even -
> > > ls, man , info ... etc.
> > >
> > > Since we have been trying to install almost the entire distro it is not
> > > possible that some thing is missing. If i am correct this particular
> > > library is provided by the gettext package which is being installed too.
> > >
> > >
> > > I also noticed oddly that setup.exe classifies packages into categories
> > > when I ran it on his computer , and did a network install but it lists
> > > all packages in one category "misc" when we tried to install from the CD
> > > i made. 
> >
> > You've missed the setup.ini file, which contains all the category and
> > dependency information.
> >
> > Obviously you haven't installed the entire distribution, because
> > cygintl-2.dll is in the libintl2 package.
> >
> >
> >
> >
> > Max.
> >
> >
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http:

Re: non network install

2003-06-10 Thread Andrew Markebo
/ B Thomas <[EMAIL PROTECTED]> wrote:
| Hi,
| I would be gratefull if you could help with the following problem:
| [...]
| So I mirrored a cygwin ftp archive and burned them onto a CD. However when
| I try to install  from the CD I get the following two errors many, many
| times when the post-install scripts are running.

Any special reason mirroring it over ftp (it sounds like that),
instead of letting setup download the packages and put it as it wants
them?

/Andy

-- 
 All people are equal, but some are more equal that the others
- Someone more equal


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread B Thomas
As I mentioned earlier I was trying to help a friend without a network 
connection install it . But now I just want to know how it can be done
as I was trying to make a Cygwin CD so that he could use it to install
both binaries and sources when he pleases. With a fair bit of
inconvienence (as neither of us have a car) , we finally got his computer 
to my place and installed it over the network. I did not have a windows 
OS on my own computer to be able to run setup and did not trust wine.

Now let me give you a stronger reason why I think distributing software
ONLY by network installs is a very bad idea. If you were a average
working man in almost any other country other than america then as you
may check for your self a high speed internet would be quite a pinch on
your monthly salary. To many it would not even be affordable. So if you
think about this a while, making network install the only option is in 
very bad taste. I mention this since you specifically asked . Now if you do 
see my point is sincere and a valid one, you should be wondering why is
there so little documentation on the cygwin site on how to do this or
why is it almost impossible to find a reasonably priced CD rom
distribution being sold by anyone ?. What kind of a marketing strategy do
you think RedHat had here when they specifically took over cygwin from
the earstwhile Cygnus solutions?

If  anyone does know of such a CD Rom distribution of the Cywin
product family (both source and binary) I would very happly buy one so
that I could help many more people install it on their computers, in
future, with greater ease. In the absence of such an alternative I was
looking for how to build a CD Rom distribution myself but found hardly
any information!!

sincerely
B.Thomas

On Tue, Jun 10, 2003 at 07:41:18PM +0200, Andrew Markebo wrote:
> / B Thomas <[EMAIL PROTECTED]> wrote:
> | Hi,
> | I would be gratefull if you could help with the following problem:
> | [...]
> | So I mirrored a cygwin ftp archive and burned them onto a CD. However when
> | I try to install  from the CD I get the following two errors many, many
> | times when the post-install scripts are running.
> 
> Any special reason mirroring it over ftp (it sounds like that),
> instead of letting setup download the packages and put it as it wants
> them?
> 
> /Andy


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread B Thomas
We did try copying the CD contents to his harddrive to a directory in
My Documents\temp\Cygwin\setup.exe(and other subdirectories)
Then ran setup and specified that we wanted to install from "local disk"
with path My Documents\temp\Cygwin\release.
Even this gave the same errors as I originally posted. It was then we
decided to make the effort to get his computer to my place. Please
correct me if I am wrong but this seems to indicate the problem here was
not that of the top level directory. Could you kindly point me to the
web page where you read about this problem .
sincerely
B Thomas

On Tue, Jun 10, 2003 at 04:03:00PM +0100, Don Sharp wrote:
> Hi there
> 
> My WAG is that you need to place all those top level directory contents
> into a single new top level directory. setup.exe is said to fumble the
> ball if you try an install from a package directory which is the root
> directory of a drive.
> 
> When you run
> 
> :\\setup.exe
> 
> you have to ensure that the nominated local package directory is
> 
> :\
> 
> HTH
> 
> Don Sharp


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread Larry Hall
B Thomas wrote:



Now let me give you a stronger reason why I think distributing software
ONLY by network installs is a very bad idea. 


Hm, what makes you think that Cygwin can only be distributed via network
installs?  You yourself noted that all the packages were available for
download via FTP.  Just because you couldn't find the one piece of
information you needed to make this work for you doesn't mean that the
option doesn't exist.

If you were a average
working man in almost any other country other than america then as you
may check for your self a high speed internet would be quite a pinch on
your monthly salary. To many it would not even be affordable. So if you
think about this a while, making network install the only option is in 
very bad taste. I mention this since you specifically asked . Now if you do 
see my point is sincere and a valid one, you should be wondering why is
there so little documentation on the cygwin site on how to do this or
why is it almost impossible to find a reasonably priced CD rom
distribution being sold by anyone ?. What kind of a marketing strategy do
you think RedHat had here when they specifically took over cygwin from
the earstwhile Cygnus solutions?


It does sound like a sinister plot.  But only because you're making it
into one.  Red Hat bought Cygnus Solutions.  That has no bearing on the
free software Cygwin project.  While it's true that no corporation is
selling Cygwin on a CD AFAIK, that doesn't mean that someone can't.
Perhaps if you asked the list for such an offering, someone here would've
been willing to provide such a CD for you.

If  anyone does know of such a CD Rom distribution of the Cywin
product family (both source and binary) I would very happly buy one so
that I could help many more people install it on their computers, in
future, with greater ease. In the absence of such an alternative I was
looking for how to build a CD Rom distribution myself but found hardly
any information!!


Sounds like you're quite worked up about this.  That's too bad.  True,
there is not page on the Cygwin site that gives you step-by-step
instructions on how to make a Cygwin CD.  But others have asked before on
this email list and the details of the process have been covered.  You
could've looked there.  And actually, it's not that difficult.  Really,
I expect you have it right now.  You just missed the rather arcane fact
that things don't work unless you put it all in a subdirectory of the CD.
C'est la vie.
--

Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: non network install

2003-06-10 Thread B Thomas
Hi,
I did not mean to offend anyone. I do have strong feelings about such
things. I will certainly try to make this CD and put instructions on my 
web page to do the same. Thank you for you paitence and understanding.

sincerely
B Thomas

On Tue, Jun 10, 2003 at 05:22:59PM -0400, Larry Hall wrote:
 
> Sounds like you're quite worked up about this.  That's too bad.  True,
> there is not page on the Cygwin site that gives you step-by-step
> instructions on how to make a Cygwin CD.  But others have asked before on
> this email list and the details of the process have been covered.  You
> could've looked there.  And actually, it's not that difficult.  Really,
> I expect you have it right now.  You just missed the rather arcane fact
> that things don't work unless you put it all in a subdirectory of the CD.
> C'est la vie.
> 
> --
> 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread Don Sharp
See inline comment below.

B Thomas wrote:
> 
> We did try copying the CD contents to his harddrive to a directory in
> My Documents\temp\Cygwin\setup.exe(and other subdirectories)
> Then ran setup and specified that we wanted to install from "local disk"
> with path My Documents\temp\Cygwin\release.

The path should be to the directory containing release. In your case

"My Documents\temp\Cygwin"

HTH

Don Sharp

> Even this gave the same errors as I originally posted. It was then we
> decided to make the effort to get his computer to my place. Please
> correct me if I am wrong but this seems to indicate the problem here was
> not that of the top level directory. Could you kindly point me to the
> web page where you read about this problem .
> sincerely
> B Thomas
> 
> On Tue, Jun 10, 2003 at 04:03:00PM +0100, Don Sharp wrote:
> > Hi there
> >
> > My WAG is that you need to place all those top level directory contents
> > into a single new top level directory. setup.exe is said to fumble the
> > ball if you try an install from a package directory which is the root
> > directory of a drive.
> >
> > When you run
> >
> > :\\setup.exe
> >
> > you have to ensure that the nominated local package directory is
> >
> > :\
> >
> > HTH
> >
> > Don Sharp
> 
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread Larry Hall
B Thomas wrote:
Hi,
I did not mean to offend anyone. I do have strong feelings about such
things. I will certainly try to make this CD and put instructions on my 
web page to do the same. Thank you for you paitence and understanding.


No offense taken.  I just wanted to be clear on the issues so that others
who may see this thread in the email archives would get accurate information.
Personally, I'd be real happy to see your instructions on making a CD
become part of the Cygwin site.  Would you consider supplying some wording
or even a patch to the User's Guide?
--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: non network install

2003-06-10 Thread B Thomas
In-Reply-To: <[EMAIL PROTECTED]>

Thank you very much for all your replies. Having the distribution in 
folder below the top one does indeed solve the problem. 

I wrote a bunch of tiny bash scripts to make the check dependencies and
make the iso image for two CD's. I shall put up the scripts and detailed 
instructions on my web page this weekend. I will be gladly help in
making the patch to the users manual too. I am familiar with TeX, LaTeX
and HTML but not Texinfo. I shall try learning it , but that will take
me time. If there is a posibility for converting LateX/Tex with Texinfo
that would be great. However I would like to develop the scripts into
a simple but effective program for making the images first. 
Here are some of my concerns with writing a program for making CD
images, please do make suggetions as appropriate . Right now the way I 
have it set is that the entire distribution fits onto 2 CD's , except 
1997 and 1998 mail-archives. I have tried to make these CD's so that 
all packages on CD 1 do not depend on any package on CD 2 . However 
packages in CD 2 may depend on CD 1. I did this as I was not sure how
setup.exe would behave if it found unmet dependencies. I guess I could
have deleted the older versions and unnecessary things like
mail-archives so that it all fit on one CD. However personally I was
disinclined to do this as I don't see why we must have such a
restriction that the CD ROM distribution has to be one CD. Moreover 
Cywin is bound to grow. Also having older version may be a good idea
since if there is a bug in a later version that is unacceptable to the
user he may choose an older one. 

The way I am doing the dependency checking right now is not very
satisfactory and would appreciate suggestions . I greped through 
the setup.hints files in each package directory , picked out the 
"requires" lines , appropriately edited it using sed , makeing a table
which I saved in a file. I also have another file that is a table with 
two columns - one the package name (directory) and the other the CD to
which it belong. A script then uses these two files to check
dependencies of CD 1 are fullfilled within it . 

I am acutely aware that this is not the way to go so would like to build
a portable and robust script that would able to do all of the above
using just the ftp archive . I would like to be insensitive to changes
in the ftp archive and be portable to atleast windows and linux .
I am familiar with C, C++, Java , BASH , Fortran and would be willing
tor try another language if appropriate.  What do you think ?

Also both dpkg, and rpm have very powerfull dependency checking engines
so this seems like reinventing the wheel. Alternatively is it better to 
hack the setup.exe code to do all this. I haven't read the code so am
not very sure if it is portable .

sincerely
B Thomas

On Tue, Jun 10, 2003 at 06:26:26PM -0400, Larry Hall wrote:
> B Thomas wrote:
> >Hi,
> >I did not mean to offend anyone. I do have strong feelings about such
> >things. I will certainly try to make this CD and put instructions on my 
> >web page to do the same. Thank you for you paitence and understanding.
> 
> 
> No offense taken.  I just wanted to be clear on the issues so that others
> who may see this thread in the email archives would get accurate 
> information.
> 
> Personally, I'd be real happy to see your instructions on making a CD
> become part of the Cygwin site.  Would you consider supplying some wording
> or even a patch to the User's Guide?
> 
> -- 
> Larry Hall  http://www.rfk.com
> RFK Partners, Inc.  (508) 893-9779 - RFK Office
> 838 Washington Street   (508) 893-9889 - FAX
> Holliston, MA 01746


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: non network install

2003-06-10 Thread B Thomas
Here are the scripts I used, some explaination is also in another post
to this thread :

---
#!/bin/sh
# Script to check the dependencies of packages in the Cygwin distribution
# The script needs the file CDindex.txt and depends.txt in the same
# directory as it is in, which must be the parent directory of the cywin
# distribution (i.e. the parent of the ftp directory of cygwin)
# The file CDindex.txt is created as described in duimage and the file
# depends.txt is created by "grep"ing through the setup.hints file in
# each packages directory and extracting lines with "requires" in them (some
# manual editing was necessary to fix bugs caused by non standard
# step.hints)
# The output of this helps identify dependency problems .
# USAGE: chkdepends [cd1 | cd2]
#
for item in `cat CDindex.txt | grep $1 | grep release | sed 's/^.*release\///'`
do
  echo "Dependencies of package  $item :"
  deps=`cat depends.txt | grep ^$item\: | sed 's/^.*requires\://'`
  for dep in $deps
do
  cd=`cat CDindex.txt | grep ^.*release/$dep$ | sed 's/\.*$//'`
  echo "$dep - which is in $cd"
done
echo -e "\n"
done
-
#!/bin/sh
# Gives size of images of the Cygwin archive for CD burning
# This uses a file CDindex.txt with directory listings to which a first column
# has been added indicating the CD number to which the particular directory or
# file must belong.
#
# USEAGE : ./duimage CD-NUMBER
# Where CD-NUMBER may be any one of the numbers used in the first column of
# CDindex.txt; this is written confirming to regular expression cd? in order
# to be compatible with the provided scripts
#
# NOTE:
# Depending on the format of the CDindex.txt file you may need to edit
# this script so that FILES is a single list of all directory entries whose
# image needs to be made.In particular the sed/grep script on the first
# line may# need to be changed. A good way to generate the CDindex.txt
# is to do
# du -hsc cygwin/* > CDindex.txt 
# in the parent of the directory to be archived i.e cygwin, and then edit it 
# to put in the first column specify CD number.

FILES=`cat CDindex.txt | grep "^$1" | sed 's/^.*cygwin\//cygwin\//'`
du -hsc $FILES
-
#!/bin/sh
# Makes images of the Cygwin archive for CD burning
# This uses a file CDindex.txt with directory listings to which a first column
# has been added indicating the CD number to which the particular
# directory or file must belong.
#
# USEAGE : ./makeimage CD-NUMBER
# Where CD-NUMBER may be any one of the numbers used in the first column
# of CDindex.txt . This will make an ISO image containing all the directory
# entries# whose first column is the particular number i.e. cd? (regexp)
#
# NOTE:
# Depending on the format of the CDindex.txt file you may need to edit
# this script so that FILES is a single list of all directory entries whose
# image needs to be made.In particular the sed/grep script on the first
# line may# need to be changed. A good way to generate the CDindex.txt
# is to do
# "du -hsc cygwin/* > CDindex.txt" in the directory to be archived, and
# then
# edit it to put in the first column specify CD number.

FILES=`cat CDindex.txt | grep "^$1" | sed 's/^.*cygwin\//cygwin\//'`
for file in $FILES
do
 IMAGES="$IMAGES $file=$file"
done
 echo $IMAGES
 DATE=`date +%d-%m-%Y-$1`
 mkisofs -ACygwin-$DATE -graft-points -hide-rr-moved -rJ -o cd.iso $IMAGES


*SAMPLE: CDindex.txt and depends.txt files I generated**

DEPENDS.TXT

ELFIO:requires: cygwin
_update-info-dir:requires: texinfo ash
a2ps:requires: cygwin groff man
agetty:requires: cygwin login
apache:requires: cygwin gdbm
astyle:requires: cygwin
autoconf:requires: ash autoconf
automake:requires: ash automake
base-files:requires: ash fileutils sh-utils textutils findutils sed
base-passwd:requires: cygwin ash
bash:requires: cygwin termcap _update-info-dir
bc:requires: cygwin
binutils:requires: cygwin ash
bison:requires: cygwin gettext m4
byacc:requires: cygwin
bzip2:requires: cygwin texinfo
ccache:requires: gcc
chkconfig:requires: cygwin initscripts
clear:requires: cygwin
cmake:requires: ncurses cygwin
compface:requires: cygwin
cron:requires: cygwin
ctags:requires: cygwin
curl:requires: cygwin openssl
cvs:requires: ash cygwin gdbm crypt textutils
cygutils:requires: cygwin popt gettext libiconv
cygwin-doc:requires: cygwin man gzip sed newlib-man cygutils
cygwin:requires: gettext _update-info-dir base-passwd
dejagnu:requires: expect
diffutils:requires: ash cygwin
doxygen:requires: cygwin libpng
dpkg:requires: perl cygwin gettext
ed:requires: cygwin
emacs:requi

Re: non network install

2003-06-11 Thread Max Bowsher
B Thomas wrote:
> In-Reply-To: <[EMAIL PROTECTED]>
>
> Thank you very much for all your replies. Having the distribution in
> folder below the top one does indeed solve the problem.
>
> I wrote a bunch of tiny bash scripts to make the check dependencies and
> make the iso image for two CD's. I shall put up the scripts and detailed
> instructions on my web page this weekend. I will be gladly help in
> making the patch to the users manual too. I am familiar with TeX, LaTeX
> and HTML but not Texinfo. I shall try learning it , but that will take
> me time. If there is a posibility for converting LateX/Tex with Texinfo
> that would be great. However I would like to develop the scripts into
> a simple but effective program for making the images first.
> Here are some of my concerns with writing a program for making CD
> images, please do make suggetions as appropriate . Right now the way I
> have it set is that the entire distribution fits onto 2 CD's , except
> 1997 and 1998 mail-archives. I have tried to make these CD's so that
> all packages on CD 1 do not depend on any package on CD 2 . However
> packages in CD 2 may depend on CD 1. I did this as I was not sure how
> setup.exe would behave if it found unmet dependencies. I guess I could
> have deleted the older versions and unnecessary things like
> mail-archives so that it all fit on one CD. However personally I was
> disinclined to do this as I don't see why we must have such a
> restriction that the CD ROM distribution has to be one CD. Moreover
> Cywin is bound to grow. Also having older version may be a good idea
> since if there is a bug in a later version that is unacceptable to the
> user he may choose an older one.

That is true, but it is far easier to install from a single CD.
Cygwin does currently fit on a single CD.

Michael Chase's clean_setup.pl
(http://home.ix.netcom.com/~mchase/zip/) may help here:
It can parse setup.ini and produce a list of urls to download, or move files
around, subject to certain filters, including "not previous".

> The way I am doing the dependency checking right now is not very
> satisfactory and would appreciate suggestions . I greped through
> the setup.hints files in each package directory , picked out the
> "requires" lines , appropriately edited it using sed , makeing a table
> which I saved in a file. I also have another file that is a table with
> two columns - one the package name (directory) and the other the CD to
> which it belong. A script then uses these two files to check
> dependencies of CD 1 are fullfilled within it .
>
> I am acutely aware that this is not the way to go so would like to build
> a portable and robust script that would able to do all of the above
> using just the ftp archive . I would like to be insensitive to changes
> in the ftp archive and be portable to atleast windows and linux .
> I am familiar with C, C++, Java , BASH , Fortran and would be willing
> tor try another language if appropriate.  What do you think ?

Perl.

> Also both dpkg, and rpm have very powerfull dependency checking engines
> so this seems like reinventing the wheel. Alternatively is it better to
> hack the setup.exe code to do all this. I haven't read the code so am
> not very sure if it is portable .

No, setup.exe isn't portable. However, if you want to try and make it so, go
ahead :-) .


Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Non network install of Cygwin?

2006-06-30 Thread Jessica M. Sager
My organization supports two major United State federal
government networks which are not connected to the Internet.  Part of
our support is maintaining an archive of software in which we place a
variety of products, including software for evaluation.  One of our
users has requested that Cygwin be placed in our archive for use, but
after reviewing the Cygwin site, I am unable to find a non-network
install of the software. Is a non-network install version of Cygwin
available? If so, we would like to add it to our Software Archives. We
will be including both a copy of the licensing agreement and will list
the address of your Internet web site, when we package it for
distribution to our other networks. 

If a non-network install of Cygwin does not exist, please advice
us as to what we here would have to do to make Cygwin viable for a
variety of different users who access our archives.

Thank you in advance for your time and effort.

Jessica Sager
Intelink Service Management Center

 





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Non network install of Cygwin?

2006-07-01 Thread Dave

Jessica M. Sager wrote:

install of the software. Is a non-network install version of Cygwin
available?


The setup.exe program linked on main page can download the entire 
distribution. You can then copy that distribution anywhere you want and 
use setup.exe to install on any non-networked machine.


See http://www.cygwin.com/cygwin-ug-net/setup-net.html#id4675192

Basically choose Download from internet on one of the initial pages.
Specify some directory to hold the sources, say cygwin-packages
On the package list select the all radio button.

The cygwin-packages directory will contain a setup.ini, and a directory 
named after the mirror site you downloaded from.


Alternatively you can just rsync off of a mirror, and point setup.exe to 
that directory. For example, from 
ftp://ftp.heanet.ie/mirrors/sources.redhat.com/pub/cygwin


For a list of mirrors see http://cygwin.com/mirrors.html

If you search the mailing list archives you should find more detailed 
discussion of how to do non-networked installs.



HTH.

Dave.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/