Re: 1.5.21-1 DLL Loading Problem

2006-08-04 Thread Mark Fisher

On 8/4/06, Karl M wrote:

Hi Rob...

I got...

$ ./run
Foundation load failed: Permission denied

HTH,


not without knowing your setup it doesn't, no.
and he was asking for personal mails to keep the spam off the
list while collating information about the bug.

try running "cygcheck -cd gcc cygwin" and mailing it to rob
at the very least to show what versions of the compiler and cygwin
you are running. reporting you got a problem but not knowing what
versions you are running doesn't really help narrow the problem
down.

--
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: making a cygwin install.

2006-08-04 Thread Oliver Wienand

Creating a self-extracting .exe that installs parts of Cygwin is not a
very Cygwin-friendly way of distributing software, as it won't play nicely
with existing Cygwin installations (see ).
The approved way of installing Cygwin is using the setup.exe tool.


I totally agree that one should use Cygwin setup.exe to install a 
Cygwin-based application. However, you can just wrap setup.exe and a 
local repository with a base package holding all the packages to install 
with some Windows install program to get single executable setup package.


... Oliver

--
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: 1.5.21-1 DLL Loading Problem

2006-08-04 Thread Karl M

Hi Rob...

I got...

$ ./run
Foundation load failed: Permission denied

HTH,

...Karl



From: Rob Hatcherson Subject: Re: 1.5.21-1 DLL Loading Problem
Date: Wed, 02 Aug 2006 16:14:41 -0500

All:

This is a follow-up to a couple of posts I made 7/25,7/26/2006 regarding 
DLL loading issues.  cygcheck output was attached to the first of my two 
posts.  The cause of the problem in its original incarnation is still 
undetermined, as it all seems to be happening upstream of main() where 
things are slightly harder to nail down.


I tried pushing the issue downstream of main() by loading one of the 
questionable DLLs directly via dlopen().  This also failed, so I pared it 
down to something small that still fails consistently (testcase1.tgz, 
attached).  While this isn't exactly the form of the problem I originally 
described, it's still DLL related, and the behavior is similar.


As indicated in my original post, this problem appears possibly related to 
previously reported DLL loading issues.  But... those are supposed to be 
fixed in 1.5.21-1.


I've run this app on two XP boxes and one Win2K box with the 1.5.21-1 
cygwin1.dll, and all failed with dlerror() reporting "permission denied".  
FWIW on two of the machines I tried the 1.5.18-1 cygwin1.dll (same compiler 
version), and it always worked.


At first glance it would seem that "permission denied" is pointing to the 
issue, but simple (and irrational) changes to the source cause the problem 
to morph.  For example, commenting out the #include of ReleasePool.h in 
Object.cpp - which isn't strictly required in the test case Object.cpp but 
was a leftover from the paring down process - caused the failure to be 
reported as "bad address".  Commenting out other things, such as some of 
the static fields in the Object and/or ReleasePool classes, or the 
#include's in Object.h, permit dlopen() to load the DLL successfully.  
Also, removing the -g from CXXFLAGS results in a build that works.  There 
are other variations.


At this point I'm looking for volunteers with the same cygwin/g++/etc... 
versions to try to build and run this, to see if the failure is consistent, 
or if we just happen to have a pile of confused machines at our office.  To 
run a) untar testcase1.tgz somewhere, b) make, c) ./run.  It will either 
say the DLL loaded OK, or give a reason why it didn't.


Note that I have *not* yet tried gcc 3.4.4-2 as suggested earlier by Dave 
Korn.  I'll try to get to that shortly.  Have also not yet tried the 
current nightly build.


For any of you who have a moment to help, feel free to my private email if 
you prefer and I will be glad to summarize any findings in a future post to 
keep the chatter on the list down.


TIA for any help.

Rob





<< testcase1.tgz >>




--
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: ssh breaks while loo

2006-08-04 Thread CB

> This isn't Cygwin-specific so it's off-topic for this list.
Sorry, I am so acoustomed to using cygwin as my normal *NIX environment I 
forget to check Solaris, HP-UX or AIX 
anymore.



--
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: cygwin, Coda and symbolic links

2006-08-04 Thread Igor Peshansky
On Fri, 4 Aug 2006, Adam Wolbach wrote:

> > http://www.google.com/search?as_q=windows+shortcut+file+format
> >
> > The first match
> >
> > http://mediasrv.ns.ac.yu/extra/fileformat/windows/lnk/shortcut.pdf
> >
> > is what you're looking for and what I used when implementing the
> > shortcut stuff.
>
> Thanks, this gets me more than halfway to what I need to know -- the
> missing piece is how these fields need to be filled out to appear as a
> symbolic link to cygwin. Worst case I can just hunt through the cygwin
> source, but if you happen to know or have notes lying around somewhere,
> it might be useful to more than just us to post them somewhere. Thanks
> again.

Your best source of information is probably symlink_worker() in
.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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/



Help with ITP (package maintenance)

2006-08-04 Thread Maurício

  Hi,

  I would like to be maintainer of a program called 'rlwrap'. It's a 
great tool to be used with Windows command line programs and cygwin, 
since it allows any program to be used with GNU readline input (I use it 
with 'ghci', the Haskell interpreter, and others).
  However, I don't have a FTP server where I can put my packages so 
they can be evaluated by current maintainers. Can someone provide me a 
place to put those files? They sum 180KB. That would be only for a few 
days until cygwin maintainers can check the quality of my package and 
vote its inclusion in official cygwin, and then those files can be removed.


  Thanks for your help,
  Maurício



--
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: cygwin, Coda and symbolic links

2006-08-04 Thread Adam Wolbach



http://www.google.com/search?as_q=windows+shortcut+file+format

The first match

http://mediasrv.ns.ac.yu/extra/fileformat/windows/lnk/shortcut.pdf

is what you're looking for and what I used when implementing the
shortcut stuff.



Thanks, this gets me more than halfway to what I need to know -- the 
missing piece is how these fields need to be filled out to appear as a 
symbolic link to cygwin. Worst case I can just hunt through the cygwin 
source, but if you happen to know or have notes lying around somewhere, 
it might be useful to more than just us to post them somewhere. Thanks 
again.



Adam Wolbach

--
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: need assistance w/sftp & home folder creation

2006-08-04 Thread Mark Fisher

On 8/4/06, MyStiC wrote:

Also, I am looking for a way to have the initial setup of the users'
home directories to also create predefined links.  ie /home/user/
link_1, link_2...  Presently, I am creating these links manually so
the restricted users, or any user which is unfamiliar with the file
system, can quickly access public resources.


can't help with the sftp, but one solution to creating the links is
to create a script that checks for them and creates them if they
don't exist. then put it in "/etc/profile.d/" and it will be run when
they run a shell and thus the links will be available to them.
i have several scripts in this area, export.sh, alias.sh, ...
to set common values for each shell.

--
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/



need assistance w/sftp & home folder creation

2006-08-04 Thread MyStiC

The issue is that members of the users group cannot connect to the
server via SFTP.  The users can connect via SSH & SCP when their
rights include the ability to write & append data.  When using the
SFTP command within the bash console, after the password is entered,
the connection immediately closes.  WinSCP logs "Server unexpectedly
closed network connection".  Members of the administrators group have
no issues.

I've made several reinstall attempts of both the OS & Cygwin apps,
with no progress.  I've exhausted the resources on the web and have
yet to find any resolution to this issue within the mailing lists
archives.

Also, I am looking for a way to have the initial setup of the users'
home directories to also create predefined links.  ie /home/user/
link_1, link_2...  Presently, I am creating these links manually so
the restricted users, or any user which is unfamiliar with the file
system, can quickly access public resources.

I appreciate any assistance

How do I reply so that this stays attached to this issue? Sorry, new @ Cygwin

Cygwin Configuration Diagnostics
Current System Time: Fri Aug 04 11:27:11 2006

Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Program Files\Windows Resource Kits\Tools\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Intel\DMIX
c:\PROGRA~1\CA\SHARED~1\SCANEN~1
c:\PROGRA~1\CA\ETRUST~1
c:\Program Files\QuickTime\QTSystem\
C:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrator) GID: 513(None)
0(root) 513(None)   544(Administrators)
545(Users)  1037(VPN Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrator) GID: 513(None)
0(root) 513(None)   544(Administrators)
545(Users)  1037(VPN Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Administrator'
PWD = '/home/Administrator'
CYGWIN = 'ntsec'
HOME = '/home/Administrator'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\Administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\Administrator\Application Data'
HOSTNAME = 'storage'
INOCULAN = 'C:\PROGRA~1\CA\ETRUST~1'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 8 Stepping 1, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/etc/skel'
USERDOMAIN = 'STORAGE'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
TEMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
QTJAVA = 'c:\Program Files\Java\jre1.5.0_05\lib\ext\QTJava.zip'
USERNAME = 'Administrator'
CLUSTERLOG = 'C:\WINDOWS\Cluster\cluster.log'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\Administrator'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\STORAGE'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0801'
CLASSPATH = '.;c:\Program Files\Java\jre1.5.0_05\lib\ext\QTJava.zip'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
AVENGINE = 'C:\PROGRA~1\CA\SHARED~1\SCANEN~1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'STORAGE'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = '/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = 'C:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = 'C:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = 'C:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd  FAT  1Mb  66% CPUN   
c:  hd  NTFS 28672Mb  22% CP CS UN PA FC 
d:  hd  NTFS 97652Mb  72% CP CS UN PA FC Music
e:  hd  NTFS286165Mb  40% CP CS UN PA FC SGSATA
f:  hd  NTFS190779Mb  79% CP CS UN PA FC WDIDE
h:  cd N/AN/A
i:  cd N/AN/A

C:\cygwin  /  system  binmod

Re: How to install cygwin without internet connection?

2006-08-04 Thread Rupert Kolb
Mark Fisher wrote:
> On 8/4/06, Rupert Kolb  wrote:
>> we have some (~20) PCs here, which have no connection to the Internet.
>> Reason: Security!
>>
>> Question: How can I install cygwin on such PCs?
>
> can they all be setup to share a common drive, and then choose
> "install from local directory" and point it to the shared drive?
> you simply have to put the entire cygwin download there then.
Yes, they can share a network drive.
And ... it works!
(I didn't know about the "install from local directory"  feature.)

Thanks.

Rupert

--
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: [ANNOUNCEMENT] clisp-2.39-1 released

2006-08-04 Thread Dr. Volker Zell
> Reini Urban writes:

> I've taken over clisp maintainance from Sam Steingold, who lost access
> to his windows box and to this list. Thanks Sam for a wonderful job
> anyway!
> clisp-2.39-1 is now built with cygport, but you can still compile it
> with ./configure; make; make install also.

> ./configure --fsstnd=redhat --with-dynamic-ffi  \
>   --with-module=rawsock --with-module=dirkey  \
>   --with-module=bindings/win32 --with-module=berkeley-db \
>   --with-module=pcre --with-module=postgresql \
>   --with-module=fastcgi --prefix=/usr --build build

What about the zlib module, it used to be included in the last version.

Ciao
  Volker


--
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: [ANNOUNCEMENT] Updated: clamav-0.88.3-2

2006-08-04 Thread Dr. Volker Zell
> Reini Urban writes:

> Due to a packaging error detected by Volker Zell I've updated
> clamav to 0.88.3-2.

> 0.88.3-1 deleted the init.d script /etc/rc.d/init.d/clamd.
> On the first install ever the default etc/*.conf files were also missing.

There are still a couple of packaging errors:

 o /etc/rc.d/init.d/clamav/clamd  should be /etc/rc.d/init.d/clamd

 o /etc/*.conf shouldn't be there, instead copied only in the postinstall script

 o All the html documentation is missing in this version

Ciao
  Volker


--
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: making a cygwin install.

2006-08-04 Thread Mark Fisher

> From: Igor Peshansky [mailto:[EMAIL PROTECTED]


seems you missed the

hint from Igor.

--
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/



How to install cygwin without internet connection?

2006-08-04 Thread Rupert Kolb
Hi,

we have some (~20) PCs here, which have no connection to the Internet.
Reason: Security!

Question: How can I install cygwin on such PCs?
  (The recommended method with "setup.exe" doesn't work!
   I'm able to download files and carry them to the internal network)

Thanks,

Rupert


--
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: How to install cygwin without internet connection?

2006-08-04 Thread Mark Fisher

On 8/4/06, Rupert Kolb  wrote:

we have some (~20) PCs here, which have no connection to the Internet.
Reason: Security!

Question: How can I install cygwin on such PCs?


can they all be setup to share a common drive, and then choose
"install from local directory" and point it to the shared drive?
you simply have to put the entire cygwin download there then.

--
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: making a cygwin install.

2006-08-04 Thread McGraw, Robert P.
 


> -Original Message-
> From: Igor Peshansky [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 04, 2006 11:29 AM
> To: McGraw, Robert P.
> Cc: cygwin@cygwin.com
> Subject: RE: making a cygwin install.
> 
> 
> On Fri, 4 Aug 2006, McGraw, Robert P. wrote:
> 
> > > -Original Message-
> > > From: Igor Peshansky [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 04, 2006 9:34 AM
> > > To: McGraw, Robert P.
> > > Cc: [EMAIL PROTECTED]
> 
> .  Thanks.
> 
> > > Subject: Re: making a cygwin install.
> > >
> > > On Fri, 4 Aug 2006, McGraw, Robert P. wrote:
> > >
> > > > I would like to create a cygwin setup package so that users can
> > > > install the same software package on their machines.
> > > >
> > > > Is this possible? If so can you point me to the documentation that
> > > > explains how to do this?
> > >
> > > Robert,
> > >
> > > All of the information you're looking for should be on these pages:
> > >  and
> > > .
> > > You might also Google for "genini cygwin".
> > [McGraw, Robert P.]
> >
> > I have looked through the suggested ULR and not finding my answer.
> >
> > I googled genini cygwin, and the perl script pointed me
> > cygwin.com/setup.html, but it is talking about creating software
> > packages. This does not sound like what I need to do.
> 
> This sounds like exactly what you asked for above.
> 
> > So let me rephrase my question and ask how other people handle this
> > through an example.
> >
> > I need to install the Cygwin/Xserver on multiple machines. I first
> > installed Cygwin & Cygwin/X and all necessary and needed packages from a
> > cygwin server to my WinXP test system.
> >
> > Once I have tested and have it working with the right parameters, I now
> > need to install the same software on multiple machines. I would like to
> > create some kind of bundle or selfextracting file that a user can get
> > and install on their WinXP machine. This will be sure that users have
> > what they need to run the Cygwin/Xserver.
> 
> Creating a self-extracting .exe that installs parts of Cygwin is not a
> very Cygwin-friendly way of distributing software, as it won't play nicely
> with existing Cygwin installations (see
> ).
> The approved way of installing Cygwin is using the setup.exe tool.
> 
> However, there is a way of doing what you want using setup.exe.  Simply
> create a Cygwin package that contains the right configuration files, add a
> setup.hint that puts the package in the Base category and requires all the
> standard packages you've installed, then publish your package on some web
> site and have your users run Cygwin setup and point it to both a standard
> mirror and your site.  The users will then have all the right packages
> selected automatically.  You might want to have your package initially put
> the config files somewhere other than their final location (e.g.,
> /etc/defaults), and then have the postinstall script that moves them into
> the right location (to ensure that the postinstall scripts of all other
> required packages have completed by the time you do that).
> 
> If you do it right, the users can later update Cygwin on their machines or
> install more packages in a standard way.  Just make sure there are no
> clashes of the files actually included in your package with the files
> included in other package tarballs, otherwise setup will remove your files
> if the user decides to update those packages later.
[McGraw, Robert P.] 
[McGraw, Robert P.] 
Thanks, this was very helpful and I do not want to be a 3PP.

Robert


> HTH,
>   Igor
> --
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED] |
[EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  Igor Peshansky, Ph.D. (name
changed!)
>  |,4-  ) )-,_. ,\ (  `'-' old name: Igor Pechtchanski
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends
> compte."
> "But no -- you are no fool; you call yourself a fool, there's proof enough
> in
> that!" -- Rostand, "Cyrano de Bergerac"


smime.p7s
Description: S/MIME cryptographic signature


General Inquiry

2006-08-04 Thread Steve Doherty


--
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: making a cygwin install.

2006-08-04 Thread Igor Peshansky
On Fri, 4 Aug 2006, McGraw, Robert P. wrote:

> > -Original Message-
> > From: Igor Peshansky [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 04, 2006 9:34 AM
> > To: McGraw, Robert P.
> > Cc: [EMAIL PROTECTED]

.  Thanks.

> > Subject: Re: making a cygwin install.
> >
> > On Fri, 4 Aug 2006, McGraw, Robert P. wrote:
> >
> > > I would like to create a cygwin setup package so that users can
> > > install the same software package on their machines.
> > >
> > > Is this possible? If so can you point me to the documentation that
> > > explains how to do this?
> >
> > Robert,
> >
> > All of the information you're looking for should be on these pages:
> >  and
> > .
> > You might also Google for "genini cygwin".
> [McGraw, Robert P.]
>
> I have looked through the suggested ULR and not finding my answer.
>
> I googled genini cygwin, and the perl script pointed me
> cygwin.com/setup.html, but it is talking about creating software
> packages. This does not sound like what I need to do.

This sounds like exactly what you asked for above.

> So let me rephrase my question and ask how other people handle this
> through an example.
>
> I need to install the Cygwin/Xserver on multiple machines. I first
> installed Cygwin & Cygwin/X and all necessary and needed packages from a
> cygwin server to my WinXP test system.
>
> Once I have tested and have it working with the right parameters, I now
> need to install the same software on multiple machines. I would like to
> create some kind of bundle or selfextracting file that a user can get
> and install on their WinXP machine. This will be sure that users have
> what they need to run the Cygwin/Xserver.

Creating a self-extracting .exe that installs parts of Cygwin is not a
very Cygwin-friendly way of distributing software, as it won't play nicely
with existing Cygwin installations (see ).
The approved way of installing Cygwin is using the setup.exe tool.

However, there is a way of doing what you want using setup.exe.  Simply
create a Cygwin package that contains the right configuration files, add a
setup.hint that puts the package in the Base category and requires all the
standard packages you've installed, then publish your package on some web
site and have your users run Cygwin setup and point it to both a standard
mirror and your site.  The users will then have all the right packages
selected automatically.  You might want to have your package initially put
the config files somewhere other than their final location (e.g.,
/etc/defaults), and then have the postinstall script that moves them into
the right location (to ensure that the postinstall scripts of all other
required packages have completed by the time you do that).

If you do it right, the users can later update Cygwin on their machines or
install more packages in a standard way.  Just make sure there are no
clashes of the files actually included in your package with the files
included in other package tarballs, otherwise setup will remove your files
if the user decides to update those packages later.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: making a cygwin install.

2006-08-04 Thread McGraw, Robert P.




> -Original Message-
> From: Igor Peshansky [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 04, 2006 9:34 AM
> To: McGraw, Robert P.
> Cc: cygwin@cygwin.com
> Subject: Re: making a cygwin install.
> 
> 
> On Fri, 4 Aug 2006, McGraw, Robert P. wrote:
> 
> > I would like to create a cygwin setup package so that users can install
> > the same software package on their machines.
> >
> > Is this possible? If so can you point me to the documentation that
> > explains how to do this?
> 
> Robert,
> 
> All of the information you're looking for should be on these pages:
>  and
> .
> You might also Google for "genini cygwin".
[McGraw, Robert P.] 

I have looked through the suggested ULR and not finding my answer. 

I googled genini cygwin, and the perl script pointed me
cygwin.com/setup.html, but it is talking about creating software packages.
This does not sound like what I need to do.

So let me rephrase my question and ask how other people handle this through
an example. 

I need to install the Cygwin/Xserver on multiple machines. I first installed
Cygwin & Cygwin/X and all necessary and needed packages from a cygwin server
to my WinXP test system. 

Once I have tested and have it working with the right parameters, I now need
to install the same software on multiple machines. I would like to create
some kind of bundle or selfextracting file that a user can get and install
on their WinXP machine. This will be sure that users have what they need to
run the Cygwin/Xserver.


Thanks

Robert





> HTH,
>   Igor
> --
>   http://cs.nyu.edu/~pechtcha/
>   |\  _,,,---,,_  [EMAIL PROTECTED] |
[EMAIL PROTECTED]
> ZZZzz /,`.-'`'-.  ;-;;,_  Igor Peshansky, Ph.D. (name
changed!)
>  |,4-  ) )-,_. ,\ (  `'-' old name: Igor Pechtchanski
> '---''(_/--'  `-'\_) fL   a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends
> compte."
> "But no -- you are no fool; you call yourself a fool, there's proof enough
> in
> that!" -- Rostand, "Cyrano de Bergerac"


smime.p7s
Description: S/MIME cryptographic signature


Re: ssh breaks while loop

2006-08-04 Thread Igor Peshansky
On Fri, 4 Aug 2006, CB wrote:

> If file hostlist contains:
> hosta
> hostb
> hostc
>
> then execute this shell script:
> while read host
> do
> ssh $host ls -al .profile
> done < hostlist
>
> the while loop executes one time and quits.
>
> But,
> while read host
> do
> echo $host
> done < hostlist
>
> executes 3 times.
>
> Am I missing something or is this a bug?

WJFFM.  There are many things that can be different in our environments.
Are you sure you're reading the hosts separately?  What's IFS set to?
Try prepending something to $host in your second loop, e.g., "echo Host:
$host" and see if you get them echoed one host at a time, or all three at
once.  You may also insert "echo" before the ssh in the first loop and see
if you get 3 echoes.  Also, is "set -e" in effect?  If it is, the loop may
be quitting if the first ssh returns false.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: ssh breaks while loop

2006-08-04 Thread Larry Hall (Cygwin)

CB wrote:

If file hostlist contains:
hosta
hostb
hostc
 
then execute this shell script:

while read host
do
ssh $host ls -al .profile
done < hostlist
 
the while loop executes one time and quits.
 
But,

while read host
do
echo $host
done < hostlist
 
executes 3 times.
 
Am I missing something or is this a bug?



This isn't Cygwin-specific so it's off-topic for this list.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (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/



ssh breaks while loop

2006-08-04 Thread CB

If file hostlist contains:
hosta
hostb
hostc
 
then execute this shell script:
while read host
do
ssh $host ls -al .profile
done < hostlist
 
the while loop executes one time and quits.
 
But,
while read host
do
echo $host
done < hostlist
 
executes 3 times.
 
Am I missing something or is this a bug?

--
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: Escape Character

2006-08-04 Thread Markus Schönhaber
Markus Schönhaber wrote:
> I doubt that that's a matter of whether you use Cygwin or not but a matter
> of whether you use the echo command from the GNU core utilities or not. On
> your True64 unix, you propably don't.

This statement isn't necessarily correct. I use bash and doing an
echo 
there won't call the executable from the coreutils but the bash builtin. But 
since both behave very similar wrt escape characters that doesn't matter too 
much, I guess.

Regards
  mks

--
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: Escape Character

2006-08-04 Thread Igor Peshansky
On Fri, 4 Aug 2006, Franz Wolfhagen wrote:

> [EMAIL PROTECTED] wrote on 04-08-2006 14:23:49:

.  Thanks.

> > Hi
> >
> > I am new to Cygwin and I am just trying to use the escape character
> > example is
> >
> > echo "\t\t Hello"
> >
> > but this returns \t\t Hello and ignores the escape characters.
> >
> > I was looking for it to return Hello with a couple of TABS in front
> > like it does on our True64 unix system.  Is the escape character
> > differant in Cygwin or am I missing something ??? any help would be
> > great
>
> "man echo" has the answer - on Cygwin use the "-e" argument ie :  echo
> -e "\t\t Hello"

Almost correct, except that in bash, "echo" is a shell builtin, and you
should've been using "help echo" instead of "man echo".  Luckily, both
/bin/echo and bash's builtin understand the -e option.

It's usually a good idea to run "type COMMAND" first, to find out what
COMMAND is, to make sure you're looking at the right documentation.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: making a cygwin install.

2006-08-04 Thread Igor Peshansky
On Fri, 4 Aug 2006, McGraw, Robert P. wrote:

> I would like to create a cygwin setup package so that users can install
> the same software package on their machines.
>
> Is this possible? If so can you point me to the documentation that
> explains how to do this?

Robert,

All of the information you're looking for should be on these pages:
 and
.
You might also Google for "genini cygwin".
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: Escape Character

2006-08-04 Thread mattlucasv

That worked

Thanks so much.  Maybe next time I should read the MAN pages first !

Thanks again
-- 
View this message in context: 
http://www.nabble.com/Escape-Character-tf2050870.html#a5650009
Sent from the Cygwin Users forum at Nabble.com.


--
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: Escape Character

2006-08-04 Thread Markus Schönhaber
mattlucasv wrote:

> I am new to Cygwin and I am just trying to use the escape character example
> is
>
> echo "\t\t Hello"
>
> but this returns \t\t Hello and ignores the escape characters.
>
> I was looking for it to return Hello with a couple of TABS in front
> like it does on our True64 unix system.  Is the escape character differant
> in Cygwin or am I missing something ??? any help would be great

man echo
would have shown you echo's "-e" option. Try
echo -e "\t\t Hello"

I doubt that that's a matter of whether you use Cygwin or not but a matter of 
whether you use the echo command from the GNU core utilities or not. On your 
True64 unix, you propably don't.

Regards
  mks

--
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: Escape Character

2006-08-04 Thread Franz Wolfhagen
[EMAIL PROTECTED] wrote on 04-08-2006 14:23:49:

>
> Hi
>
> I am new to Cygwin and I am just trying to use the escape character
example
> is
>
> echo "\t\t Hello"
>
> but this returns \t\t Hello and ignores the escape characters.
>
> I was looking for it to return Hello with a couple of TABS in front
like
> it does on our True64 unix system.  Is the escape character differant in
> Cygwin or am I missing something ??? any help would be great
> --
> View this message in context: http://www.nabble.com/Escape-
> Character-tf2050870.html#a5649305
> Sent from the Cygwin Users forum at Nabble.com.


"man echo" has the answer - on Cygwin use the "-e" argument ie :  echo -e
"\t\t Hello"

Med venlig hilsen / Regards
Franz Wolfhagen
Tivoli Senior I/T Specialist
IBM Denmark



--
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/



Escape Character

2006-08-04 Thread mattlucasv

Hi

I am new to Cygwin and I am just trying to use the escape character example
is

echo "\t\t Hello"

but this returns \t\t Hello and ignores the escape characters.

I was looking for it to return Hello with a couple of TABS in front like
it does on our True64 unix system.  Is the escape character differant in
Cygwin or am I missing something ??? any help would be great
-- 
View this message in context: 
http://www.nabble.com/Escape-Character-tf2050870.html#a5649305
Sent from the Cygwin Users forum at Nabble.com.


--
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/



making a cygwin install.

2006-08-04 Thread McGraw, Robert P.



I would like to create a cygwin setup package so that users can install the
same software package on their machines.

Is this possible? If so can you point me to the documentation that explains
how to do this?

Thanks

Robert



_
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: [EMAIL PROTECTED]
Purdue University ROOM: MATH-807
Department of MathematicsPHONE: (765) 494-6055
150 N. University Street   FAX: (419) 821-0540
West Lafayette, IN 47907-2067




smime.p7s
Description: S/MIME cryptographic signature


Re: 1.5.21-1 missing header file 'jpeglib'

2006-08-04 Thread Susana Manrique de Lara Sanz


Right.  So why would you expect to find the include file there as well?
Why do you think the file you need is in libjpeg62?  The only file in that 
package is /usr/bin/cygjpeg-62.dll, which is what "cygcheck -l" shows you.
Try searching for the needed file (jpeglib.h) again on the package search 
page (), and install the package that actually 
contains it (according to your cygcheck output, you don't have it installed 
yet).


Sorry, I don't know why I thought so bad that the missing jpeglib.h had to 
be in that package, I was blind to see it, maybe because I wanted to compile 
a project I downloaded from a web and it said that only the packages I told 
you I installed were needed. So I thougth something must be wrong with 
cygwin instead of they had forgotten to include the jpeg package.


Problem solved, thank you very much Igor and Dave :)

Bye,

Susana



--
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: 1.5.21-2: missing announcement?

2006-08-04 Thread Corinna Vinschen
On Aug  4 07:58, Danilo Turina wrote:
> Yesterday Setup.exe showed to me a new versione of the cygwin dll 
> (1.5.21-2) but I didn't notice any announcement about it.
> 
> Is the announcement missing or the mirror wrong (mirrors.kernel.org)?

The announcement is missing.  -1 was just missing a bit of documentation.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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: cygwin, Coda and symbolic links

2006-08-04 Thread Corinna Vinschen
On Aug  3 18:39, Adam Wolbach wrote:
> Coda's current symlink support in cygwin is nonexistent, but we are 
> looking to support symlinks in the same manner cygwin appears to -- as 
> special Windows shortcuts that cygwin can interpret as symlinks. 
> Allowing cygwin to see our conflicts as broken symlinks would be a big 
> win for our repair mechanisms. We looked at the internals of a Windows 
> .lnk shortcut file and (of course) part appears binary; we assume 
> somewhere along the line that the cygwin developers reverse-engineered 
> the contents of these files to hijack them for their own purposes.
> 
> First question, I've hunted for this information around the website, in 
> the past mailing-list archives and the web, and it doesn't appear 
> readily available. Is there anyone on the list who knows more about the 
> internals of Windows shortcuts and could clue the Coda developers in? 

Try this:

http://www.google.com/search?as_q=windows+shortcut+file+format

The first match

http://mediasrv.ns.ac.yu/extra/fileformat/windows/lnk/shortcut.pdf

is what you're looking for and what I used when implementing the
shortcut stuff.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
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/