Re: cmp (or echo) bug?

2015-12-26 Thread Ismail Donmez
Hi,

David Balažic  gmail.com> writes:

> In Cygwin terminal (bash) I typed:
> 
> cmp  <(echo echo1)  <(echo echo2)

I suspect its a bash bug since it works fine with zsh (tested 64bit only).

Package containing libxml.dll

2015-12-26 Thread ravi r
I want to install the library file /usr/lib/libxml.dll.a in cygwin.
Installed package
libxml2-devel and that did not install this file. In setup program, I cannot
find a package named libxml-devel.

What package in setup can I select in cygwin setup to install
/usr/lib/libxml.dll.a?

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



Re: Package containing libxml.dll

2015-12-26 Thread Marco Atzeri

On 26/12/2015 16:35, ravi r wrote:

I want to install the library file /usr/lib/libxml.dll.a in cygwin.
Installed package
libxml2-devel and that did not install this file. In setup program, I cannot
find a package named libxml-devel.

What package in setup can I select in cygwin setup to install
/usr/lib/libxml.dll.a?




 $ cygcheck -l libxml2-devel |grep dll
/usr/lib/libxml2.dll.a

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



Re: Package containing libxml.dll

2015-12-26 Thread Larry Hall (Cygwin)

On 12/26/2015 10:35 AM, ravi r wrote:

I want to install the library file /usr/lib/libxml.dll.a in cygwin.
Installed package
libxml2-devel and that did not install this file. In setup program, I cannot
find a package named libxml-devel.

What package in setup can I select in cygwin setup to install
/usr/lib/libxml.dll.a?


You can answer questions like this one with the package search page:



As you'll find, Cygwin does not have a package for libxml(1).  If you need
it for some backwards-compatibility reason, you'll have to build it
yourself.  Otherwise, stick with libxml2.



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

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



[ANNOUNCEMENT] Updated: nccmp-1.8.0.0

2015-12-26 Thread Remik Ziemlinski

Version 1.8.0.0-1 of "nccmp" has been uploaded.

nccmp compares two NetCDF files.

New Features:
- Output statistics summary table of differences found.
- Suppress messages with a new quiet mode.
- Enable colored output to terminal.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look 
at the "List-Unsubscribe: " tag in the email header of this message. 
Send email to the address specified there. It will be in the format:


cygwin-announce-unsubscribe-you=yourdomain.com  cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available 
starting at this URL.


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



Re: stat() lstat() not able to read long filename with cyrillic chars?

2015-12-26 Thread Denis Corbin
On 25/12/2015 01:04, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
>>> First, I have read the FAQ and this mailing archive :)
>>> 
[..]
> 
>> NAME_MAX is 255.  On Windows this is the number of UTF-16 chars 
>> unfortunately.  On POSIX systems (as on Cygwin) this is the 
>> number of bytes.  Long UTF-16 strings in cyrillic take twice as 
>> much UTF-8 chars as it has UTF-16 chars, so NAME_MAX in utf-8 
>> cyrillics translates into a maximum of 127 UTF-16 chars.

Ok, I understand. Thanks for your explanation.

> 
> Aren't POSIX restrictions are a bit different? Namely 128 bytes
> per path element and 4096 bytes for file name?

Seen the sample file name it seems truncated rather near 256 bytes (~
128 UTF-16 chars) than 4096 bytes...

> 
>> If you need access to UTF-16 filenames with more characters, you 
>> can switch to a one-byte charset temporarily, e.g.
> 
>> $ LC_ALL=ru_RU your_app
> 
>> to switch to iso-8859-5 or
> 
>> $ LC_ALL=ru_RU.CP1251
> 
>> to switch to Windows codepage 1251.  See 
>> https://cygwin.com/cygwin-ug-net/setup-locale.html
> 
> 
>> HTH, Corinna
> 
> 
> 

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



where does motif package install Xm/Xm.h?

2015-12-26 Thread lloyd.wood

I'm attempting to compile Geomview, which depends on Motif, and requires
Xm/Xm.h to compile.

So, installed openmotif 2.34-3 package and source.There's an /etc/X11/mwm so 
something must have been installed. But where are the headerfiles (Xm/Xm.h
etc.) hiding? Not in the usual places; configure can't see them, can't
find them in the directory tree. Did the package even install them?

What's the secret location these days?

thanks
 

Lloyd Wood
http://www.geomview.org

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



Issues in utmp/utmpx headers

2015-12-26 Thread David Lee
Hi all,

While trying to port bsdgames to Cygwin I spotted the following issues:

(1) In /usr/include/utmpx.h, utmpxname() is declared a void function.
Should it return int?

(2) In /usr/include/sys/utmp.h, utmpname() is declared a void
function. Should it return int?

(3) _PATH_UTMPX is not defined in any system headers.

Thanks

David Lee

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



Re: where does motif package install Xm/Xm.h?

2015-12-26 Thread Ken Brown

On 12/26/2015 8:34 PM, lloyd.w...@yahoo.co.uk wrote:


I'm attempting to compile Geomview, which depends on Motif, and requires
Xm/Xm.h to compile.

So, installed openmotif 2.34-3 package and source.There's an /etc/X11/mwm so
something must have been installed. But where are the headerfiles (Xm/Xm.h
etc.) hiding? Not in the usual places; configure can't see them, can't
find them in the directory tree. Did the package even install them?

What's the secret location these days?


The secret location can be discovered by searching at

  https://cygwin.com/cgi-bin2/package-grep.cgi

which will show you that you have to install libXm-devel.

Ken

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