RE: configure command does not run.... d2u does not help either... appreciation from Dave

2007-12-02 Thread Dave Korn
On 30 November 2007 19:42, MasterOfSw wrote:

> I don't know why d2u doesn't work though, if it really is just a LF/CRLF
> problem. 

  Well, it probably would, if you could find /all/ the files that needed it,
but it needs a lot more than just running it over the configure script.  It's
generally simpler to just re-unpack the tar from the command-line and throw
the mangled one away.

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
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: end of file characters

2007-12-02 Thread DePriest, Jason R.
On Dec 1, 2007 3:07 PM, Erik Weibust  wrote:
> I went with the defaults when installing cygwin.  Which means I used
>  the recommended unix/binary line feed setting.  It sounded like that
>  means I get no line-ending translation done by cygwin, which is fine.
>
> So I open a .bat file and see a bunch of ^Ms at the end of each line.
>   Then I open a xml file and don't see them.  I was expecting to see
> the
>  ^Ms again as the xml file, just like the bat file, was created in a
>  windows environment.  Is this normal?
>
deleted words

Vi also doesn't show the ^M if it recognizes the file as [dos] and
instead shows a little [dos] in the information line.

-Jason

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

2007-12-02 Thread horacioemilio


Yes, due to some error I got always the src. But now I got the binary for
ash

By the way, it came with the name "sh.exe" isntead of "ash.exe". When I
tried to change its name it did not work, the file just dissapeared !!!

So I made a symbolic link on /bin for my location of sh.exe with the name
ash.exe. Then I used rebaseall, which detected ash.exe but told me some
errors about processes that I should kill. 

I killed all of them but still problems, so I edited rebaseall and removed
the check of this error.

Then everything went ok and now I can use xmgrace !!!

Thanks to everybody and specially the guy that told me if I knew C, for his
unvaluable help






Greg Chicares-2 wrote:
> 
> [Reformatted: see http://cygwin.com/acronyms/#TOFU ]
> 
> On 2007-12-02 17:27Z, horacioemilio wrote:
>> 
>> Greg Chicares-2 wrote:
>>> 
>>> On 2007-12-02 16:35Z, horacioemilio wrote:
 
 1- in a general way, how can I install new specific programs once I
 need
 them ? Should I use again setup.exe like the first time I installed the
 whole system but only selecting the package that I need ?
>>> 
>>> Yes.
>>
>> Ok, I did that, so I got the package; ash-20040127-3-src.tar.bz2
> 
> The '-src' means you got the source.
> 
>> What could I do to get this "ash" get running ??
> 
> If I understand correctly, you don't really want to build 'ash';
> you just want to use it. If so, then just install the binary,
> using 'setup.exe'.
> 
> --
> 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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xmgrace-problems-tf4932257.html#a14118564
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Xmgrace problems

2007-12-02 Thread horacioemilio

then,

can you please tell me how to install the package without rebuild ?

I mean that the package I got is only source, I don't see any binary file
there



Christopher Faylor-8 wrote:
> 
> On Sun, Dec 02, 2007 at 10:02:05AM -0800, horacioemilio wrote:
>>Thanks for your useful answer.
>>
>>By the way, here is described a similar problem (and without answer)
>>
>>http://www.eggheads.org/pipermail/bugs/2006-February/000902.html
> 
> Actually, the right answer is to not install the ash sources.  Just
> install the program.  You don't have to rebuild packages like ash to use
> them.  You just install them like any other package.
> 
> 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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xmgrace-problems-tf4932257.html#a14118337
Sent from the Cygwin list mailing list archive at Nabble.com.


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



RE: end of file characters

2007-12-02 Thread Peter Klavins
> I went with the defaults when installing cygwin.  Which means I used
>  the recommended unix/binary line feed setting.  It sounded like that
>  means I get no line-ending translation done by cygwin, which is fine.
>
> So I open a .bat file and see a bunch of ^Ms at the end of each line.
>   Then I open a xml file and don't see them.  I was expecting to see
> the
>  ^Ms again as the xml file, just like the bat file, was created in a
>  windows environment.  Is this normal?

Even within the Windows environment if often happens that files don't
have cr-lf line endings.  This is especially the case, for example, when
you have saved the file from the internet.  And even if you've edited
the file using a Windows editor, they quite often sense the line ending
format and write the file back using the same format.  So, yes, it is
possible that you may see .bat files with Ctrl-M's and .xml files
without them.

> Another question...  When I'm editing a file that has the ^Ms do I
>  leave them alone, or delete them?  Will I be able to go back and forth
> and
>  use vi via cygwin, and notepad/textpad via windows without harming the
>  file?

In general, you don't really need to delete Ctrl-M's, so long as the
files are working fine as they are.  Vi happily reads and writes files
with lines with or without Ctrl-M's.  You'll find that Notepad is
useless in editing files without Ctrl-M's, because it treats them as one
long line.  But WordPad works fine.

If you must delete the additional Ctrl-M's, don't do it by hand within
an editor, you may accidentally leave one in, which may potentially
later confuse the hell out of an editor, or you.  Use a program like
unix2dos/dos2unix to do that work for you.  

Peter K.

 Peter Klavins  Datalon SrL


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

2007-12-02 Thread Greg Chicares
[Reformatted: see http://cygwin.com/acronyms/#TOFU ]

On 2007-12-02 17:27Z, horacioemilio wrote:
> 
> Greg Chicares-2 wrote:
>> 
>> On 2007-12-02 16:35Z, horacioemilio wrote:
>>> 
>>> 1- in a general way, how can I install new specific programs once I need
>>> them ? Should I use again setup.exe like the first time I installed the
>>> whole system but only selecting the package that I need ?
>> 
>> Yes.
>
> Ok, I did that, so I got the package; ash-20040127-3-src.tar.bz2

The '-src' means you got the source.

> What could I do to get this "ash" get running ??

If I understand correctly, you don't really want to build 'ash';
you just want to use it. If so, then just install the binary,
using 'setup.exe'.

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

2007-12-02 Thread Christopher Faylor
On Sun, Dec 02, 2007 at 10:02:05AM -0800, horacioemilio wrote:
>Thanks for your useful answer.
>
>By the way, here is described a similar problem (and without answer)
>
>http://www.eggheads.org/pipermail/bugs/2006-February/000902.html

Actually, the right answer is to not install the ash sources.  Just
install the program.  You don't have to rebuild packages like ash to use
them.  You just install them like any other package.

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

2007-12-02 Thread horacioemilio

Thanks for your useful answer.

By the way, here is described a similar problem (and without answer)

http://www.eggheads.org/pipermail/bugs/2006-February/000902.html





Christopher Faylor-8 wrote:
> 
> On Sun, Dec 02, 2007 at 09:27:28AM -0800, horacioemilio wrote:
>>Ok, I did that, so I got the package; ash-20040127-3-src.tar.bz2
>>
>>Then I do not know if there is some special mechanism in cygwin to install
>>this into the system.
>>
>>I just tried to compile using; 1.configure, 2. make ; but got errors;
>>
>>$ make install
>>gcc -DPACKAGE=\"ash\" -DVERSION=\"1.00\"  -I. -I.-DSMALL -DSHELL
-Dlint
>>-Wall -Wunused  -O2 -g -c expand.c
>>In file included from expand.c:72:
>>output.h:73: error: conflicting types for 'dprintf'
>>/usr/include/stdio.h:233: error: previous declaration of 'dprintf' was
here
>>output.h:73: error: conflicting types for 'dprintf'
>>/usr/include/stdio.h:233: error: previous declaration of 'dprintf' was
here
>>expand.c: In function `evalvar':
>>expand.c:679: warning: comparison is always true due to limited range of
>>data type
>>make: *** [expand.o] Error 1
>>
>>
>>What could I do to get this "ash" get running ??
> 
> Learn C?
> 
> 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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xmgrace-problems-tf4932257.html#a14118110
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Xmgrace problems

2007-12-02 Thread Christopher Faylor
On Sun, Dec 02, 2007 at 09:27:28AM -0800, horacioemilio wrote:
>Ok, I did that, so I got the package; ash-20040127-3-src.tar.bz2
>
>Then I do not know if there is some special mechanism in cygwin to install
>this into the system.
>
>I just tried to compile using; 1.configure, 2. make ; but got errors;
>
>$ make install
>gcc -DPACKAGE=\"ash\" -DVERSION=\"1.00\"  -I. -I.-DSMALL -DSHELL -Dlint
>-Wall -Wunused  -O2 -g -c expand.c
>In file included from expand.c:72:
>output.h:73: error: conflicting types for 'dprintf'
>/usr/include/stdio.h:233: error: previous declaration of 'dprintf' was here
>output.h:73: error: conflicting types for 'dprintf'
>/usr/include/stdio.h:233: error: previous declaration of 'dprintf' was here
>expand.c: In function `evalvar':
>expand.c:679: warning: comparison is always true due to limited range of
>data type
>make: *** [expand.o] Error 1
>
>
>What could I do to get this "ash" get running ??

Learn C?

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

2007-12-02 Thread horacioemilio

Ok, I did that, so I got the package; ash-20040127-3-src.tar.bz2

Then I do not know if there is some special mechanism in cygwin to install
this into the system.

I just tried to compile using; 1.configure, 2. make ; but got errors;

$ make install
gcc -DPACKAGE=\"ash\" -DVERSION=\"1.00\"  -I. -I.-DSMALL -DSHELL -Dlint
-Wall -Wunused  -O2 -g -c expand.c
In file included from expand.c:72:
output.h:73: error: conflicting types for 'dprintf'
/usr/include/stdio.h:233: error: previous declaration of 'dprintf' was here
output.h:73: error: conflicting types for 'dprintf'
/usr/include/stdio.h:233: error: previous declaration of 'dprintf' was here
expand.c: In function `evalvar':
expand.c:679: warning: comparison is always true due to limited range of
data type
make: *** [expand.o] Error 1


What could I do to get this "ash" get running ??




Greg Chicares-2 wrote:
> 
> On 2007-12-02 16:35Z, horacioemilio wrote:
>> 
>> 1- in a general way, how can I install new specific programs once I need
>> them ? Should I use again setup.exe like the first time I installed the
>> whole system but only selecting the package that I need ?
> 
> Yes.
> 
> --
> 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/
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xmgrace-problems-tf4932257.html#a14117663
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: Xmgrace problems

2007-12-02 Thread Greg Chicares
On 2007-12-02 16:35Z, horacioemilio wrote:
> 
> 1- in a general way, how can I install new specific programs once I need
> them ? Should I use again setup.exe like the first time I installed the
> whole system but only selecting the package that I need ?

Yes.

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



Xmgrace problems

2007-12-02 Thread horacioemilio

HI, 

I need to use xmgrace, it was installed by default but it does not work. I
googled and it seems that the solution is to do "rebaseall". But I can not
do because I have not "ash". So;

1- in a general way, how can I install new specific programs once I need
them ? Should I use again setup.exe like the first time I installed the
whole system but only selecting the package that I need ?

Thanks


-- 
View this message in context: 
http://www.nabble.com/Xmgrace-problems-tf4932257.html#a14117175
Sent from the Cygwin list mailing list archive at Nabble.com.


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



Re: weird samba problems, latest cygwin, samba 3.0.25b-4.2

2007-12-02 Thread jeff

I updated samba to 3.0.25b-4.3 and the problem has gone away.
It sure was weird, but I am glad it is gone.
Thanks for all the help.

jeff


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



Re: [ANNOUNCEMENT] Updated: bzr 0.91-1 -- Next-generation distributed version control

2007-12-02 Thread Dr. Volker Zell
Hi Jari

I noticed that your python based packages (bzr and mercurial) and
probably others which get updated eventually do not include the .egg-info
files anymore compared to the previous version

All other package maintainers of python based packages seem to include
these files.

What's the reason you're removing them from your packages ?

Ciao
  Volker





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



Re: File name too long problem

2007-12-02 Thread Corinna Vinschen
On Dec  1 15:43, Marty Leisner wrote:
> So for now I did a mount onto a shorter path and things worked fine:
> C:\Documents and Settings\leisner on /mnt type system (binmode)
> when I queried in  /mnt...
> 
> Whats the current status of this problem?  

Work in progress.


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: 1.5.25:

2007-12-02 Thread Corinna Vinschen
On Dec  2 04:31, Yaakov (Cygwin Ports) wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> A patch to fix  has been in CVS since January:
> 
> http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/ftw.h.diff?r1=1.2&r2=1.3&cvsroot=src
> 
> Could this please be included in 1.5.25?

Yup, will be included.


Thanks for the hint,
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/



1.5.25:

2007-12-02 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

A patch to fix  has been in CVS since January:

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/ftw.h.diff?r1=1.2&r2=1.3&cvsroot=src

Could this please be included in 1.5.25?


Yaakov

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

iD8DBQFHUomRpiWmPGlmQSMRCPGKAJ9aELh5AOrzd9vpWrOFFGgqJu6xAQCgwGVW
j4GQOQrC/RvTNas5RPK4wM8=
=Z/Ha
-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/



Shell script: Mount C$, xcopy files over, >> to result file

2007-12-02 Thread airzonk

Hi All:

This is what I'd like to do.

I have a list of machines (by IP address) - about 100 in total.

#!/bin/sh
mount //10.0.1.15/C$ (Parameters for username and password?  they are the
same on each machine.)

Now, I would like to mount them all to a share the same name as the machine.
I.E in the example above,
/10.0.1.15/ would be a nice mountpoint.

Then, for each mountpoint, I need to copy some files over:

cp ./DIR1/file1 ./C/Documents\ And\ Settings/All\ Users/Desktop/file2
/10.0.1.15/

If the target directory already exists (and it will), ignore it and simply
place it in that directory.
If the target *file* already exists, overwrite is OK.

You'll have to forgive my rustyness on sh script.  It's been awhile and I am
in a huge hurry.  Help with this would be greatly appreciated.

Thanks -

Gabe
-- 
View this message in context: 
http://www.nabble.com/Shell-script%3A-Mount-C%24%2C-xcopy-files-over%2C-%3E%3E-to-result-file-tf4930952.html#a14113631
Sent from the Cygwin list mailing list archive at Nabble.com.


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