RE: question

2009-01-26 Thread Phil Betts
On Monday, January 26, 2009 marwa chendeb wrote:

 Hello
 I updated Cygwin but the problem is that x server don't work. when i

You haven't updated the X server.  Version 6.8.99.901 is the old one.

Please see this:
 Problem reports:   http://cygwin.com/problems.html

Pay particular attention to *attaching* the output of cygcheck -srv

 type X the response is that :
 see attachment.

Please don't attach screenshots when you can easily copy and paste the 
text.  A picture is only worth 1000 words - not 44kb!

 I don't have the package CID fonts?? 

That is not an error.  It is just a warning (and a very minor one at 
that).

 What is the solution for this problem.

It is not a problem.  The only error shown in your output relates to
the keyboard, but that isn't usually fatal.

Perhaps you should *really* update your X, but before you do, you 
should read _carefully_ the announcement message so you know what 
needs updating.  The new X is a MAJOR update from the one you are 
running, and many things have changed.

If you still have problems, check the faq at
  http://x.cygwin.com/docs/faq/cygwin-x-faq.html

And if that still doesn't resolve them, attach /var/log/XWin.0.log as 
well as the aforementioned cygcheck output.


Phil
-- 


This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange.

--
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: XWin with rootless option crashes on Vista

2009-01-26 Thread rincewind

Hello Yaakov,

Response below.


snip 
 
 In short, running startxwin.bat with XWin-multiwindow starts the X Server
 and I am able to launch newer xterms. If I remove the multiwindow option
 altogether or change it with rootless (ideal for me since I want to run a
 different window manager) or fullscreen, XWin crashes.
 
snip
http://cygwin.com/faq/faq.using.html#faq.using.bloda

Please try completely uninstalling the Logitech software, make sure
you're running the current versions of Cygwin and X11, and try again.
If that does not help:

http://cygwin.com/problems.html

In addition to *attaching* the output of cygcheck -s -r -v, please
also attach the /var/log/XWin.0.log from the failed attempt.


Yaakov
Cygwin/X

Rincewind 

Thanks for taking a look into my message. I have uploaded the relevant files
(cygcheck and xwin.0.log). I am able to see some differences between the
Xwin.log entries of successful (multiwindow) version and the failed
(rootless) version. But perhaps they are directly related to the multiwindow
and rootless options themselves.

Is there a way I could obtain a stack trace of the crashing process on vista
?? 

Thanks,
Rincewind

http://www.nabble.com/file/p21675908/XWin.0.log XWin.0.log 

http://www.nabble.com/file/p21675908/cygcheck_info.out cygcheck_info.out 

-- 
View this message in context: 
http://www.nabble.com/XWin-with-%22rootless%22-option-crashes-on-Vista-tp21617618p21675908.html
Sent from the cygwin-xfree mailing list archive at Nabble.com.


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



src/winsup/cygwin ChangeLog uinfo.cc

2009-01-26 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-01-26 13:03:49

Modified files:
winsup/cygwin  : ChangeLog uinfo.cc 

Log message:
* uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENT
flag.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.4363r2=1.4364
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/uinfo.cc.diff?cvsroot=srcr1=1.166r2=1.167



src/winsup/cygwin ChangeLog passwd.cc grp.cc

2009-01-26 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-01-26 13:20:47

Modified files:
winsup/cygwin  : ChangeLog passwd.cc grp.cc 

Log message:
* grp.cc (getgrgid_r): Simplify code by using stpcpy.
(getgrnam_r): Ditto.
* passwd.cc (getpwuid_r32): Simplify code by using stpcpy.
(getpwnam_r): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.4364r2=1.4365
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/passwd.cc.diff?cvsroot=srcr1=1.83r2=1.84
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/grp.cc.diff?cvsroot=srcr1=1.112r2=1.113



Re: dislikes with vim 7.2

2009-01-26 Thread Corinna Vinschen
On Jan 25 22:42, Matt Wozniski wrote:
 On 1/25/09, Chris Sutcliffe wrote:
  On 1/25/09, Paul McFerrin wrote:
  I don't like changes in default behavior of certain programs.  Vim7.2 is
  one.
 
  Given that this post was entirely Vim specific, it would probably get
  better attention on the vim mailing lists, as opposed to the Cygwin
  list.
 
 Except that the default behavior did not change in vim 7.2; the cygwin
 package must be different.

It isn't.  The vim package is build from the vanilla sources, including
the default startup files.


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: Can't access some files (/tmp)

2009-01-26 Thread Matthieu Dubuget
Hello again,

I'm sorry: I forgot to attach the output of cygwin configuration diagnostic.

In the meantime, I decided to re-install completely my computer because of
other problems – process in progress. I hope this will also solve my
problem.
You can consider this problem as closed. But, I you can have a look at the
following, it would be nice, for my understanding.

In the meantime, I did some experiments, and really, I do not understand
why i cannot create /tmp as unpriviledge user, while I can create /toto?

The first line is displayed in cygwin's shell if I log in as
unpriviledge user.
 bash.exe: warning: could not create /tmp!
  
 m...@pcinfo2 ~
 $ cd /
  
 m...@pcinfo2 /
 $ ls -l
Maybe this is the problem?
 ls: lecture du répertoire .: No such file or directory
 total 9
 -rwxr-x---+  1 Administrateur Utilisateurs   57 Jan 23 12:46 Cygwin.bat
 -rwxr-x---+  1 Administrateur Utilisateurs 7022 Jan 23 15:04 Cygwin.ico
 drwxrwx---+  2 Administrateur Utilisateurs0 Jan 23 15:03 bin
 dr-xr-xr-x   1  000 Jan  1  1970 cygdrive
 drwxrwx---+  2 Administrateur Utilisateurs0 Jan 23 12:46 dev
 drwxrwx---+ 10 Administrateur Utilisateurs0 Jan 23 15:03 etc
 drwxrwxrwx+  4 Administrateur Aucun   0 Jan 23 13:04 home
 drwxrwx---+ 13 Administrateur Utilisateurs0 Jan 23 15:03 lib
 drwxrwx---+ 15 Administrateur Utilisateurs0 Jan 23 15:03 usr
 drwxrwx---+  7 Administrateur Utilisateurs0 Jan 23 12:46 var
  
 m...@pcinfo2 /
 $ mkdir toto
  
 m...@pcinfo2 /
 $ ls -l
 ls: lecture du répertoire .: No such file or directory
 total 9
 -rwxr-x---+  1 Administrateur Utilisateurs  57 Jan 23 12:46
 Cygwin.bat
 -rwxr-x---+  1 Administrateur Utilisateurs7022 Jan 23 15:04
 Cygwin.ico
 drwxrwx---+  2 Administrateur Utilisateurs   0 Jan 23 15:03 bin
 dr-xr-xr-x   1  0   00 Jan  1  1970
 cygdrive
 drwxrwx---+  2 Administrateur Utilisateurs   0 Jan 23 12:46 dev
 drwxrwx---+ 10 Administrateur Utilisateurs   0 Jan 23 15:03 etc
 drwxrwxrwx+  4 Administrateur Aucun  0 Jan 23 13:04 home
 drwxrwx---+ 13 Administrateur Utilisateurs   0 Jan 23 15:03 lib
 drwxr-xr-x+  2 matt   Utilisa. du domaine0 Jan 26 09:58 toto
 drwxrwx---+ 15 Administrateur Utilisateurs   0 Jan 23 15:03 usr
 drwxrwx---+  7 Administrateur Utilisateurs   0 Jan 23 12:46 var
  
 m...@pcinfo2 /
 $ ls -ln
 ls: lecture du répertoire .: No such file or directory
 total 9
 -rwxr-x---+  1   500   545   57 Jan 23 12:46 Cygwin.bat
 -rwxr-x---+  1   500   545 7022 Jan 23 15:04 Cygwin.ico
 drwxrwx---+  2   500   5450 Jan 23 15:03 bin
 dr-xr-xr-x   1 0 00 Jan  1  1970 cygdrive
 drwxrwx---+  2   500   5450 Jan 23 12:46 dev
 drwxrwx---+ 10   500   5450 Jan 23 15:03 etc
 drwxrwxrwx+  4   500   5130 Jan 23 13:04 home
 drwxrwx---+ 13   500   5450 Jan 23 15:03 lib
 drwxr-xr-x+  2 11130 105130 Jan 26 09:58 toto
 drwxrwx---+ 15   500   5450 Jan 23 15:03 usr
 drwxrwx---+  7   500   5450 Jan 23 12:46 var
  
 m...@pcinfo2 /
 $ mkdir tmp
 mkdir: ne peut créer le répertoire `tmp': No such file or directory
This means: can't create 'tm' directory

Thanks

Salutations




Cygwin Configuration Diagnostics
Current System Time: Mon Jan 26 09:52:54 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Tcl\bin
c:\menhir\bin
c:\GTK\bin
c:\Program Files\OMake\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI Control Panel
c:\Program Files\ATI Technologies\Fire GL 3D Studio Max
c:\Program Files\Microsoft SQL Server\80\Tools\Binn
c:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
c:\Program Files\Microsoft Visual Studio\Common\Tools
c:\Program Files\Microsoft Visual Studio\VC98\bin
c:\Program Files\IVI\bin
c:\VXIPNP\WinNT\Bin
c:\Program Files\Agilent\Acqiris\bin
c:\Program Files\TortoiseSVN\bin
c:\Program Files\Pinnacle\Shared Files
c:\Program Files\Pinnacle\Shared Files\Filter
C:\cygwin\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 500(Administrateur) GID: 513(Aucun)
=513(Aucun)  544(Administrateurs) 545(Utilisateurs)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 500(Administrateur) GID: 513(Aucun)
=513(Aucun)  544(Administrateurs) 545(Utilisateurs)

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

USER = 'Administrateur'
PWD = '/home/Administrateur'
HOME = '/home/Administrateur'
MAKE_MODE = 'unix'

MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
HOSTNAME = 'PCInfo2'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 6 Stepping 

Compiler error - missing iconv.h with -mno-cygwin

2009-01-26 Thread Ian Puleston
Hi,

I have a program that uses libxml2 and compiles fine under Cygwin when I
compile it as a Cygwin app. However, I want to compile a stand-alone version
so I updated the Makefile to add CFLAGS += -mno-cygwin and LDFLAGS +=
-mno-cygwin (I'm using gcc 3.4.4), and with these it fails to compile
because it cannot find iconv.h:

gcc -I/usr/include/libxml2 -mno-cygwin   -c -o xmlParse.o xmlParse.c
In file included from /usr/include/libxml2/libxml/parser.h:797,
 from xmlParse.c:36:
/usr/include/libxml2/libxml/encoding.h:28:19: iconv.h: No such file or
directory
In file included from /usr/include/libxml2/libxml/parser.h:797,
 from xmlParse.c:36:
/usr/include/libxml2/libxml/encoding.h:136: error: parse error before
iconv_t
/usr/include/libxml2/libxml/encoding.h:136: warning: no semicolon at end of
struct or union
/usr/include/libxml2/libxml/encoding.h:137: warning: data definition has no
type or storage class
make: *** [xmlParse.o] Error 1

But iconv.h does exist in /usr/include, so why can the compiler not find it?
Is it looking somewhere different for include files when compiling with
-mno-cygwin?

Ian



--
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: Compiler error - missing iconv.h with -mno-cygwin

2009-01-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Ian Puleston on 1/26/2009 3:51 AM:
 But iconv.h does exist in /usr/include, so why can the compiler not find it?
 Is it looking somewhere different for include files when compiling with
 -mno-cygwin?

Yes, the compiler is looking somewhere else when you use -mno-cygwin;
after all, that option means that you are not compiling for cygwin
(implicitly, it means you are cross-compiling for mingw).  The confusion
caused by this option that turns on cross-compilation is also the reason
that the gcc-4 release will not support -mno-cygwin.  Search the list
archives for more details.  Ask the mingw list if you need more details of
why mingw does not provide iconv.h.

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

Eric Blake e...@byu.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl9scwACgkQ84KuGfSFAYAajACcCQbBJJ440PrUjZZGrxbi8CVE
Bt0An1NXNS5HKnmY3/ebm7bDyKj+glWo
=FTn8
-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: [1.7] regression wrt scp?

2009-01-26 Thread Corinna Vinschen
On Jan 26 02:43, Christopher Faylor wrote:
 I finally managed to duplicate this.
 [...]
 It's already on my list to investigate.  When I saw broken pipe I
 thought it could be something in the new pipe code.
 
 But, if it is, I can't see it yet.
 
 The strace snippet below seems to show that the ssh process which scp
 forks is expecting for the socket to become writable but that never happens.
 
 At time 10048910 you can see 16384 bytes received.  Then select() is
 called to inspect the socket handler for readability/writability.  But
 select claims that the socket handle is never ready.

It's probably right about that.  The peek_socket function is called in a
loop by the thread_socket function (via select) with a non INFINITE
timeout.  The Broken pipe message already occured at the time the
peek_socket function is repeated ad infinitum.  This message in the
strace does not mean that SSH hangs for that reason, it just doesn't get
any data from the remote side.  SSH maintains a select loop over all
open descriptors and every poll from the thread_socket function
generates this debug message.  SSH seems to be waiting for data from the
local pipe to the local scp actually.

What strucks me as weird is, why does SSH hang in select() at all?  The
Broken pipe message should have resulted in exiting the application
but for some reason only scp noticed the broken pipe, not SSH.  That's
the only reason I can think of that the select loop in SSH didn't finish.

FWIW, I reverted the pipe-related changes from 2008-12-20 and 2008-12-23
for testing and the problem goes away for me.


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/



Trouble installing ssh server on Vista Home 64

2009-01-26 Thread Dan Kegel
People seem to have trouble getting sshd running.
Here's my flavor of the problem, with recipe to repeat:

Fresh install of Vista Home SP1 64 bit.

Try and fail to install cygwin sshd, then
completely uninstall cygwin according to the FAQ here:
http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all
except leave
CYGWIN system environment variable set to: ntsec tty,
PATH containing c:\cygwin\bin.

Logged in as myself.
Downloaded setup.exe
Ran it with admin privs.
Selected All Users.
Selected c:\cygwin\pkg as local package directory.
Download from cygwin.osuosl.edu.
Took defaults, except added openssh.
Setup completed, but windows said This program might not have installed
correctly.  If this program didn't install correctly, try reinstalling
using settings that are compatible with this version of Windows.
Decline the offer to reinstall using recommended settings.

Logged off and on - Cygwin shell icon now appears on desktop.
Opened a Cygwin window with run as administrator.  This caused it to set up
my home directory with .bashrc, .bash_profile, and .inputrc.
Entered ssh-host-config -y.
After the line *** Query: Should privilege separation be used? (yes/no) yes,
it complains that /etc/passwd and /etc/group are not readable by all, quit with
ERROR: Problem with LocalSystem or Administrator IDs.
so do chmod +r /etc/passwd /etc/group
Reran ssh-host-config -y.
It recreated ssh_config and sshd_config.
It complains that the permissions on /var are not correct.  Says they
must match the regexp d..x..x..x.  Exits.
so do chmod 755 /var
Reran ssh-host-config -y.
It recreated ssh_config and sshd_config.
mv:try to overwrite `/etc/sshd_config', overriding mode 0550
(r-xr-x---)?
Responded yes
It says it found a privileged account 'cyg_server', possibly from
an old run.
It asks for a different name for cyg_server (because of the -y option):
I told it to use sshd_server.
It asks for a password for sshd_server and I gave it one
It complains
/usr/share/csih/cygwin-service-installation-helper.sh: line 2521:
/etc/passwd: Permission denied
but because I used -y, it ran on and thought it was done with host
configuration, complaining by the way
*** Warning: User sshd_server does not appear in /etc/passwd
chown: invalid user sshd_server

Unnstall cygwin again
Remove sshd_server and cyg_server users (strangely
named Privileged Server) in Control Panel / User Accounts / Manage Accounts
Reboot

Reinstall cygwin again (as administrator)
Run Cygwin (as administrator)
chmod 644 /etc/passwd /etc/group
chmod 755 /var
run ssh-host-config -y
It says Info: ... requires a non-privileged account called 'sshd'.
See /usr/share/doc/openssh/README.privsep.

That file says to create an empty directory /var/empty,
but that already exists.  It also says
  groupadd sshd
but the groupadd command doesn't exist, and package
search finds nothing.  An old post on the list says
use net group, but that command fails with This
command can be used only on a Windows Domain Controller.

Any tips?  Is this even possible on Vista Home?
- Dan

--
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: python 2.6

2009-01-26 Thread Jason Tishler
Yaakov,

On Thu, Jan 22, 2009 at 08:45:51PM -0600, Yaakov (Cygwin/X) wrote:
 Jason Tishler wrote:
  Yaakov, did you have openssl-devel installed when you built Python
  2.6.1?
 
 Yes, that is clearly indicated in the documentation.

Sorry I missing this detail:

$ fgrep openssl-devel /usr/share/doc/Cygwin/python2.6-2.6.1.README
$

$ fgrep -e -devel /usr/share/doc/Cygwin/python2.6-2.6.1.README 
(besides corresponding -devel packages)

Thanks for the confirmation.

  If so, are you able to run the regression test [2] without threading
  related problems?
 
 Testing it now, I'm seeing the same results as you.  What exactly is
 the correlation between openssl and threads?

I don't know, but building Python 2.6 with openssl support causes the
treading related operations to core dump.  Maybe this particular code
path tickles a problem in Cygwin?  For some reason, Python 2.5.2 and 3.0
do not exhibit the same behavior.

I will continue to try to debug this problem, but any help will be
greatly appreciated.

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



Re: Help me please install OpenSSH Server on Windows Vista

2009-01-26 Thread Alexey Eremenko

 What does it tell ?
 SSH Server is running - but it does not offer login or user name to enter.
 Why?

 Did you read '/usr/share/doc/Cygwin/openssh.readme'?  Did you run
 ssh-user-config?

I will have to revive this topic...
It still does not work: namely used ssh-user-config
it created 3 keys: SSH1 RSA, SSH2 RSA, SSH2 DSA.
But it fails in similar way with:

ssh_exchange_identification: Connection closed by remote host

Any ideas?
-- 
-Alexey Eromenko Technologov, 26.1.2009.

--
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: Trouble installing ssh server on Vista Home 64

2009-01-26 Thread Dan Kegel
Followup: I tried again, with

cygrunsrv --stop sshd
cygrunsvr --remove sshd
ssh-host-config
and then saying yes to everything except do you want to use a different name.
This time configuration succeeded, net start sshd succeeded,
and ssh localhost succeeded!

I then added an exception for port 22 in Windows Firewall,
and ssh from the next machine also worked.

Whew.  That was a struggle!   I wonder if ssh-host-config's -y
option should be changed to default do you want to use a different name
to no.

--
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: Help me please install OpenSSH Server on Windows Vista

2009-01-26 Thread Dan Kegel
On Mon, Jan 26, 2009 at 7:46 AM, Alexey Eremenko al4...@gmail.com wrote:
 I will have to revive this topic...
 It still does not work: namely used ssh-user-config
 it created 3 keys: SSH1 RSA, SSH2 RSA, SSH2 DSA.
 But it fails in similar way with:

 ssh_exchange_identification: Connection closed by remote host

It just worked for me!  See my last two posts.

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



problem starting cygwin for a new user

2009-01-26 Thread ludo

Hi,

I use cygwin on XP with success when my login name doesn't contain accent

I open a windows session with my windows login ludo and I start 
cygwin.bat = all is right


Now, I open another windows session with another login gérard
When I launch cigwin.bat, bash displays error messages like :

mkdir: cannot create directory `/c/Documents and Settings/g'rard': 
Permission denied

Copying skeleton files.
These files are for the user to personalise
their cygwin experience.

These will never be overwritten.

/usr/bin/install: cannot create directory /c/Documents and 
Settings/g'rard: Permission denied
/usr/bin/install: cannot create directory /c/Documents and 
Settings/g'rard: Permission denied
/usr/bin/install: cannot create directory /c/Documents and 
Settings/g'rard: Permission denied

bash: cd: /c/Documents and Settings/g'rard: No such file or directory
Your group is currently mkpasswd.  This indicates that
the /etc/passwd (and possibly /etc/group) files should be rebuilt.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l [-d]  /etc/passwd
mkgroup  -l [-d]  /etc/group
Note that the -d switch is necessary for domain users.

It seems that cygwin doesn't like french accent 
How can I handle this situation ?

thanks




--
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: Can't access some files (/tmp)

2009-01-26 Thread Matthieu Dubuget
Matthieu Dubuget a écrit :
 In the meantime, I decided to re-install completely my computer because of
 other problems – process in progress. I hope this will also solve my
 problem.
   
I confirm this.
 You can consider this problem as closed. 
Sorry for the noise.

Salutations

Matt



--
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.7] regression wrt scp?

2009-01-26 Thread Christopher Faylor
On Mon, Jan 26, 2009 at 03:28:15PM +0100, Corinna Vinschen wrote:
On Jan 26 02:43, Christopher Faylor wrote:
 I finally managed to duplicate this.
 [...]
 It's already on my list to investigate.  When I saw broken pipe I
 thought it could be something in the new pipe code.
 
 But, if it is, I can't see it yet.
 
 The strace snippet below seems to show that the ssh process which scp
 forks is expecting for the socket to become writable but that never happens.
 
 At time 10048910 you can see 16384 bytes received.  Then select() is
 called to inspect the socket handler for readability/writability.  But
 select claims that the socket handle is never ready.

It's probably right about that.  The peek_socket function is called in a
loop by the thread_socket function (via select) with a non INFINITE
timeout.  The Broken pipe message already occured at the time the
peek_socket function is repeated ad infinitum.  This message in the
strace does not mean that SSH hangs for that reason, it just doesn't get
any data from the remote side.  SSH maintains a select loop over all
open descriptors and every poll from the thread_socket function
generates this debug message.  SSH seems to be waiting for data from the
local pipe to the local scp actually.

Ok.  I was pretty sure that I hadn't seen a broken pipe message at this
point but I could be mistaken.

Btw, in an unrelated problem, the reason that I didn't look into this
earlier was because my normal system for debugging this problem can no
longer connect to sourceware.org.  I am not running a firewall or any
BLODA but it seems to hang in the initial connect and never recover.
1.5.25 works fine.  It is just sourceware.org which seems to have
this problem, which is weird.

I assume that if 1.7 goes live I won't be the only one with this problem.
I guess I should start a new thread to discuss it.

cgf

--
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.7] regression wrt scp?

2009-01-26 Thread Corinna Vinschen
On Jan 26 11:29, Christopher Faylor wrote:
 On Mon, Jan 26, 2009 at 03:28:15PM +0100, Corinna Vinschen wrote:
 On Jan 26 02:43, Christopher Faylor wrote:
  I finally managed to duplicate this.
  [...]
  It's already on my list to investigate.  When I saw broken pipe I
  thought it could be something in the new pipe code.
  
  But, if it is, I can't see it yet.
  
  The strace snippet below seems to show that the ssh process which scp
  forks is expecting for the socket to become writable but that never 
  happens.
  
  At time 10048910 you can see 16384 bytes received.  Then select() is
  called to inspect the socket handler for readability/writability.  But
  select claims that the socket handle is never ready.
 
 It's probably right about that.  The peek_socket function is called in a
 loop by the thread_socket function (via select) with a non INFINITE
 timeout.  The Broken pipe message already occured at the time the
 peek_socket function is repeated ad infinitum.  This message in the
 strace does not mean that SSH hangs for that reason, it just doesn't get
 any data from the remote side.  SSH maintains a select loop over all
 open descriptors and every poll from the thread_socket function
 generates this debug message.  SSH seems to be waiting for data from the
 local pipe to the local scp actually.
 
 Ok.  I was pretty sure that I hadn't seen a broken pipe message at this
 point but I could be mistaken.
 
 Btw, in an unrelated problem, the reason that I didn't look into this
 earlier was because my normal system for debugging this problem can no
 longer connect to sourceware.org.  I am not running a firewall or any
 BLODA but it seems to hang in the initial connect and never recover.
 1.5.25 works fine.  It is just sourceware.org which seems to have
 this problem, which is weird.

WJFFM from XP as well as from 2K8.


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: Trouble installing ssh server on Vista Home 64

2009-01-26 Thread Larry Hall (Cygwin)

Dan Kegel wrote:

Followup: I tried again, with

cygrunsrv --stop sshd
cygrunsvr --remove sshd
ssh-host-config
and then saying yes to everything except do you want to use a different name.
This time configuration succeeded, net start sshd succeeded,
and ssh localhost succeeded!

I then added an exception for port 22 in Windows Firewall,
and ssh from the next machine also worked.

Whew.  That was a struggle!   I wonder if ssh-host-config's -y
option should be changed to default do you want to use a different name
to no.


Yes, this is a known issue.  Currently I think it's best to _not_ use
the '-y' option for 'ssh-host-config'.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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.7] regression wrt scp?

2009-01-26 Thread Corinna Vinschen
On Jan 26 11:29, Christopher Faylor wrote:
 Btw, in an unrelated problem, the reason that I didn't look into this
 earlier was because my normal system for debugging this problem can no
 longer connect to sourceware.org.

Btw., you can also reproduce this problem locally if the file to copy is
just big enough.  A file of about 5 Megs is sufficient to reproduce it
on my local net reliably.


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/



syntax highlighting on Joe

2009-01-26 Thread Javier Sedano

Hi friends,

	I've been using cygwin for many years, but had never subscribed to this 
list. Now, I have a strange behaviour, and hope you can help me.


	I'm a fan of the Joe editor. I use it on xterm. Up to now, it had 
always made syntax-higglighting out of the box. However, when I 
installed it yesterday (from the latest version, using the mirror 
cygwin.cict.fr) on a new computer, it did not.
	It seems that the syntax file are not the problem, because (a) the jsf 
files are there (see the log below); and (b) the autoindent for example 
is working.

Any idea?

	Since I am using it on xterm, it may be a problem related to cygwin/x. 
Feel free to forward me to another list if you think that's a better 
place for the question.


Thank you in advance,

jsed...@flint:~/prj ls /usr/share/joe/syntax/
4gl.jsfcsh.jsf  joerc.jsf  pascal.jsf  sed.jsftroff.jsf
ada.jsfcss.jsf  lisp.jsf   perl.jsfsh.jsf verilog.jsf
asm.jsfdiff.jsf lua.jsfphp.jsf skill.jsf  vhdl.jsf
awk.jsffortran.jsf  m4.jsf ps.jsf  sml.jsfxml.jsf
c.jsf  haskell.jsf  mail.jsf   python.jsf  sql.jsf
cobol.jsf  html.jsf mason.jsf  rexx.jsftcl.jsf
conf.jsf   java.jsf ocaml.jsf  ruby.jsftex.jsf
jsed...@flint:~/prj



--
--
Javier Sedano
javier.sed...@gmail.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: Vim 7.2 issues

2009-01-26 Thread Paul McFerrin
ALL my issues were addressed by the v...@vim.org mailing list.  All I had 
to do was vim -u NONE {file} so I setup an alias function to do it.


Thanks,
-Paul


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



Fwd: [Clamav-devel] Bug#512776: License incompatibility with libgmp (GPLv2 only linking to LGPLv3 or later)

2009-01-26 Thread Reini Urban
Attached is a clamav license incompatibility bug with libgmp from the 
debian lawyers.

clamav might be forced to link against an older libgmp.

The switch to LGPL3 came with gmp-4.2.2, so gmp-4.2.1 would be needed 
for clamav compatibility.
But prev is gmp-4.2.3-1, so we might need a new gmp-compat package based 
on gmp-4.2.1.

Or clamav will decide to step up to GPL3
--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
---BeginMessage---
On Sat, Jan 24, 2009 at 11:17:02AM +0100, Tomasz Kojm said:
 On Sat, 24 Jan 2009 01:21:34 +
 Stephen Gran st...@lobefin.net wrote:
 
  I've just received the bug report below via the Debian bug tracking
  system.  There's obviously not a whole lot I can do about it myself, but
  I just thought I'd bring it to your attention.
 
 Yeah, we got this information as well:
 
 https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1366

As I understand the issue, the problem is that the GPLv2 does not allow
for the extra restrictions imposed by the LGPLv3, and this is what make
the two licenses incompatible (i.e., the problem is solely in clamav's
court, not GMP's).

So, I think that if the clamav team could make a public license
excemption for this linking, the problems for distributors goes away.
It would be great if it was in the licensing statement in the release,
but failing that, a mail to the mailing list would probably be enough
for me to convince our archive administrators that it's ok.  This of
course assumes that the clamav team holds all the copyright for the code
that links GMP, which, given that the #include gmp.h is in the library,
might be slightly difficult.

If you guys don't have the copyright, or can't grant the excemption for
other reasons, distributors like myself will most likely have to build
without gmp going forward, which seem unfortunate.

Cheers,
-- 
 --
|  Stephen Gran  | Chess tonight.  |
|  st...@lobefin.net | |
|  http://www.lobefin.net/~steve | |
 --


signature.asc
Description: Digital signature
___
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net---End Message---
--
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.7] regression wrt scp?

2009-01-26 Thread Christopher Faylor
On Mon, Jan 26, 2009 at 05:58:48PM +0100, Corinna Vinschen wrote:
WJFFM from XP as well as from 2K8.

Yes, it works for me from every machine in my house except for the one
that I normally do development on.  I spent a few hours trying to figure
out what was different with that machine.  At first I thought it was an
MTU issue since I use PPPOE.  Making recommended changes there did not
have any effect.  There were some strange issues with the network card
on that system since it has gone through numerous changes but clearing
those did not change anything.

I rebuilt openssh to see if it was the 1.7 version that was the problem
but the 1.5 version has the same problem.

I can ping sourceware and access the sourceware web site.  I just can't
ssh to it.

I'll provide more details soon.

cgf

--
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: syntax highlighting on Joe

2009-01-26 Thread Javier Sedano



Javier Sedano escribió:


Since I am using it on xterm, it may be a problem related to 
cygwin/x. Feel free to forward me to another list if you think that's a 
better place for the question.




	It's probably unrelated to X, because using it on the cygwin command 
window, it is also uncolored.



--
Javier Sedano
javier.sed...@gmail.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: Can't compile Screen: Undefined reference to __imp__ospeed

2009-01-26 Thread Andrew Schulman
Hi Justin.

 I'm trying to compile GNU Screen under Cygwin.  Right now, I'm failing to
 compile an unmodified package, but my goal is to compile with 256 color 
 support.

Hm, I hadn't looked at that option before.  If it compiles cleanly and is of
interest then I can certainly package a new release with it.

 display.o:display.c:(.text+0x76d): undefined reference to `__imp__ospeed'

I don't have this problem when I compile screen.  ospeed is defined in
termcap.h, which comes in termcap and libncurses-devel.  I'm guessing that you
need libncurses-devel.

Let us know if that works and if the 256-color support works.
Andrew.


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



Problems with pair key auth and sftp server

2009-01-26 Thread Benjamin Stössel
Hi there,

I hope I write to the right place.

I got a problem with my cygwin setup.

I got a setup running at the moment but as I want to upgrade to the latest 
version soon, I installed it on my test machine. Which is running a plain 
Windows Server 2008 Setup.

I did the normal setup procedure, just added a few packages like all basic 
ones, some editors, openssh, openssl and syslog-ng.

After that I run the ssh-host-config and created the group and passwd files.
All this has been done in local admin.

Now I switched to my user, which is domain admin and changed the group and 
passwd files with mkgroup -d and so on.
Changed to sshd_config file to activate RSAAuth, Logs, Authfiles, etc.

Then I created the key files with ssh-keygen. After that I copied the id_rsa 
file to my local machine and created with the puttygen and .pkk file for putty 
and winscp.

And now comes the strange part where I dont get further. I tried everything, 
read everything I found for about a day with no result.

When I try to login it says, Refused our key and in the log files it says that 
the sftp-server file could not be found. Which is strange as I have not changed 
the folder where it is and did also not change the entry line in the config.

I hope someone can help as my boss is not happy that he has to pay all these 
hours without progress :D

Thanks in advance

Cheers
Ben


-- 
NUR NOCH BIS 31.01.! GMX FreeDSL - Telefonanschluss + DSL 
für nur 16,37 EURO/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a

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



configure cannot find boost libraries

2009-01-26 Thread Paulianna2002
Hi,

I am trying to build the package 'SRecord' from source.  When I configure I get

===
...
...
...
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

    You need to install the Boost C++ library to be able to compile SRecord.
    http://boost.org/

    If you have a package based system, the package you need to
    install will be called libboost-devel or something similar.
===


I did install the boost package(s) under Cygwin.

Any advice is appreciatedthanks!!





--
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: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Paulianna2002 wrote:

Hi,

I am trying to build the package 'SRecord' from source.  When I configure I get

===
...
...
...
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

You need to install the Boost C++ library to be able to compile SRecord.
http://boost.org/

If you have a package based system, the package you need to
install will be called libboost-devel or something similar.
===


I did install the boost package(s) under Cygwin.

Any advice is appreciatedthanks!!


Try starting here:


Problem reports:   http://cygwin.com/problems.html





--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: Problems with pair key auth and sftp server

2009-01-26 Thread Larry Hall (Cygwin)

Benjamin Stössel wrote:

Hi there,

I hope I write to the right place.


Yes, it is.


I got a problem with my cygwin setup.

I got a setup running at the moment but as I want to upgrade to the
latest  version soon, I installed it on my test machine. Which is running a
plain Windows Server 2008 Setup.

I did the normal setup procedure, just added a few packages like all
basic  ones, some editors, openssh, openssl and syslog-ng.

After that I run the ssh-host-config and created the group and passwd
files. All this has been done in local admin.


And exactly how did you do this?  What were your answers to the questions?
Is 'sshd' actually running now?


Now I switched to my user, which is domain admin and changed the group
and  passwd files with mkgroup -d and so on.


Hm, why is this?


Changed to sshd_config file to activate RSAAuth, Logs, Authfiles, etc.


RSAAuth is activated by default.  Why are you changing things here before
you know the defaults work?


Then I created the key files with ssh-keygen. After that I copied the
id_rsa file to my local machine and created with the puttygen and .pkk file
for putty and winscp.


Why not use 'ssh-user-config' to create your user SSH config files with
proper locations, permissions, etc.?


And now comes the strange part where I dont get further. I tried
everything, read everything I found for about a day with no result.

When I try to login it says, Refused our key and in the log files it says
that the sftp-server file could not be found. Which is strange as I have not
changed the folder where it is and did also not change the entry line in the
config.

I hope someone can help as my boss is not happy that he has to pay all
these hours without progress :D


We're really going to need to know what you're doing exactly and what
your configuration is:

http://cygwin.com/problems.html

I'd really recommend using the existing utilities for configuring 'sshd'
and 'ssh' and testing out your new configuration with 'ssh'.  This may
not be as you want it or the exact interface you're looking for but it
will help narrow down the myriad of possibilities.  I'd also recommend
looking at the email archives for others who may have had similar issues
to what you're experiencing.  There's allot of OpenSSH discussion and
help there.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: configure cannot find boost libraries

2009-01-26 Thread Paulianna2002
Paulianna2002 wrote: 
Hi,

I am trying to build the package 'SRecord' from source. When I configure I get


===
...
...
...
checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

You need to install the Boost C++ library to be able to compile SRecord.
http://boost.org/

If you have a package based system, the package you need to
install will be called libboost-devel or something similar.
===

I did install the boost package(s) under Cygwin.

Any advice is appreciatedthanks!! 
Try starting here:


Problem reports: http://cygwin.com/problems.html 

I am not sure what you are implying.  Sorry if I have not been a smart 
question asker.  I was trying to follow the cygwin etiquette. 
If I have violated cygwin mailing list protocol in some way, I apologize.  I am 
not sure what I should do differently to post my problem.  Thanks.




--
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: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Paulianna2002 wrote:

Larry Hall wrote:
Paulianna2002 wrote: 
Hi,


I am trying to build the package 'SRecord' from source. When I configure I get


snip


checking for stdint.h... yes
checking for unistd.h... yes
checking boost/shared_ptr.hpp usability... no
checking boost/shared_ptr.hpp presence... no
checking for boost/shared_ptr.hpp... no

You need to install the Boost C++ library to be able to compile SRecord.
http://boost.org/

If you have a package based system, the package you need to
install will be called libboost-devel or something similar.
===

I did install the boost package(s) under Cygwin.

Any advice is appreciatedthanks!! 

Try starting here:

Problem reports: http://cygwin.com/problems.html 

I am not sure what you are implying.  Sorry if I have not been a smart question asker.  I was trying to follow the cygwin etiquette. 
If I have violated cygwin mailing list protocol in some way, I apologize.  I am not sure what I should do differently to post my problem.  Thanks.


I'm saying that you should read the entirety of the link I pointed you to.
Without information about your configuration at the very least, no one
here can make an informed attempt to solve the problem you're seeing.
We need at least the output of 'cygcheck -s -r -v' *attached* to your
problem report.  And since the package you're trying to build can't find
Boost, it would be logical to assume that a STC
http://cygwin.com/acronyms/#STC wouldn't either or if it does, that
would tell us something about the package you're trying.  So please
consider including a STC as well with the commands you invoked and
the results you get.  That should make it pretty easy for anyone here
to try and help you track down, if the process itself doesn't help
you resolve the problem yourself.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: configure cannot find boost libraries

2009-01-26 Thread Claude Sylvain

Paulianna2002 wrote:

 Hi,

 I am trying to build the package 'SRecord' from source.  When I configure I 
get

 ===
 ...
 ...
 ...
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking boost/shared_ptr.hpp usability... no
 checking boost/shared_ptr.hpp presence... no
 checking for boost/shared_ptr.hpp... no

 You need to install the Boost C++ library to be able to compile 
SRecord.
 http://boost.org/

 If you have a package based system, the package you need to
 install will be called libboost-devel or something similar.
 ===


 I did install the boost package(s) under Cygwin.

 Any advice is appreciatedthanks!!


I had the same problem.

It seems that boost library include files are not located in 
/usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or something like 
that, depending of the cygwin version you use.


A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/ 
directory into /usr/include/.  This make the boost directory appear at the 
right place.


Not sure if it is the best solution, but its work for me.


Claude.




--
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: configure cannot find boost libraries

2009-01-26 Thread Larry Hall (Cygwin)

Claude Sylvain wrote:

Paulianna2002 wrote:


snip


  I did install the boost package(s) under Cygwin.
 
  Any advice is appreciatedthanks!!
 

I had the same problem.

It seems that boost library include files are not located in 
/usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or 
something like that, depending of the cygwin version you use.


A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/ 
directory into /usr/include/.  This make the boost directory appear at 
the right place.


Not sure if it is the best solution, but its work for me.


If this is the problem Paulianna is having, then I would say two better
solutions would be adding '-I/usr/include/boost-1_33_1' to CFLAGS or
creating a symbolic link from '/usr/include/boost' to
'/usr/include/boost-1_33_1'.  But I agree that your solution would
indeed work, though it would be less maintainable and would take up
more disk space.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
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: configure cannot find boost libraries

2009-01-26 Thread Greg Chicares
On 2009-01-26 23:28Z, Claude Sylvain wrote:
[...]
 It seems that boost library include files are not located in 
 /usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or something 
 like 
 that, depending of the cygwin version you use.
 
 A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/ 
 directory into /usr/include/.  This make the boost directory appear at the 
 right place.

That might be an intentional feature, which lets you use
different versions of boost for different C++ programs.

Would it be easier to add
  CPPFLAGS=-I/usr/include/boost-1_33_1
to the './configure' line?

--
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: Can't compile Screen: Undefined reference to __imp__ospeed

2009-01-26 Thread Justin L .
  I'm guessing that you need libncurses-devel.

Yep.  That's what I was missing.

 If it compiles cleanly and is of
 interest then I can certainly package a new release with it.

Unfortunately, I can't get it to compile cleanly when I add --enable-colors256
to the cygconf line.  The output from the install step is below.

Maybe this is why Cygwin doesn't have 256-color Screen by default.  :)

-Justin

 Installing screen-4.0.3-1
/usr/src/screen-4.0.3-1/src/screen-4.0.3/etc/mkinstalldirs
/usr/src/screen-4.0.3-1/inst/usr/bin /usr/src/screen-4.0.3-1/inst`sed  config.h
-n -e '/define SCREENENCODINGS/s/^.*\([^]*\)/\1/p'`
/usr/bin/install -c screen /usr/src/screen-4.0.3-1/inst/usr/bin/screen
/usr/bin/install: cannot create regular file
`/usr/src/screen-4.0.3-1/inst/usr/bin/screen.exe': No such file or directory
make: *** [install_bin] Error 1
make: *** Waiting for unfinished jobs
mkdir /usr/src/screen-4.0.3-1/inst/usr/bin
mkdir /usr/src/screen-4.0.3-1/inst/usr/share/screen
mkdir /usr/src/screen-4.0.3-1/inst/usr/share/screen/utf8encodings
cd doc ; make installdirs
make[1]: Entering directory `/usr/src/screen-4.0.3-1/build/doc'
/usr/src/screen-4.0.3-1/src/screen-4.0.3/doc/../etc/mkinstalldirs
/usr/src/screen-4.0.3-1/inst/usr/share/man/man1
/usr/src/screen-4.0.3-1/inst/usr/share/info
mkdir /usr/src/screen-4.0.3-1/inst/usr/share/man
mkdir /usr/src/screen-4.0.3-1/inst/usr/share/man/man1
mkdir /usr/src/screen-4.0.3-1/inst/usr/share/info
make[1]: Leaving directory `/usr/src/screen-4.0.3-1/build/doc'
*** ERROR: make install DESTDIR failed
 Packaging screen-4.0.3-1


--
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: configure cannot find boost libraries

2009-01-26 Thread Dave Steenburgh
On Mon, Jan 26, 2009 at 6:41 PM, Greg Chicares gchica...@sbcglobal.net wrote:
 On 2009-01-26 23:28Z, Claude Sylvain wrote:
 [...]
 It seems that boost library include files are not located in
 /usr/include/boost/, but in /usr/include/boost-1_33_1/boost, or something 
 like
 that, depending of the cygwin version you use.

 A workaround can be to make a copy of /usr/include/boost-1_33_1/boost/
 directory into /usr/include/.  This make the boost directory appear at the
 right place.

 That might be an intentional feature, which lets you use
 different versions of boost for different C++ programs.

 Would it be easier to add
  CPPFLAGS=-I/usr/include/boost-1_33_1
 to the './configure' line?

Try ./configure --help and see if it has an option to specify the
location of boost.  It might be --with-boost=/path/to/boost.  You'll
have to figure out the path on your system.  Some packages do have
options like this for their dependencies, and if so, it's usually a
better solution than adjusting the CPPFLAGS for the entire package.

--
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: syntax highlighting on Joe

2009-01-26 Thread Julio Emanuel
Hi Javier,

On Mon, Jan 26, 2009 at 18:58, Javier Sedano wrote:
 Hi friends,

I've been using cygwin for many years, but had never subscribed to
 this list. Now, I have a strange behaviour, and hope you can help me.

I'm a fan of the Joe editor. I use it on xterm. Up to now, it had
 always made syntax-higglighting out of the box. However, when I installed it
 yesterday (from the latest version, using the mirror cygwin.cict.fr) on a
 new computer, it did not.

Welcome aboard. I've had this problem also. I've reported, but never
had any answer.
Yet, I've managed to report the problem AND the solution in the same email :)

You can check it right here:
http://www.cygwin.com/ml/cygwin/2008-07/msg00277.html

It seems that the syntax file are not the problem, because (a) the

Well, actually, they ARE the problem (or their location, to be exact).

 jsf files are there (see the log below); and (b) the autoindent for example
 is working.
Any idea?


snip


I also would like to grab this opportunity to (once again) ring the
service bell to whoever maintain this package 'joe'.
It's my favorite (actually the only) editor in the Unix/Cygwin
environments, and that's unfortunate to see this package negleted,
because this seems to be a simple packaging problem. Also, currently
the upstream version is already 3.7 (TWO versions beyond the Cygwin
current!).

Could all this whining give us joe'ers a brand new version of this
package? Pretty Please? :)

All the best,
___
Julio Costa

--
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: configure cannot find boost libraries [SOLVED]

2009-01-26 Thread Paulianna2002
Greg Chicares wrote

 Would it be easier to add
  CPPFLAGS=-I/usr/include/boost-1_33_1
 to the './configure' line?


Voila!  Thanks Greg (et al) for responding.  This did the trick (without having 
to create symbolic links and/or copy header directories).

./configure CPPFLAGS=-I/usr/include/boost-1_33_1



  

--
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: syntax highlighting on Joe

2009-01-26 Thread Larry Hall (Cygwin)

Julio Emanuel wrote:

snip


I also would like to grab this opportunity to (once again) ring the
service bell to whoever maintain this package 'joe'.
It's my favorite (actually the only) editor in the Unix/Cygwin

^
Perhaps it's your only favorite editor but it is not the only editor
in the Unix, Linux, or Cygwin environments, in case anyone gets the
wrong immression. ;-)


environments, and that's unfortunate to see this package negleted,
because this seems to be a simple packaging problem. Also, currently
the upstream version is already 3.7 (TWO versions beyond the Cygwin
current!).

Could all this whining give us joe'ers a brand new version of this
package? Pretty Please? :)


If this really is just a packaging issue, you may have better luck
reporting it to the cygwin-apps list (where packaging issues are on-
topic).  Jari has responded to things there of-late.  Of course, if
you're desperate for a newer 'joe' and aren't going to build it yourself,
you can take advantage of the version packaged and announced here:

http://cygwin.com/ml/cygwin-apps/2008-11/msg1.html

Of course, if you go this route, you can't come back to this list with
your whining if something doesn't work.  Perhaps it's a small price
to pay. ;-)

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

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



octave-3.0.3-1: mkoctfile error : mkoctfile seems to be unable to find liboctave

2009-01-26 Thread Tatsuro MATSUOKA
Hello

$ octave
GNU Octave, version 3.0.3
Copyright (C) 2008 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
 :
 :

octave:1 cd 'D:\usr\Tatsu\program\Octave\test'
octave:2 pwd
ans = /cygdrive/d/usr/Tatsu/program/Octave/test
octave:3 ls -l oregonator.cc
-rwx--+ 1 Tatsu なし 577 Nov 28  2002 oregonator.cc
octave:4 mkoctfile -v oregonator.cc
g++-4 -c -I/usr/include/octave-3.0.3 -I/usr/include/octave-3.0.3/octave 
-mieee-fp -O2 -pipe
oregonator.cc -o oregonator.o
g++-4 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import 
-Wl,--enable-runtime-pseudo-reloc -o
oregonator.oct oregonator.o -L/usr/lib/octave-3.0.3 -loctinterp -loctave 
-lcruft -llapack -lblas
-lfftw3 -lreadline -lncurses -ldl -lwsock32 -lhdf5 -lz -lm -lwsock32
-L/bin/../lib/gcc/i686-pc-cygwin/4.3.2 -L/bin/../lib/gcc 
-L/usr/lib/gcc/i686-pc-cygwin/4.3.2
-L/bin/../lib/gcc/i686-pc-cygwin/4.3.2/../../.. -lhdf5 -lz -lm -lgfortranbegin 
-lgfortran -lcygwin
-luser32 -lkernel32 -ladvapi32 -lshell32
/usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: cannot 
find -loctave
collect2: ld returned 1 exit status


I found '-loctave' in the below,
g++-4 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import 
-Wl,--enable-runtime-pseudo-reloc -o
oregonator.oct oregonator.o -L/usr/lib/octave-3.0.3 -loctinterp -loctave 
-lcruft -llapack -lblas
-lfftw3 -lreadline -lncurses -ldl -lwsock32 -lhdf5 -lz -lm -lwsock32
-L/bin/../lib/gcc/i686-pc-cygwin/4.3.2 -L/bin/../lib/gcc 
-L/usr/lib/gcc/i686-pc-cygwin/4.3.2
-L/bin/../lib/gcc/i686-pc-cygwin/4.3.2/../../.. -lhdf5 -lz -lm -lgfortranbegin 
-lgfortran -lcygwin
-luser32 -lkernel32 -ladvapi32 -lshell32

However
/usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: cannot 
find -loctave
collect2: ld returned 1 exit status

 octave:5 ls /usr/lib/octave-3.0.3
libcruft.dll.alibctave.dll.a liboctinterp.dll.a
libcruft.dll.alibctave.dll.a liboctinterp.dll.a
libcruft.dll.a.3.0.3  liboctave.dll.a.3.0.3  liboctinterp.dll.a.3.0

Mm! -loctinterp did not cause error.

I cannot resolve the problem.

Regards

Tatsuro

/usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: cannot 
find -loctave
collect2: ld returned 1 exit status



--
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

--
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: editing crontab using gvim

2009-01-26 Thread Shai
On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp toby.alls...@navman.co.nz wrote:

 On Tue, Jan 29 2008, Shai wrote:

  Hi,
 
  I have gvim installed and when I do:
  $ crontab -e
  gvim opens up my crontab.
 
  But, it opens it as readonly and saving it requires wq! but then when
  it exits, I see:
  $ crontab.exe -e
  crontab: no changes made to crontab

 EDITOR=gvim -f

 Without the -f, gvim runs in the background and crontab see it exit
 immediately without making any changes.

 Regards,
 Toby.

Hi Toby,

If I use your method, I get this when I try and save the file in gvim:
E45: 'readonly' option is set (add ! to override)

Shai

--
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: octave-3.0.3-1: mkoctfile error : mkoctfile seems to be unable to find liboctave

2009-01-26 Thread Tatsuro MATSUOKA
Hello

I found what was wrong.

The name smybolic link to liboctave.dll.a.3.0.3 was libctave.dll.a. (ctave not 
octave)
That was why  mkoctfile seemed to be unable to find liboctave.

I rename  libctave.dll.a to liboctave.dll.a. 
The command mkoctfile worked fine!!!

Please correct the package of octave-3.0.3-1.

Regards

Tatsuro

--- Tatsuro MATSUOKA tmaccha...@yahoo.co.jp wrote:

 Hello
 
 $ octave
 GNU Octave, version 3.0.3
 Copyright (C) 2008 John W. Eaton and others.
 This is free software; see the source code for copying conditions.
 There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
 FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
  :
  :
 
 octave:1 cd 'D:\usr\Tatsu\program\Octave\test'
 octave:2 pwd
 ans = /cygdrive/d/usr/Tatsu/program/Octave/test
 octave:3 ls -l oregonator.cc
 -rwx--+ 1 Tatsu なし 577 Nov 28  2002 oregonator.cc
 octave:4 mkoctfile -v oregonator.cc
 g++-4 -c -I/usr/include/octave-3.0.3 -I/usr/include/octave-3.0.3/octave 
 -mieee-fp -O2 -pipe
 oregonator.cc -o oregonator.o
 g++-4 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
 -Wl,--enable-runtime-pseudo-reloc -o
 oregonator.oct oregonator.o -L/usr/lib/octave-3.0.3 -loctinterp -loctave 
 -lcruft -llapack -lblas
 -lfftw3 -lreadline -lncurses -ldl -lwsock32 -lhdf5 -lz -lm -lwsock32
 -L/bin/../lib/gcc/i686-pc-cygwin/4.3.2 -L/bin/../lib/gcc 
 -L/usr/lib/gcc/i686-pc-cygwin/4.3.2
 -L/bin/../lib/gcc/i686-pc-cygwin/4.3.2/../../.. -lhdf5 -lz -lm 
 -lgfortranbegin -lgfortran
 -lcygwin
 -luser32 -lkernel32 -ladvapi32 -lshell32
 /usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: cannot 
 find -loctave
 collect2: ld returned 1 exit status
 
 
 I found '-loctave' in the below,
 g++-4 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
 -Wl,--enable-runtime-pseudo-reloc -o
 oregonator.oct oregonator.o -L/usr/lib/octave-3.0.3 -loctinterp -loctave 
 -lcruft -llapack -lblas
 -lfftw3 -lreadline -lncurses -ldl -lwsock32 -lhdf5 -lz -lm -lwsock32
 -L/bin/../lib/gcc/i686-pc-cygwin/4.3.2 -L/bin/../lib/gcc 
 -L/usr/lib/gcc/i686-pc-cygwin/4.3.2
 -L/bin/../lib/gcc/i686-pc-cygwin/4.3.2/../../.. -lhdf5 -lz -lm 
 -lgfortranbegin -lgfortran
 -lcygwin
 -luser32 -lkernel32 -ladvapi32 -lshell32
 
 However
 /usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: cannot 
 find -loctave
 collect2: ld returned 1 exit status
 
  octave:5 ls /usr/lib/octave-3.0.3
 libcruft.dll.alibctave.dll.a liboctinterp.dll.a
 libcruft.dll.alibctave.dll.a liboctinterp.dll.a
 libcruft.dll.a.3.0.3  liboctave.dll.a.3.0.3  liboctinterp.dll.a.3.0
 
 Mm! -loctinterp did not cause error.
 
 I cannot resolve the problem.
 
 Regards
 
 Tatsuro
 
 /usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: cannot 
 find -loctave
 collect2: ld returned 1 exit status
 
 
 
 --
 Power up the Internet with Yahoo! Toolbar.
 http://pr.mail.yahoo.co.jp/toolbar/
 


--
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

--
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: editing crontab using gvim

2009-01-26 Thread Gary Johnson
On 2009-01-27, Shai wrote:
 On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp wrote:
 
  On Tue, Jan 29 2008, Shai wrote:

   I have gvim installed and when I do:
   $ crontab -e
   gvim opens up my crontab.
  
   But, it opens it as readonly and saving it requires wq! but then when
   it exits, I see:
   $ crontab.exe -e
   crontab: no changes made to crontab
 
  EDITOR=gvim -f
 
  Without the -f, gvim runs in the background and crontab see it exit
  immediately without making any changes.

 If I use your method, I get this when I try and save the file in gvim:
 E45: 'readonly' option is set (add ! to override)

Execute

:helpgrep crontab

You should find 7 hits that will direct you to discussions of using
vim as the editor for crontab -e.

HTH,
Gary



--
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: octave-3.0.3-1: mkoctfile error : mkoctfile seems to be unable to find liboctave

2009-01-26 Thread Marco Atzeri
--- Tatsuro MATSUOKA ha scritto:

 Hello
 
 I found what was wrong.
 
 The name smybolic link to liboctave.dll.a.3.0.3 was
 libctave.dll.a. (ctave not octave)
 That was why  mkoctfile seemed to be unable to find
 liboctave.
 
 I rename  libctave.dll.a to liboctave.dll.a. 
 The command mkoctfile worked fine!!!
 
 Please correct the package of octave-3.0.3-1.
 
 Regards
 
 Tatsuro
 

Thanks Tatsuro,
give me few days, as I need to repack both 

octave-3.0.3-1 for cygwin-1.5
octave-3.0.3-2 for cygwin-1.7

is anything else fine ?

Marco



  

--
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: Fwd: [Clamav-devel] Bug#512776: License incompatibility with libgmp (GPLv2 only linking to LGPLv3 or later)

2009-01-26 Thread David Billinghurst

Reini Urban wrote:
Attached is a clamav license incompatibility bug with libgmp from the 
debian lawyers. clamav might be forced to link against an older libgmp.


The switch to LGPL3 came with gmp-4.2.2, so gmp-4.2.1 would be needed 
for clamav compatibility.  But prev is gmp-4.2.3-1, so we might need a 

 new gmp-compat package based on gmp-4.2.1.

I can provide this if required, but I don't want to rush into it.

Some questions come to mind:
 - what should it be called? gmp-compat?
 - where should we install it? /opt/gmp-compat/{lib,include}
 - would a static library suitable?  No run time dependency,
   and we won't be upgrading it.

David

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