OpenGL and cygwin

2003-11-16 Thread Suresh Venkatasubramanian

Hi all,
  I have been trying for the last few days to recreate some of the OpenGl
problems that I have been asking the list about. Fortunately (or
unfortunately, depending on one's perspective :)), I have been unable to
get the errors reproduced in a standalone form, and in fact many of my
OpenGL programs, even those that use more advanced features of OpenGL
1.3+, are working fine.

Thanks a lot to Andre, Brian and CGF for helping out.

Suresh Venkatasubramanian, Ph: 973 360 8951 (o)
Member, Technical StaffWeb: http://www.research.att.com/~suresh/
AT&T Shannon Labs

"The guitar is the ideal instrument for anyone who is able to love
loneliness." --Angelo Gilardino

--
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: mount and ln commands

2003-11-16 Thread Hannu E K Nevalainen
> From: Erica Ramsey
> Sent: Saturday, November 15, 2003 7:25 PM

> I am having trouble mounting a linking to a directory. The mounted file
> doesn't go to "/" as I specified in the mount command instead it goes to
> /cygdrive/c/Documents\ and\ Settings/erica. What am I doing
> wrong? This is
> what I do:
>
> $ mount -tf "c:\PalmDev" /PalmDev
>
> $ ln -s "C:\Palm OS 5 SDK (68K) R3\Palm OS Support" /PalmDev/sdk5r3
> ln: creating symbolic link `/PalmDev/sdk5r3' to `C:\\Palm OS 5 SDK (68K)
> R3\\Palm OS Support': No such file or directory

IMO, use Windows/DOS style paths as little as possible, they're cumbersome
to use correctly to say the least. (I've not tried what you're attempting
above)

The first stone to stumble on; "\" has to be escaped when you enter it at
the bash
prompt; only enclosing your typing withing single quotes avoids this need.
You
have this problem at least with the ln -s command above.

HELP: Use "/bin/cygpath" for conversion to from DOS/Win paths.


> $ ls /
> Packages  cygwin.bat   cygwin.ico  lib   tmp  var
> bin   cygwin.bat~  etc sbin  usr
> ** No /PalmDev

 Mount doesn't add this, you will have to add the "mount point" yourself
if you wish it to be visible. (i.e. $ mkdir /PalmDev)

> $ ls /PalmDev
> ls: /PalmDev: No such file or directory

 Hmm? Did you $ mkdir C:\\PalmDev - as written in the mount command above?

> $ ls ../Documents\ and\ Settings/erica
> Application Data  My Documents  Recent  _viminfo
> ntuser.dat.LOG
> Cookies   NTUSER.DATSendTo  _vimrc  ntuser.ini
> Desktop   NetHood   Start Menu  _vimrc~
> plugin131.trace
> Favorites PalmDev <<== It went here!!!
>
> $ mount
> C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type system
> (binmo
> de)
> C:\cygwin\bin on /usr/bin type user (binmode)
> C:\cygwin\lib on /usr/lib type user (binmode)
> c:\PalmDev on /PalmDev type system (textmode) <<== ??
> C:\cygwin on / type user (binmode)
> c: on /cygdrive/c type user (binmode,noumount)
>
> $ cd /PalmDev
> bash: cd: /PalmDev: No such file or directory
>
> $ umount /PalmDev


This test ran on Win98, but should be the same on any Win:

$ p=$(cygpath -u "C:\PalmDev"); mkdir $p; ls -land $p
drwxr-xr-x2 500 0 Nov 16 13:45 /cygdrive/c/PalmDev/

$ mount -tf "C:\PalmDev" /PalmDev

$ echo >/PalmDev/TEST "I'm here!"

$ cat /PalmDev/TEST
I'm here!

$ ls -ld / | grep PalmDev

$

/Hannu E K Nevalainen, Mariefred, Sweden

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



Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago

2003-11-16 Thread Wayne Hayes
Hello.  Until recently I was running W2k with an ancient version of
cygwin; I don't know what version it was, but if anybody cares I've
put a copy of cygwin1.dll (dated 2001-May-20) at

http://www.cs.toronto.edu/~wayne/tmp/cygwin1-old.dll.gz

It worked fine on W2k for the past 2.5 years.

I recently upgraded to Windows XP and this old cygwin stopped working.
No problem, I say, it's also time to upgrade cygwin, so I go install the
most recent version.

Everything works fine, except one of my I/O intensive simulations starts
running about 20 times slower!

After copious mucking about, I finally narrowed it down to sscanf: sscanf
on double precisions numbers, such as

double a;
char line [80];
fgets(line...)
sscanf(line, "%lf", &a);

runs about 20 times slower than in the old cygwin.  Replacing the sscanf
with a call to atof gets back the old speed.  It's only noticable, of
course, if you're scanning a huge file.  In my case, it's a 60MB file
that contains tens of thousands of lines of ASCII floating point numbers.

So, consider this a bug report.  A slowdown of a factor of 20 is not really
a good thing.

The output of "cygcheck -s -v -r > cygcheck.out" can be found at

http://www.cs.toronto.edu/~wayne/tmp/cygcheck-XP-1.5.5.out.gz

Thanks!

- Wayne


--
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: No /bin directory [Executable Attachment Stripped]

2003-11-16 Thread François-Denis Gonthier
Ach! I'm sorry, I've found the culprit of my problem.

I recently installed a program which required the Cygwin toolset and I
mistakenly let the installer of that program install his own version of
Cygwin.  The mount points in the registry got changed and everything that
should have went in /bin was installed into that program Cygwin directory.

I have uninstalled that program (will reinstall it correctly later) and
reinstalled Cygwin and now everything works :)

> -Message d'origine-
> De : French, David [mailto:[EMAIL PROTECTED]
> Envoyé : 16 novembre, 2003 01:42
> À : 'François-Denis Gonthier'
> Objet : RE: No /bin directory [Executable Attachment Stripped]
>
>
> "MMS " made the following annotations.
> --
> 
> Executable Attachment(s) Stripped
>
> Please note: Corporate mail policy dictates that executable
> attachment types are not allowed in incoming messages.  This
> message originally contained one or more such attachment
> types which were removed prior to delivery.  Please contact
> your mail administrator if you have questions regarding this policy.
> ==
> 
>
> There could be a couple of reason's why you didn't get the
> settings.  One is
> that you de-selected the post configuration package.  It is
> the last one
> listed.  The other could be how you chose to install.  There
> are 2 options.
> One says to install for you and one for everyone on the computer.  The
> difference is where the Program Menu items are installed and
> the other is
> the registry keys used.  For everyone, the reg keys are put
> under HKLM and
> for you, HKCU.
>
> Anyway, what it sounds like is the reg key is not set.  I
> have included a
> reg file that has the proper settings.  You may need to fix the path
> entries.  I installed under E:\cygwin on my computer.  If you used
> C:\cygwin, which is the default, then you will need to modify the file
> before loading.
>
> Good luck.
>   --Dave
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf
> Of François-Denis Gonthier
> Sent: Saturday, November 15, 2003 4:47 PM
> To: [EMAIL PROTECTED]
> Subject: No /bin directory
>
>
> Hello all
>
> Something just happened with my Cygwin installation.  I just had to
> reinstall Cygwin from the net because I accidentally broke
> some things.
> Anyway, the reason doesn't matter.
>
> The install went apparently fine until I noticed to absence of the Bin
> directory.  I've looked on Google for that problem but found
> nothing.  I
> think post-install scripts that should have been executed weren't.
>
> Is there a way to fix that?  Is there something I should have
> done that I
> didn't?  Is my system broken in any way?
>
> Thank you in advance
>
> François-Denis
>
>
>
> --
> Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:   http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ:   http://cygwin.com/faq/
>
>
>



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



setup 2.418 - comments

2003-11-16 Thread Hannu E K Nevalainen

1) Downloading the package list leaves text that doesn't get removed
   during the MD5 check phase.

2) Resizing of window - I LOVE IT! :-)

WRT 2:
 Resizing during the following download reveals a minor graphics
"bug"; look just *to the right* of the cygwin symbol { 'C-' in ascii
graphics) while resizing the window until the end of the text appears there.
>From this point - slowly widen the window, while keeping an eye just
slightly above where the text appeared.
 Some graphics appears at a certain width, at first sight looks like a copy
of the upper window border. I'm not sure it is though.


WRT 1:
 It seems to me that the MD5 checking is done whether it is needed or
not. This is time consuming on a slow machine. May I *suggest* the
logic to be changed to something like this:

 dl_date  = get_date_of(local_package_maindir)
 md5_date = get_date_of(MD5_LIST)

 if ( !( md5_date > dl_date ) )
   do
 for d in all_package_subdirs()
 do
   if (get_date_of(d) > md5_date)
 redo_MD5_check(d);
 done
 save(MD5_LIST)
   done


CAVEAT: I haven't CHECKED this to be FULLY TRUE:
 I've noted that running setup (2.416 at least!) with
 $ cygstart -- /install/setup.exe --no-md5
 appears to do a download of the correct packages without problems,
 even though _NOT_ doing the MD5 check.

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF 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: No /bin directory

2003-11-16 Thread Christopher Faylor
On Sun, Nov 16, 2003 at 11:11:10AM -0500, Fran?ois-Denis Gonthier wrote:
>Ach! I'm sorry, I've found the culprit of my problem.
>
>I recently installed a program which required the Cygwin toolset and I
>mistakenly let the installer of that program install his own version of
>Cygwin.  The mount points in the registry got changed and everything that
>should have went in /bin was installed into that program Cygwin directory.

Can we know the name of this program which required the Cygwin toolset?  I
think it's time that we started adding known offenders to the FAQ.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to [EMAIL PROTECTED]
and be permanently blocked from mailing lists at sources.redhat.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/



Exporting const variables from DLLs (GCC bug?)

2003-11-16 Thread Jon Foster
Hi,

Given this source code:
extern const int meaning_of_life __declspec(dllexport);
const int meaning_of_life __declspec(dllexport) = 42;
GCC complains:
$ c++ -g -O2 -c test.cxx -o test.o
test.cxx:2: error: external linkage required for symbol 'const int
   meaning_of_life' because of 'dllexport' attribute.
However, it compiles successfully with the "const" qualifier
removed:
extern int meaning_of_life __declspec(dllexport);
int meaning_of_life __declspec(dllexport) = 42;
Why does adding the "const" qualifier change this?  Is
this a known limitation of DLLs?  If so, the error message
is a little confusing.  If not, then this is a GCC bug.
Removing the explicit "extern" line has no effect in either
case.
My Cygwin installation was updated recently - I'm using the
standard Cygwin GCC 3.3.1-3 package:
$ c++ --version
c++ (GCC) 3.3.1 (cygming special)
If you want any more info, just ask.

Incidentally, this bug affects src/sid/component/ in the
Cygwin CVS tree.  I'd prepared this minimal test case before
I realized that this subdirectory isn't needed to build the
Cygwin DLL.  (Doh!  CVS doing unexpected things strikes again).
Kind regards,

Jon Foster





--
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: Perl CPAN module help

2003-11-16 Thread Gary Nielson
Hi,

I am getting somewhere. I used setup and installed needed executables such
as gcc. Did a force install in cpan for LWP modules and it seemed to be go
great. All tests were successful in make test. But when running make install
I got the error:

"Cannot forceunlink /usr/bin/HEAD: No such file or directory at
/usr/lib/perl5/5.8.0/File/Find.pm line 873.
make: *** [pure_site_install] Error 255
/usr/bin/make install -- NOT OK.

The Find.pm line in question is: { $wanted_callback->() }; # protect against
wild "next"

Any idea what is going wrong, or is the question better posed to a perl
forum? Any help appreciated.


-Original Message-
From: Peter J. Acklam [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 2:52 AM
To: Gary Nielson; [EMAIL PROTECTED]
Subject: RE: Perl CPAN module help


"Gary Nielson" <[EMAIL PROTECTED]> wrote:

>I tried installing several perl modules today, but make test
>failed on several in the LWP package and for HTML::Parser
>etc. Couldn't find modules I'd already installed in the INC
>path.

That's strange.  Which module is not found?  Since you have
installed it, where is it?  What is your @INC?  You can see your
@INC with

   perl -wle 'print for @INC'

>With HTML::Parser it couldn't run gcc because it was not found.

Then you must install it.  :-)  Run setup.exe and install gcc.

>How do you use CPAN under cygwin?

   perldoc cpan

To fire up the cpan shell, just type, at the cygwin shell

   cpan

>Is there a web page that outlines how to configure CPAN for
>cygwin, is that what is needed?

I found it to be quite straight forward.  Please be specific and
tell where you run into problems.

>Are others having problems and how did you fix them.

We'll take one thing at a time.  I've used the cpan shell a lot,
but I need some more information about where you run into
problems.

>I successfully install some and have force installed others and
>notice that if you do a perldoc perllocal you only get the first
>three modules listed, whereas if you do a more on the perllocal
>file, you see a lot more listed. What's up with that, can anyonw
>explain?

I have never used "perldoc perllocal" to see what modules I have
installed, so at this point I can't tell you what is wrong.

Peter

--
Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam



--
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: Perl CPAN module help

2003-11-16 Thread Brian Dessent
Gary Nielson wrote:
> 
> Hi,
> 
> I am getting somewhere. I used setup and installed needed executables such
> as gcc. Did a force install in cpan for LWP modules and it seemed to be go
> great. All tests were successful in make test. But when running make install
> I got the error:
> 
> "Cannot forceunlink /usr/bin/HEAD: No such file or directory at
> /usr/lib/perl5/5.8.0/File/Find.pm line 873.
> make: *** [pure_site_install] Error 255
> /usr/bin/make install -- NOT OK.

On unix, 'head' is the program that displays the first 'n' lines of a
file, whereas 'HEAD' is a utility that's installed from LWP to do the
HTTP HEAD command from the command line (there's also GET.)  In unix,
case is significant, so it's perfectly fine to have both HEAD and a head
commands, but under Windows and thus Cygwin, case doesn't matter.  So
you have to skip the HEAD utility from LWP, or temporarily remove/rename
the standard head command.

I don't think this error should be fatal, and there should be an option
or switch or something to prevent it from trying to install HEAD.

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/



setup.exe alternative?

2003-11-16 Thread Len Bright
Hi,
Is there an alternative to the setup.exe network installation such as a
standalone program to install the cygwin core program(s)?

Thanks,

-Len


--
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: setup.exe alternative?

2003-11-16 Thread Robert Collins
On Mon, 2003-11-17 at 07:48, Len Bright wrote:
> Hi,
> Is there an alternative to the setup.exe network installation such as a
> standalone program to install the cygwin core program(s)?

setup.exe is a standalone program. Whats your issue?

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


Re: setup.exe alternative?

2003-11-16 Thread Max Bowsher
Len Bright wrote:
> Hi,
> Is there an alternative to the setup.exe network installation such as
> a standalone program to install the cygwin core program(s)?

No.

If you explain what you are trying to do, you will probably get a more
helpful answer.

Max.


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



Re: setup.exe alternative?

2003-11-16 Thread Elliott Wilcoxon
I think he's asking for a installer that uses local stuff, without 
network downloading (e.g. a cygwin installer that runs and installs from 
a CD).

Elliott Wilcoxon

Robert Collins wrote:

On Mon, 2003-11-17 at 07:48, Len Bright wrote:

Hi,
Is there an alternative to the setup.exe network installation such as a
standalone program to install the cygwin core program(s)?


setup.exe is a standalone program. Whats your issue?

Rob


--
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: Exporting const variables from DLLs (GCC bug?)

2003-11-16 Thread Danny Smith
Jon Foster wrote:

> Given this source code: 
> extern const int meaning_of_life __declspec(dllexport);
> const int meaning_of_life __declspec(dllexport) = 42;
> 
> 
> GCC complains: 
> $ c++ -g -O2 -c test.cxx -o test.o
> test.cxx:2: error: external linkage required for symbol 'const int
>meaning_of_life' because of 'dllexport' attribute
>


It is a bug in gcc.  The above code compiles okay with C, but
strangely, not C++.  For some reason, g++ does not immediately
mark the the definition of global constants as public when they
are defined after a prior declaration.  I have a fix that I will
submit to gcc-patches after reg-testing

Danny

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.

--
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: No /bin directory

2003-11-16 Thread Francois-Denis Gonthier

> Can we know the name of this program which required the
> Cygwin toolset?  I
> think it's time that we started adding known offenders to the FAQ.

Falch.Net Developers Studio for Palm (v 2.6 I think).  There is a setup
option to install Cygwin or not.  I did not pay attention at first install-.



--
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: No /bin directory (FAQ alert)

2003-11-16 Thread Christopher Faylor
On Sun, Nov 16, 2003 at 04:54:43PM -0500, Francois-Denis Gonthier wrote:
>>Can we know the name of this program which required the Cygwin toolset?
>>I think it's time that we started adding known offenders to the FAQ.
>
>Falch.Net Developers Studio for Palm (v 2.6 I think).  There is a setup
>option to install Cygwin or not.  I did not pay attention at first
>install-.

David, what do you think about adding a section on problematic third-party
cygwin installs?

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: DDD Compilation Fails using GCC 3.3.1

2003-11-16 Thread dirk . goethals
Ihe same problem with  ddd 3.3.8 and GCC 3.3.1.
I was able to compile ddd with GCC 3.2.3, but
when launching ddd I gat following problem:
(btw ddd --help works fine)
>>
Warning: XmPrimitive ClassInitialize: XmeTraitSet failed
Error: attempt to add non-widget child "DropSiteManager" to parent "ddd" 
which supports only widgets
Xt error (attempt to add non-widget child "DropSiteManager" to parent 
"ddd" which supports only widgets).
<<...>>
DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault' signal
<<

Any help is welcom.

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


dircmp for cygwin?

2003-11-16 Thread leo
hi there

cygwin is great! it brings my windows pc closer to unix!

however i couldn't find dircmp in the collection of tools. is there a dircmp
implementation for cygwin?

thanks a lot,

leo


--
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: dircmp for cygwin?

2003-11-16 Thread Bobby McNulty Junior
Google it. You might find it, if it's there.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of leo
Sent: Sunday, November 16, 2003 7:36 PM
To: [EMAIL PROTECTED]
Subject: dircmp for cygwin?


hi there

cygwin is great! it brings my windows pc closer to unix!

however i couldn't find dircmp in the collection of tools. is there a dircmp
implementation for cygwin?

thanks a lot,

leo


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




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



Re: 1.5.5: sshd problem

2003-11-16 Thread John Pye
Thanks for the extra tips, Igor. Do any of these results look strange to 
you?

Igor Pechtchanski wrote:

That's the default mode Windows gives it.  This should work, but somehow
doesn't...  Can sshd get to all the necessary files and directories?  Look
at the permissions on /etc and the files in it, as well as /bin.
 

I tried an ls -l /etc and found

-rwxr-xr-x1 SYSTEM   None 1159 Nov 13 19:02 ssh_config
-rw---1 SYSTEM   None  668 Nov 13 19:02 ssh_host_dsa_key
-rw-r--r--1 SYSTEM   None  599 Nov 13 19:02 ssh_host_dsa_key.pub
-rw---1 SYSTEM   None  524 Nov 13 19:02 ssh_host_key
-rw-r--r--1 SYSTEM   None  328 Nov 13 19:02 ssh_host_key.pub
-rw---1 SYSTEM   None  887 Nov 13 19:02 ssh_host_rsa_key
-rw-r--r--1 SYSTEM   None  219 Nov 13 19:02 ssh_host_rsa_key.pub
-rw-r--r--1 SYSTEM   None 2427 Nov 13 19:03 sshd_config
That looks OK I thought... or is it? Does 'SYSTEM' need to be able to 
read those files, or does 'sshd'?

I also had a look at /etc/bin and it's all  owned by john.Users, for example

-rwxrwxrwx1 john Users   19456 Feb 20  2002 split.exe
-rwxrwxrwx1 john Users   68608 Nov  6 02:47 ssh-add.exe
-rwxrwxrwx1 john Users   57856 Nov  6 02:47 ssh-agent.exe
-rwxrwxrwx1 john Users   17333 Nov  6 02:47 ssh-host-config
-rwxrwxrwx1 john Users   75776 Nov  6 02:47 ssh-keygen.exe
-rwxrwxrwx1 john Users  130048 Nov  6 02:47 ssh-keyscan.exe
-rwxrwxrwx1 john Users6266 Nov  6 02:47 ssh-user-config
-rwxrwxrwx1 john Users  223232 Nov  6 02:47 ssh.exe
-rwxrwxrwx1 john Users   18944 Sep 21 06:32 ssp.exe
-rwxrwxrwx1 john Users   87552 Aug 26  2002 states.exe
-rwxrwxrwx1 john Users   23552 Sep 21 06:32 strace.exe
That could be a problem perhaps? Should the 'Users' group contain 'sshd' 
or is access for sshd to the /bin executables handled somehow else?

Ok, looks like all your mounts are system mounts, unless you simply don't
have the permission to read the registry keys for the SYSTEM user...
 

That seems strange. My home computer has a couple of mounts when I run 
that command, but this system has none. However, it works fine locally 
(compiling, listing files, /cygdrive/c, etc). I haven't ever tinkered 
with the mounts, so I wonder how that comes to be... Couldn't be related 
to mingw/msys could it?

John

--
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: dircmp for cygwin?

2003-11-16 Thread Bobby McNulty Junior
Only one dircmp I find is in Perl.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Bobby McNulty Junior
Sent: Sunday, November 16, 2003 8:23 PM
To: leo; [EMAIL PROTECTED]
Subject: RE: dircmp for cygwin?


Google it. You might find it, if it's there.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of leo
Sent: Sunday, November 16, 2003 7:36 PM
To: [EMAIL PROTECTED]
Subject: dircmp for cygwin?


hi there

cygwin is great! it brings my windows pc closer to unix!

however i couldn't find dircmp in the collection of tools. is there a dircmp
implementation for cygwin?

thanks a lot,

leo


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




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




--
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: dircmp for cygwin?

2003-11-16 Thread Yitzchak Scott-Thoennes
On Sun, Nov 16, 2003 at 08:23:26PM -0600, Bobby McNulty Junior <[EMAIL PROTECTED]> 
wrote:
> Google it. You might find it, if it's there.
> 
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
> Of leo
> Sent: Sunday, November 16, 2003 7:36 PM
> To: [EMAIL PROTECTED]
> Subject: dircmp for cygwin?
> 
> however i couldn't find dircmp in the collection of tools. is there a dircmp
> implementation for cygwin?

Archaeological notes:
dircmp was listed as legacy in the susv2 standard and removed in susv3
(in deference to diff -r).  Rationale:

   Although a useful concept, the historical output of this directory
   comparison program is not suitable for processing in application
   programs. Also, the diff -r command gives equivalent functionality.

Of course, tar was also removed in susv3, in deference to pax.  You've
all heard of pax, right?

--
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: dircmp for cygwin?

2003-11-16 Thread John Pye
I found the link below. It says that no, it's not a part of SuSE or BSD, 
and it's only legacy on UNIX. There is a 'dircmp' class in python that 
you could use, or else maybe you could come up with some magic using an 
rsync 'dry run'...

http://www.webaugur.com/bibliotheca/standards/unix.html.php3
http://gnu.kookel.org/ftp/www.python.org/doc/current/lib/dircmp-objects.html
Bobby McNulty Junior wrote:

Google it. You might find it, if it's there.

 



--
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: Perl CPAN module help

2003-11-16 Thread Peter J. Acklam
"Gary Nielson" <[EMAIL PROTECTED]> wrote:

> I am getting somewhere. I used setup and installed needed
> executables such as gcc. Did a force install in cpan for LWP
> modules and it seemed to be go great. All tests were successful
> in make test. But when running make install I got the error:

You shouldn't use "force install" unless you really know what
you're doing.  If your module fails a regular "install" you should
investigate the problem and find the solution rather than do a
"force install".  With a "force install" you are likely to install
modules which fail some way on your system and hence shouldn't
have been installed.

> "Cannot forceunlink /usr/bin/HEAD: No such file or directory at
> /usr/lib/perl5/5.8.0/File/Find.pm line 873.
> make: *** [pure_site_install] Error 255
> /usr/bin/make install -- NOT OK.
>
> The Find.pm line in question is: { $wanted_callback->() }; #
> protect against wild "next"

When installing LWP you are asked whether you want to install the
GET, HEAD, and POST programs.  You have chosed "yes" or the "force
install" did it for you.  Either way, it was discovered that HEAD
exists (as /usr/bin/head.exe) and Perl is trying to remove it, but
although "which head" says "/usr/bin/HEAD", there really is no
"/usr/bin/HEAD.exe", it's "/usr/bin/head.exe".  The problem is
that "which" matches case insensitively, but "rm" doesn't.

The solution is:  Don't install CPAN modules under "/usr", use
"/usr/local"!  When you install modules without CPAN, use the
steps

perl Makefile.PL PREFIX=/usr/local
make
make test
make install

this is done with the CPAN shell by setting

cpan> o conf makepl_arg PREFIX=/usr/local
cpan> o conf commit

> Any idea what is going wrong, or is the question better posed to
> a perl forum?

The "head" vs "HEAD" is a Cygwin thing, so I think it belongs
equally well here.

Peter

-- 
Peter J. Acklam - [EMAIL PROTECTED] - http://home.online.no/~pjacklam


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