runtime unpleasantness with setup.exe

2007-05-07 Thread Christoph Otto
I'm trying to make an automated cygwin install as part of another
project.  Everything works as expected, except on my boss's tablet
(running XP with all updates).  There the installer runs into a error
parsing an ini file (presumably my setup.ini) when using the stable
setup.exe (v2.510.2.2).  A screenshot of this error is at
https://research.ori.org/rft/cygbug/parsing_error.png .  The only
changes I made to the setup.ini were to add some Perl packages to the
Base category so they'd be installed automatically.  I also tried to
build setup.exe from CVS, but using that exectuable gives me a runtime
error (https://research.ori.org/rft/cygbug/runtime_error.png).  
Again, everything (both normal and CVS setup.exe) works fine on the
other two machines I have for testing.  The only failures happen on my
boss's tablet.  Logs from the install with the stable setup.exe are in
the same directory.


Christoph


Re: runtime unpleasantness with setup.exe

2007-05-07 Thread Brian Dessent
Christoph Otto wrote:

 I'm trying to make an automated cygwin install as part of another
 project.  Everything works as expected, except on my boss's tablet
 (running XP with all updates).  There the installer runs into a error
 parsing an ini file (presumably my setup.ini) when using the stable
 setup.exe (v2.510.2.2).  A screenshot of this error is at
 https://research.ori.org/rft/cygbug/parsing_error.png .  The only
 changes I made to the setup.ini were to add some Perl packages to the
 Base category so they'd be installed automatically.  I also tried to
 build setup.exe from CVS, but using that exectuable gives me a runtime
 error (https://research.ori.org/rft/cygbug/runtime_error.png).
 Again, everything (both normal and CVS setup.exe) works fine on the
 other two machines I have for testing.  The only failures happen on my
 boss's tablet.  Logs from the install with the stable setup.exe are in
 the same directory.

I think we're going to need more detail to be able to tell you anything
useful.  For example, a link to the edited setup.ini that won't parse,
or the exact configure/make commands you used to build.

Brian


RE: runtime unpleasantness with setup.exe

2007-05-07 Thread Christoph Otto
Brian Dessent wrote:
 Christoph Otto wrote:
 
 I'm trying to make an automated cygwin install as part of another
 project.  Everything works as expected, except on my boss's tablet
 (running XP with all updates).  There the installer runs into a error
 parsing an ini file (presumably my setup.ini) when using the stable
 setup.exe (v2.510.2.2).  A screenshot of this error is at
 https://research.ori.org/rft/cygbug/parsing_error.png .  The only
 changes I made to the setup.ini were to add some Perl packages to the
 Base category so they'd be installed automatically.  I also tried to
 build setup.exe from CVS, but using that exectuable gives me a
 runtime error
 (https://research.ori.org/rft/cygbug/runtime_error.png). 
 Again, everything (both normal and CVS setup.exe) works fine on the
 other two machines I have for testing.  The only failures happen on
 my boss's tablet.  Logs from the install with the stable setup.exe
 are in the same directory.
 
 I think we're going to need more detail to be able to tell you
 anything useful.  For example, a link to the edited setup.ini that
 won't parse, or the exact configure/make commands you used to build.  
 
 Brian

OK.  The configure/make commands were the ones recommended in the
readme:
https://research.ori.org/rft/cygbug/runconfigure .  I've also uploaded 
the setup.ini (https://research.ori.org/rft/cygbug/setup.ini).  The only

changes from the default are on lines 9291, 9353 and 9371.

Christoph




SECURITY: lighttpd

2007-05-07 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Two vulnerabilities have been discovered in Lighttpd, each allowing for
a Denial of Service.

Solution: upgrade to = 1.4.14 (current is 1.4.9)

More information:
http://security.gentoo.org/glsa/glsa-200705-07.xml
http://bugs.gentoo.org/show_bug.cgi?id=174043
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1869
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1870

Yaakov

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGP/YgpiWmPGlmQSMRCOI3AKCOjsZ0fLtQ1GnqAB+G4r+fUrt0swCfQmS0
5I5vf8ZmoC5s+ufh8pKEi5o=
=e02T
-END PGP SIGNATURE-


Re: Xterm, rxvt, mrxvt, etc....

2007-05-07 Thread Gustavo Seabra

Hi all,

Thanks a lot to Thomas Dickey, Thorsten Kampe and Charles Wilson for 
taking time to answer my question. I'm very sorry if it lead to some 
argument, that has never been my intent. All I wanted to know was 
something like a side-by-side points, such as I use *1 because it has 
this feature that *2 doesn't...  etc., really from the used point of view.


Thanks again,

Gustavo.

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



Re: Xterm, rxvt, mrxvt, etc....

2007-05-07 Thread Thomas Dickey

On Mon, 7 May 2007, Gustavo Seabra wrote:


Hi all,

Thanks a lot to Thomas Dickey, Thorsten Kampe and Charles Wilson for taking 
time to answer my question. I'm very sorry if it lead to some argument, that 
has never been my intent. All I wanted to know was something like a 
side-by-side points, such as I use *1 because it has this feature that *2 
doesn't...  etc., really from the used point of view.


hmm - I'm not in a good position to offer a side-by-side contrast since
I'm the (upstream) xterm and ncurses maintainer.

(I'll point out where a constrast is inaccurate though ;-)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

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



Logging xterm contents to a file.

2007-05-07 Thread Mansoorali Kudsi

Hi,

Really dumb question. but hope somebody replies to this one?

Is it possible to save the entire contents of a xterm window into a
file? (using anything other than script)

e.g. for a putty window, we have an option of logging all the contents
of the putty window into a file
just by doing a right click and giving the file name and path in the
properties window.

Do we have a similar option for an xterm window in Cygwin?

Regards,
Mansoorali.

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



Re: Xterm, rxvt, mrxvt, etc....

2007-05-07 Thread Charles Wilson

[consolidating two subthreads]

Thomas Dickey wrote:
Not so fast, Thomas.  I did not and do not agree with your previous 
posts: neither of your messages claimed that upstream rxvt has no 
maintainer.  (If they did, then I would have agreed with that.)   
Your messages claimed that rxvt had no cygwin maintainer.  That claim 
is false: I am the cygwin maintainer for rxvt.


I don't much care for the role of cygwin maintainer in a discussion 
related to _support_, since you're deliberatly confusing the issue of

putting the file on someone's disk in contrast to making it work.


Sigh.  cygwin's rxvt is not broken.  It works for me, and about 2000 
others.  A few people seem to need additional help, and usually they 
seem to work it out themselves (typically, the problem is in their 
xserver configuration, or PIBKAC, because they haven't bothered to read 
the man pages, READMEs, other documenation, or STFW).  If somebody 
having a problem with rxvt ever followed the instructions on cygwin's 
problem page (and followed any of the embedded links, also reproduced 
below):

  http://cygwin.com/problems.html
 http://www.catb.org/~esr/faqs/smart-questions.html
 http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
and demonstrated that they HAD, in fact, RTFMed and STFWed and read the 
READMEs and other documentation...


first, I'd faint.

Then, I'd be more than willing to help (and my first question would be, 
does xterm work? G ).  But short of that, I've little motivation to 
answer repeated questions already answered elsewhere.  I'd much rather 
engage in tendentious discussions like this one.  No, scratch that.  I 
don't enjoy wasting time this way, either -- but since we're here, 
dadgummit...



On the cygwin lists, there are typically two possible meanings of the 
word maintainer.  However, there is a third meaning, and it appears we 
are failing to communicate because you're assuming only definitions A 
and C, and I was assuming only definitions A and B:


A: the upstream maintainer.  E.g:
the x.org folks for most of X
you, for xterm, ncurses, etc
me, for cygutils and a few other even more obscure things
the committers for gcc.
nobody, for rxvt

B: the cygwin maintainer.  The person responsible for the package on 
the cygwin mirror system, for accepting/acting on bug reports and 
patches *reported on the cygwin mailing lists*, for occasionally 
monitoring the upstream lists and feeding patches upstream.  And 
sometimes, if one is really lucky, providing 24/7 call-center-style 
end-user hand-holding.  This person approaches package 'X' as a member 
of the cygwin community, rather than the other way around.  E.g.

Harold Hunt, for xterm (yes, he's gone; so in cygwin parlance,
   xterm is unmaintained (but see category C, below)
me, for ncurses and rxvt and about 30 others
Dave Korn, for gcc (but Dave is now, also, a committer for gcc,
   which puts him in category A *and* C, as well!)

I don't do much end-user hand-holding, for any of my packages.  Maybe 
that makes me a *bad* maintainer.  But it does NOT mean, in the sense 
most often used on the cygwin lists, that cygwin's rxvt (or zlib, or 
unzip, or gettext, or...) package is unmaintained.


Quick: who's the maintainer of ncurses?  Depends on what you mean by 
maintainer.



C: a project maintainer with a focus on portability to a particular 
platform.  That is, a member of the project 'X' community, who is either 
responsible for, or otherwise cares about, whether 'X' works on 
[linux|cygwin|mingw|darwin|whathaveyou].  This person may (or may not) 
be a regular on the target platform's (cygiwn's?) mailing lists -- 
they may instead do all their porting work within the 'X' community's 
mailing lists.  This is typically the case for those projects that have 
cygwin ports, but do not, for whatever reason, submit them as official 
packages for the cygwin mirror system. E.g.

Yaakov Selkowitz (cygwin-ports) provides Gnome, KDE, and xFCE
  packages -- but uses /those/ projects' mailing lists and bugzillas
  to manage it.  He specifically requests that users of cygports
  use the mailing lists he has set up, and NOT cygwin's lists.
  However, he also hangs out on the cygwin lists, so...
You, for xterm (and ncurses, and terminfo).  You answer questions
  here, but do not take responsibility for the xterm package on
  the cygwin mirrors.
Dave Korn, gcc: he now spends as much time/posts as many messages
  on the various gcc lists as he does the cygwin lists, and has
  been given commit-after-approval access to gcc svn.  So, with
  regards to gcc, Dave is a hat trick: A, B, and C.

Obviously, there can be a lot of overlap.  And often, cooperation: I'm 
the 'B' maintainer for both gettext and libintl, but Bruno (the 'A' 
maintainer) takes a lot of interest in the cygwin and mingw platforms. 
I'll often send him patches, either directly or via bug-gettext, and he 

how to have french keyboard ?

2007-05-07 Thread Didier BRETIN

Hi,

I'm searching how I can change my keyboard when I launch cygwin.bat to 
have french keyboard. I searched in the mailing list, but I found nothing.


Can you help me with this ?

Regards.
--
Didier BRETIN
http://www.bretin.net/


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



question::OpenSSH for Windows v3.8.1p1-1:

2007-05-07 Thread Chris . Christodoulou
Hi All

I'm hoping you can help with this problem I've been struggling with here.

We have installed OpenSSH for Windows v3.8.1p1-1:  on our Windows 2000
server.  I've created a local windows user and made the necessary addition
to the 'passwd' file.

Once I logon using an sftp client my default folder is correctly the folder
specified in the 'passwd' file.  From command line if I try to perform a
'cd ..'   it correctly prevents me from going back a folder.  However from
command line if I type 'cd /'  it takes me to the root folder of the
openssh application.  I understand that this is specified in the registry
and the '/' key is used when starting up the openssh instance.

My problem is that I want to prevent users from entering '/'  because this
takes them to this folder and allows them to navigate and view/edit passwd
file.  I cannot set the permisions on this folder to deny the user access
because it will also prevent the user from logging on.

Do you have any suggestions on how to prevent users from gaining access to
this folder?


Regards

Chris

Nicosia, Cyprus


TSYS Card Tech Confidentiality Note: This message may contain confidential
and legally privileged information and is intended for the named person or
entity to which it is addressed. Any use of this information by persons or
entities other than the intended recipient is prohibited.  If you receive
this in error please immediately delete it from your system, and notify the
sender.   Although TSYS Card Tech operates anti-virus programmes, it does
not accept responsibility for any loss or damage arising from the use of
this message. TSYS Card Tech strongly recommends that security sensitive
cardholder information  not be sent in the clear by e-mail,.  All such
e-mails will be deleted by the recipient. The contents of this message may
contain personal views, which are not the views of TSYS Card Tech unless
specifically stated.


--
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: Successful build of GCC 4.2.0 RC3 on latest Cygwin snapshot 20070427

2007-05-07 Thread Aaron W. LaFramboise

Charles Wilson wrote:

Danger, Will Robinson: the g++ from gcc-4.2.0 does not have any support 
for catching exceptions thrown across DLL boundaries.  Nor does it 
include the fix for empty strings (PR24196).


One issue that might affect many some is that COM doesn't work. 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067 has a patch that is 
pending review I guess, but probably won't go into 4.2.


--
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: question::OpenSSH for Windows v3.8.1p1-1:

2007-05-07 Thread Thorsten Kampe
*  (Mon, 7 May 2007 10:37:19 +0300)
 I'm hoping you can help with this problem I've been struggling with here.
 
 We have installed OpenSSH for Windows v3.8.1p1-1:  on our Windows 2000
 server.

This is ancient. Upgrade or uninstall.


--
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: popen problems

2007-05-07 Thread Jason Tishler
On Fri, May 04, 2007 at 02:57:44PM -0600, Eric Blake wrote:
 According to Dan Armbrust on 5/4/2007 2:49 PM:
  $ getfacl /bin/sh.exe
  # file: /bin/sh.exe
  # owner: mn04swbuild-svc
  # group: Users
  user::rwx
  group::rwx
  group:SYSTEM:rwx
  group:Administrators:rwx
  mask:rwx
  other:rwx
 
 Odd - no indication of restricted permissions for a non-owner.  Or
 maybe it was just a failure of the bash postinstall script to properly
 update /bin/sh.exe,

I'm not sure if the following is related...

I recently upgraded an old Cygwin installation from the 1.5.18 time
frame to the latest and /etc/postinstall/00bash.sh hung.  I waited a
while and then canceled setup.exe.  After the upgrade, for some reason I
was unable to start bash.  However, other shells would start.  I was
able the fix the problem by manually copying /bin/bash.exe to
/bin/sh.exe.  BTW, this is what 00bash.sh was supposed to do, but was
unsuccessful.

 perhaps because you had cygwin processes still running when you
 originally ran setup.exe.

In my case, I verified that all Cygwin process had been stopped.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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



Error opening script file

2007-05-07 Thread Ronald Fischer
I have installed the script language JRuby, which comes with two
executables: A binary jruby, and a 
shell script jirb (for interactive purpose). I can call jruby, but I get
an error message when calling
jirb:

~/ruby_test $ ls -l $JRUBY_HOME/bin/jirb
-rwxr-xr-x 1 rfischer mkgroup-l-d 323 Apr 23 23:30
/cygdrive/h/jruby-0.9.9/bin/jirb
~/ruby_test $ !$
$JRUBY_HOME/bin/jirb
Error opening script file: \cygdrive\h\jruby-0.9.9\bin\jirb (Das System
kann den angegebenen Pfad nicht finden)
~/ruby_test $ head -n 1 !$
head -n 1 $JRUBY_HOME/bin/jirb
#!/usr/bin/env jruby

From this dialogue, you can see that jirb has the correct x-permissions,
but still the script
file can't be opened. My guess is that bash can't load the correct
interpreter file, so that's why
I also have listed above the first line of the jirb script - but it
seems that this is looking fine.
Any ideas what is going wrong?

(BTW, the German language error message above translates to: The system
can't find the specified path.
If someone happens to know how to convince Cygwin to use English error
messages only, please let me
know too (I thought this would depend on the settings of the LANG
environment variable, but setting
it to en doesn't seem to have any effect.)

Ronald

-- 
Ronald Fischer [EMAIL PROTECTED]
Phone: +49-89-452133-162
 

--
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: Successful build of GCC 4.2.0 RC3 on latest Cygwin snapshot 20070427

2007-05-07 Thread Aaron Gray

Hi Aaron,

One issue that might affect many some is that COM doesn't work. 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067 has a patch that is 
pending review I guess, but probably won't go into 4.2.


Its not a very big patch, shame it cannot be reviewed in time.

Does this effect XPCOM meaning Mozilla and friends will not compile ?

Aaron


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



Access of files using absolute path (was: Error opening script file)

2007-05-07 Thread Ronald Fischer
Aside from the problem described in my original posting (see the quote
at the end of this
message), I found a related problem, which has nothing to do with the
execution of a script,
but which seems to suggest that I have a general problem in opening
files by specifying absolute
pathes. Here an example:

I did a cd to drive C:

  $ pwd
  /cygdrive/c

and I also have the following jar file:

  $ ls -l $PWD/jakarta-jmeter-2.2/bin/*jar
  -rwxrwxrwx+ 1 rfischer  9962 Jun 13  2006
/cygdrive/c/jakarta-jmeter-2.2/bin/ApacheJMeter.jar

I can list the content of the jar file using RELATIVE path:

  /cygdrive/c $ jar tf jakarta-jmeter-2.2/bin/*jar
  META-INF/
  META-INF/MANIFEST.MF
  org/
  org/apache/
  org/apache/jmeter/
  org/apache/jmeter/DynamicClassLoader.class
  org/apache/jmeter/NewDriver$1.class
  org/apache/jmeter/NewDriver.class
  META-INF/LICENSE
  META-INF/NOTICE

But I can NOT list its contents using absolute path:

  $ jar tf $PWD/jakarta-jmeter-2.2/bin/*jar
  java.io.FileNotFoundException:
\cygdrive\c\jakarta-jmeter-2.2\bin\ApacheJMeter.jar 
  (Das System kann den angegebenen Pfad nicht finden)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.init(FileInputStream.java:106)
at java.io.FileInputStream.init(FileInputStream.java:66)
at sun.tools.jar.Main.run(Main.java:205)
at sun.tools.jar.Main.main(Main.java:1022)

Interestingly, I *can* open the file using, for example, od -x:

$ od -x $PWD/jakarta-jmeter-2.2/bin/*jar| head -n 2
000 4b50 0403 000a   a84a 34cd 
020      0009 0004 454d

So on this level, it seems that od and jar use different means to open
a file.

Now to quote my original problem, posted earlier:

 -Original Message-
 From: [EMAIL PROTECTED] 
 Sent: Monday, May 07, 2007 3:29 PM
 To: cygwin@cygwin.com
 Subject: Error opening script file
 
 I have installed the script language JRuby, which comes with two
 executables: A binary jruby, and a 
 shell script jirb (for interactive purpose). I can call 
 jruby, but I get
 an error message when calling
 jirb:
 
 ~/ruby_test $ ls -l $JRUBY_HOME/bin/jirb
 -rwxr-xr-x 1 rfischer mkgroup-l-d 323 Apr 23 23:30
 /cygdrive/h/jruby-0.9.9/bin/jirb
 ~/ruby_test $ !$
 $JRUBY_HOME/bin/jirb
 Error opening script file: \cygdrive\h\jruby-0.9.9\bin\jirb 
 (Das System
 kann den angegebenen Pfad nicht finden)
 ~/ruby_test $ head -n 1 !$
 head -n 1 $JRUBY_HOME/bin/jirb
 #!/usr/bin/env jruby
 
 From this dialogue, you can see that jirb has the correct 
 x-permissions,
 but still the script
 file can't be opened. My guess is that bash can't load the correct
 interpreter file, so that's why
 I also have listed above the first line of the jirb script - but it
 seems that this is looking fine.

What is interesting here is that I *can* access jirb by absolute path
using
programs such as less or head:

  $ head -n 5 $JRUBY_HOME/bin/jirb
  #!/usr/bin/env jruby
  #
  #   irb.rb - intaractive ruby
  #   $Release Version: 0.7.3 $
  #   $Revision$

but I can not execute it using the jruby interpreter - neither
implicitly,
as shown above, nor explicitly:

  $ jruby $JRUBY_HOME/bin/jirb
  Error opening script file: \cygdrive\h\jruby-0.9.9\bin\jirb (Das
System kann 
  den angegebenen Pfad nicht finden)

But this *is* possible using relative pathes:

  $ cd $JRUBY_HOME
  $ jruby bin/jirb
  irb(main):001:0 

I experimented around with other applications. So far, I found that jar
and jruby 
have the problem that they can't open a file if it is listed absolutely
(/cygdrive/...), 
while for example ruby or zsh do not show this problem. So I first
thought that maybe
those applications have not been written with cygwin in mind - but then,
they would
have failed even with relative files - won't they?

What is going on here?

Ronald
-- 
Ronald Fischer [EMAIL PROTECTED]
Phone: +49-89-452133-162
 

--
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: Access of files using absolute path (was: Error opening script file)

2007-05-07 Thread Thorsten Kampe
* Ronald Fischer (Mon, 7 May 2007 17:31:27 +0200)
 I experimented around with other applications. So far, I found that jar
 and jruby 
 have the problem that they can't open a file if it is listed absolutely
 (/cygdrive/...), 
 while for example ruby or zsh do not show this problem. So I first
 thought that maybe
 those applications have not been written with cygwin in mind - but then,
 they would
 have failed even with relative files - won't they?

Jruby and java are not Cygwin applications so they won't understand 
Cygwin paths (/cygdrive/) even if they can use \ and / as path 
delimiters.


--
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: Problem running Cygwin Apache2 as Windows XP service

2007-05-07 Thread William Sutton

  - vhost in /srv
  - mounting cgi-bin off a Samba export from a Linux box
 
   Do you have CYGWIN=smbntsec?
 

I don't believe so:

  $ env |grep CYGWIN
  CYGWIN=server

Would it be beneficial for me to do so?

cygrunsrv -I apache -d CYGWIN apache -p /usr/sbin/apachectl2 -a start
(user set as the local 'William Sutton' user)
 
   Maybe the -i flag would help it behave more like it does from the
 commandline.

-i on what?  I don't see that option from either cygrunsrv --help or man 
apachectl2.

 
 
 cheers,
   DaveK
 

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



Cygwin, Vista, and rcmd

2007-05-07 Thread cygwin
I've been watching the groups, Google, and so forth with little luck to 
resolving the issue seen by myself and a few other people:


$ rlogin [EMAIL PROTECTED]
   9617 [main] rlogin 5392 e:\cygwin\bin\rlogin.exe: *** fatal error - 
couldn't dynamically determine load address for 'rcmd' (handle 
0x75E7), Win32 error 127

Hangup

So I finally did some research myself. I don't have a solution, but i have 
another name for the problem!


Error code 127 is the 'procedure not found' code in Win32. I searched 
through the code and the DLLs involved, and found that ultimately, rlogin 
is looking for 'rcmd' in mswsock.dll (linked through wsock32.dll). The 
'rcmd' export is clearly available in Windows 2000 and Windows XP (the two 
other versions I checked), and conspicuously absent in Vista. (Checked 
with depends.exe).


The only thing I could find on the development list was a note from July 
by Corinna Vinschen that there was work in progress towards replacing 
the winsock calls -- looks like we're going to need that for Vista.


I'm not looking for support, just sharing the results of my research in 
hopes of making the problem less mysterious. I guess not many people use 
this functionality (but I use it daily in my work! ;) )



--
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.41-2 released

2007-05-07 Thread Matthew Woehlke

Aaron Brown wrote:

Dave Korn wrote:

You may be doing something wrong:  all those mirrors are
up-to-date, and according to the timestamps have been
since a couple of days after the release


Indeed I was.  I use a dialup connection and, to minimize
the time spent downloading, I select the Keep radio button
on the Select Packages screen.


RTFM, or in this case, RTFTT (TT= tooltip) :-). keep means do not 
make any changes, so...



Is there an easy way to use setup.exe to install CLISP
2.41-2 (or any other desired package) without having to
manually uncheck all the things I don't want?


...the answer to your question is to first pick 'keep' and then manually 
make any changes to things you do want to install/upgrade.


--
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.

init: What truth?
child: There is no .sig.


--
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.41-2 released

2007-05-07 Thread Aaron Brown

Matthew Woehlke wrote:


...the answer to your question is to first pick 'keep' and
then manually make any changes to things you do want to
install/upgrade.


That's what I've been doing.  When I leave Keep selected,
clicking on CLISP's entry in the New column cycles between
Keep (my current version is 2.39-2), 2.41-1, and
Uninstall, whereas when I select Curr, it cycles through
-- wait a minute -- the same three things!  When I did this
yesterday, the cycling on Curr (but not that on Keep)
included the version I want (2.41-2), but now neither do.

cygcheck -s -v -r output is attached.  Is there anything I
can try to debug this?

--
Aaron
http://arundelo.com


cygcheck.out
Description: Binary data
--
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.41-2 released

2007-05-07 Thread Matthew Woehlke

Aaron Brown wrote:

Matthew Woehlke wrote:

...the answer to your question is to first pick 'keep' and
then manually make any changes to things you do want to
install/upgrade.


That's what I've been doing.  When I leave Keep selected,
clicking on CLISP's entry in the New column cycles between
Keep (my current version is 2.39-2), 2.41-1, and
Uninstall, whereas when I select Curr, it cycles through
-- wait a minute -- the same three things!  When I did this
yesterday, the cycling on Curr (but not that on Keep)
included the version I want (2.41-2), but now neither do.


Hmm, ok, I was misunderstanding the problem then. You are getting a new 
package list, right? (I.e. you are not trying to install locally?)



cygcheck -s -v -r output is attached.  Is there anything I
can try to debug this?


I want to say a setup log is more helpful but I'm not sure if it makes a 
new one each time or not. Time for one of the setup.exe gurus to step in...


--
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.

init: What truth?
child: There is no .sig.


--
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.41-2 released

2007-05-07 Thread Brian Dessent
Matthew Woehlke wrote:

 Hmm, ok, I was misunderstanding the problem then. You are getting a new
 package list, right? (I.e. you are not trying to install locally?)
 
  cygcheck -s -v -r output is attached.  Is there anything I
  can try to debug this?
 
 I want to say a setup log is more helpful but I'm not sure if it makes a
 new one each time or not. Time for one of the setup.exe gurus to step in...

Pretty much the standard advice: try the latest
http://cygwin.com/setup/snapshots/, look over the setup.log.full, etc.

Brian

--
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.41-2 released

2007-05-07 Thread Aaron Brown

Matthew Woehlke wrote:


Hmm, ok, I was misunderstanding the problem then. You are
getting a new package list, right? (I.e. you are not
trying to install locally?)


Correct.

It's actually a bit different than the descriptions I gave
in my last couple messages:

If I leaved Curr selected, the cycle is:

 2.41-2 -- Keep -- 2.41-1 -- Uninstall --+
 ^  |
 +--+

That is, it starts on 2.41-2, but never goes back to that
version.

If I select Keep, the cycle is the same but (of course)
starts on Keep so I can't get back to 2.41-2.

I have a suspicion that installing 2.41-1 and only then
trying to install 2.41-2 would solve this problem, but I'll
put that off a bit in case anyone wants me to try anything
else.

--
Aaron
http://arundelo.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: [ANNOUNCEMENT] clisp-2.41-2 released

2007-05-07 Thread Matthew Woehlke

Aaron Brown wrote:

Matthew Woehlke wrote:

Hmm, ok, I was misunderstanding the problem then. You are
getting a new package list, right? (I.e. you are not
trying to install locally?)


Correct.

It's actually a bit different than the descriptions I gave
in my last couple messages:

If I leaved Curr selected, the cycle is:

 2.41-2 -- Keep -- 2.41-1 -- Uninstall --+
 ^  |
 +--+

That is, it starts on 2.41-2, but never goes back to that
version.


Hmm, that /is/ odd. In fact, it sounds like it might be a weird setup 
bug i.e. an installed version that is no longer available messes up the 
cycle. I would definitely try a setup snapshot and checking the log as 
per Brian's advice (although I'm not sure if the log will help since 
setup does seem to know about the new version). If you're feeling 
adventurous you could download the setup source code and have a look 
around. :-)


Meanwhile I would guess that installing the 'prev' version first would work.

--
Matthew
child: Do not try to read the .sig. That is impossible. Instead you must 
realize the truth.

init: What truth?
child: There is no .sig.


--
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: xemacs -nw problem

2007-05-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Dr. Volker Zell on 5/7/2007 8:43 AM:
 Andrew Walrond writes:
 
  A minor problem (possible bug): If I try to run xemacs in the cygwin 
 terminal,  
  without an X window, via the -nw option, its behaviour is a little 
 stange:
 
  Ctrl-x ctrl-c does not exit, merely prints Quit on the bottom 
 (command?) 
  line.
 
 Works for me.

Could it be a matter of your terminal settings?  If you use cmd.com
(instead of rxvt or bash), and have CYGWIN=notty (default) instead of
CYGWIN=tty, then ctrl-c is not captured properly by xemacs, making key
sequences such as ctrl-x ctrl-c impossible to type.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGP+jE84KuGfSFAYARAjTyAJ9Q0ZCu1ifnj+x55ufQ0KYaN5oaSACfQMfa
h4Ol81rncHh20I4B+7udJvs=
=CtIm
-END PGP SIGNATURE-

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



installing libncurses.a etc

2007-05-07 Thread Brian Salter-Duke
I have just installed cygwin on a new laptop, so it is a very recent
version. I want to try to compile an application that needs ncurses.
However, configure can not find ncurses, and indeed libcurses.a and its
friends are not in /usr/lib. I tried reinstalling. An old message
suggested installing ncurses first and then libncurses and terminfo. The
result is the same. There is nothing from ncurses in /usr/lib, but
/usr/bin has:-

$ ls *ncurse*
cygncurses++-8.dll*  cygncurses++6.dll*  cygncurses5.dll* cygncurses7.dll*
cygncurses++5.dll*   cygncurses-8.dll*   cygncurses6.dll* ncurses8-config*

This was exactly the situation after the first install.

I can find nothing in the archives and indeed most messages about
ncurses are quite old and I expect things have changed. 

I am probably missing something obvious, but I can not see it. I have
used cygwin for ages but have never needed ncurses before. Can anyone
offer a clue.

Regards, Brian.
-- 
   Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] 
   Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia
 Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm
Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ.


--
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: installing libncurses.a etc

2007-05-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Brian Salter-Duke on 5/7/2007 9:58 PM:
 I have just installed cygwin on a new laptop, so it is a very recent
 version. I want to try to compile an application that needs ncurses.
 However, configure can not find ncurses, and indeed libcurses.a and its
 friends are not in /usr/lib.

Not everything gets installed by default.
http://cygwin.com/faq/faq-nochunks.html#faq.setup.what-packages

Trying this:
  $ cygcheck -p libncurses.a
shows that you need to install:
  libncurses-devel

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGP/dI84KuGfSFAYARAvTQAKC/X3N88QrQZnYWO7WbinpKdHRFzwCeJaun
jpijSdp5qVod/8j+D6qeuQM=
=YPEL
-END PGP SIGNATURE-

--
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: installing libncurses.a etc

2007-05-07 Thread Brian Salter-Duke
On Mon, May 07, 2007 at 10:06:32PM -0600, Eric Blake wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 According to Brian Salter-Duke on 5/7/2007 9:58 PM:
  I have just installed cygwin on a new laptop, so it is a very recent
  version. I want to try to compile an application that needs ncurses.
  However, configure can not find ncurses, and indeed libcurses.a and its
  friends are not in /usr/lib.
 
 Not everything gets installed by default.
 http://cygwin.com/faq/faq-nochunks.html#faq.setup.what-packages
 
 Trying this:
   $ cygcheck -p libncurses.a
 shows that you need to install:
   libncurses-devel

Many thanks. I should have known and just downloaded everything with
'ncurses' in the name. That has put the stuff in /usr/lib.

Regards, Brian.
 
 - --
 Don't work too hard, make some time for fun as well!
 
 Eric Blake [EMAIL PROTECTED]
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Cygwin)
 Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFGP/dI84KuGfSFAYARAvTQAKC/X3N88QrQZnYWO7WbinpKdHRFzwCeJaun
 jpijSdp5qVod/8j+D6qeuQM=
 =YPEL
 -END PGP SIGNATURE-

-- 
   Brian Salter-Duke (Brian Duke)[EMAIL PROTECTED] 
   Post: 626 Melbourne Rd, Spotswood, VIC, 3015, Australia
 Phone 03-93992847. http://www.salter-duke.bigpondhosting.com/brian/index.htm
Honorary Researcher Fellow, Dept. of Medicinal Chemistry, Monash Univ.


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