Re: setup-x86.exe BAD signature from "Cygwin "

2016-10-18 Thread Brian Inglis

On 2016-10-17 14:20, Thomas Sanders wrote:

Am I doing something wrong here?
gpg --verify setup-x86.exe.sig setup-x86.exe
gpg: Signature made Fri 09 Sep 2016 02:20:02 AM PDT using DSA key ID 676041BA
gpg: BAD signature from "Cygwin "
If I am not doing something wrong, this has been going on for a few weeks.
Please advise either way.
Thanks!


Try:
$ gpg --recv-keys 676041BA
$ gpg --edit-key 676041BA
gpg> trust
pub  1024D/676041BA  created: 2008-06-13  expires: never   usage: SC
 trust: ultimate  validity: ultimate
sub  1024g/A1DB7B5C  created: 2008-06-13  expires: never   usage: E
[ultimate] (1). Cygwin 

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu

Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y

pub  1024D/676041BA  created: 2008-06-13  expires: never   usage: SC
 trust: ultimate  validity: ultimate
sub  1024g/A1DB7B5C  created: 2008-06-13  expires: never   usage: E
[ultimate] (1). Cygwin 

gpg> q

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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: Errors using configure when building packages

2016-10-18 Thread Brian Inglis

On 2016-10-17 16:54, Sinkler, Wharton wrote:

Yes that did it. The problem was definitely caused by virus scan -
McAfee. Not sure why, but excluding the folder from on-access scanner
did not get rid of the error. Only by completely disabling Access
Protection and On-Access Scanner in the McAfee console was I able to
complete the configure script for ImageMagick on my Cygwin
installation.



Thanks for the help and hope this will help others who encounter this
problem.


What helps your system even more is deinstalling McAfee as it seems to
take a really safe but really dumb approach which slows Cygwin and Windows
drastically, unless you add a LOT of exclusions.
Then you can enable Windows Defender, and download and install Microsoft
Security Essentials if you are still on Win 7/8: Win 10 Defender includes
MSE functions so it is not required there.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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: setup-x86.exe BAD signature from "Cygwin "

2016-10-18 Thread Brian Inglis

On 2016-10-17 14:20, Thomas Sanders wrote:

Am I doing something wrong here?
gpg --verify setup-x86.exe.sig setup-x86.exe
gpg: Signature made Fri 09 Sep 2016 02:20:02 AM PDT using DSA key ID 676041BA
gpg: BAD signature from "Cygwin "
If I am not doing something wrong, this has been going on for a few weeks.
Please advise either way.
Thanks!


Try:
$ gpg --recv-keys 676041BA
$ gpg --edit-key 676041BA
gpg> trust
pub  1024D/676041BA  created: 2008-06-13  expires: never   usage: SC
 trust: ultimate  validity: ultimate
sub  1024g/A1DB7B5C  created: 2008-06-13  expires: never   usage: E
[ultimate] (1). Cygwin 

Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu

Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y

pub  1024D/676041BA  created: 2008-06-13  expires: never   usage: SC
 trust: ultimate  validity: ultimate
sub  1024g/A1DB7B5C  created: 2008-06-13  expires: never   usage: E
[ultimate] (1). Cygwin 

gpg> q

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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: cppcheck-1.76.1-1

2016-10-18 Thread David Stacey

The following packages have been updated in the Cygwin distribution:

* cppcheck-1.76.1-1
* cppcheck-gui-1.76.1-1

Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++
compilers and many other analysis tools it does not detect syntax
errors in the code. Cppcheck primarily detects the types of bugs that
the compilers normally do not detect. The goal is to detect only real
errors in the code (i.e. have zero false positives).

This is an update to the latest upstream release.

Dave.

--
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: Cygwin shell eats Windows exceptions?

2016-10-18 Thread Wilfried
Bill Smith wrote:

> 
> Thanks for all of the responses from everyone. 
> 
> > If you need to do interactive debugging, run it under cmd or with cygstart.
> 
> [Bill Smith] it seems that an ok workaround is for me to use cygstart to 
> start a command prompt within a Cygwin shell and then in the command prompt, 
> run the program which calls DebugBreak and cause the popup to appear.  The 
> reason for needing to run within Cygwin is because we have a complex shell 
> script that sets the user environment to run the application.

OK, if that is the only reason for using cygwin, I can recommend another
way to run a complex shell script in windows.
There is a native windows port of the bash shell in
http://win-bash.sourceforge.net/

If you need more unix command line utilities, look in
https://sourceforge.net/projects/gnuwin32/

HTH, Wilfried
-- 
Wilfried Hennings


--
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: Cygwin shell eats Windows exceptions?

2016-10-18 Thread cyg Simple
On 10/18/2016 2:03 PM, Wilfried wrote:
> Bill Smith wrote:
> 
>>
>> Thanks for all of the responses from everyone. 
>>
>>> If you need to do interactive debugging, run it under cmd or with cygstart.
>>
>> [Bill Smith] it seems that an ok workaround is for me to use cygstart to 
>> start a command prompt within a Cygwin shell and then in the command prompt, 
>> run the program which calls DebugBreak and cause the popup to appear.  The 
>> reason for needing to run within Cygwin is because we have a complex shell 
>> script that sets the user environment to run the application.
> 
> OK, if that is the only reason for using cygwin, I can recommend another
> way to run a complex shell script in windows.
> There is a native windows port of the bash shell in
> http://win-bash.sourceforge.net/
> 
> If you need more unix command line utilities, look in
> https://sourceforge.net/projects/gnuwin32/
> 

Wilfried I think you miss the point of Bill's need and these items you
point to are a bit old as in maintenance appears lacking.  Last file
date for win-bash was 2011 and for gnuwin32 was 2010.

Bill needed to instruct others using Cygwin how to operate with a native
application.  There is no dependence on bash or other scripting language
on Bill's behalf.

-- 
cyg Simple

--
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: mkvtoolnix-9.5.0-1

2016-10-18 Thread David Stacey

The following packages have been updated in the Cygwin distribution:

* mkvtoolnix-9.5.0-1
* mkvtoolnix-gui-9.5.0-1

MKVToolNix is a set of tools to create, alter and inspect Matroska
files (*.mkv, *.mka).

This is an update to the latest upstream release.

Dave.

--
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: pdftk cygwin 32-bit

2016-10-18 Thread Ivandro Sanches
Thank you very much Marco Atzeri.

Your help also led me to find qpdfview, which can read djvu, ps, png,
etc. It is amazing!

Best regards.

Ivandro

PS: sorry, since I did not know how to answer directly from the thread
in the mailing list



On Wed, Aug 31, 2016 at 5:19 PM, Ivandro Sanches
 wrote:
> I would like to install pdftk but it seems it is not present anymore
> among the available packages from setup-x86.exe.
>
> If possible, could you please give me some hint on how to install
> pdftk on cygwin 32-bit?
>
> Thanks a lot

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



falled compilations

2016-10-18 Thread juan carlos Rebate
first say I am new to this list, second discupas I ask for my bad
English writing

I have been programming for windows since 2004, now I am forced to
compile certain Linux applications on Windows, the problem is that I
receive errors that in theory should not.
in the three applications receive the same error

error cc either not exit or no work,
but this is not true, when I call to gcc works correctly, todod
tutorials tell me that do the following ./configure --cc=gcc or
./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3

course this command is not valid as regards gcc gcc 3 but includes
cygwin 5, of course is not sufficient to change the 3 by 5


How you could resolve this?

--
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: falled compilations

2016-10-18 Thread René Berber
On 10/18/2016 7:04 PM, juan carlos Rebate wrote:

[snip]
> in the three applications receive the same error
> 
> error cc either not exit or no work,

First check that gcc is in the path, something like this (in mintty):

$ which gcc
/usr/bin/gcc

$ which cc
/usr/bin/cc

> but this is not true, when I call to gcc works correctly, todod
> tutorials tell me that do the following ./configure --cc=gcc or
> ./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3

Wrong, useless, tutorials.  What you really do, if needed (and it really
shouldn't be needed, see above).

./configure CC=gcc

In fact you can learn that by simply running:

./configure --help

Reagards.
-- 
René Berber



--
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: falled compilations

2016-10-18 Thread juan carlos Rebate
2016-10-19 2:31 GMT+02:00 René Berber :
> On 10/18/2016 7:04 PM, juan carlos Rebate wrote:
>
> [snip]
>> in the three applications receive the same error
>>
>> error cc either not exit or no work,
>
> First check that gcc is in the path, something like this (in mintty):
>
> $ which gcc
> /usr/bin/gcc
>
> $ which cc
> /usr/bin/cc
>
>> but this is not true, when I call to gcc works correctly, todod
>> tutorials tell me that do the following ./configure --cc=gcc or
>> ./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3
>
> Wrong, useless, tutorials.  What you really do, if needed (and it really
> shouldn't be needed, see above).
>
> ./configure CC=gcc
>
> In fact you can learn that by simply running:
>
> ./configure --help
>
> Reagards.
> --
> René Berber
>
>
>
> --
> 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
>

no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is
vygwin error because the whole development category is installed

--
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: falled compilations

2016-10-18 Thread Brian Inglis

On 2016-10-18 19:15, juan carlos Rebate wrote:

2016-10-19 2:31 GMT+02:00 René Berber :

On 10/18/2016 7:04 PM, juan carlos Rebate wrote:

in the three applications receive the same error
error cc either not exit or no work,

First check that gcc is in the path, something like this (in mintty):
$ which gcc
/usr/bin/gcc
$ which cc
/usr/bin/cc

but this is not true, when I call to gcc works correctly, todod
tutorials tell me that do the following ./configure --cc=gcc or
./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3

Wrong, useless, tutorials.  What you really do, if needed (and it really
shouldn't be needed, see above).
./configure CC=gcc
In fact you can learn that by simply running:
./configure --help

no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is
vygwin error because the whole development category is installed


On Unix most executables have no extension, so Cygwin does not always
show the .exe following a program name, and /usr/bin/gcc is the normal
Cygwin output for the compiler gcc.exe, and is not a folder name.
If you look for the file under Windows Explorer, you will see the
directory entry forgcc.exe, unless you hide extensions.

Please run Cygwin using the Cygwin Terminal Start Menu Entry;
in that window, cd to the directory where the program configure script
was downloaded; run the following command:
./configure && make
without adding any other options, and post the output in a reply here.

Without actual error messages, no one can see if you have any issues
which need fixed.

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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: falled compilations

2016-10-18 Thread juan carlos Rebate
2016-10-19 3:50 GMT+02:00 Brian Inglis :
> On 2016-10-18 19:15, juan carlos Rebate wrote:
>>
>> 2016-10-19 2:31 GMT+02:00 René Berber :
>>>
>>> On 10/18/2016 7:04 PM, juan carlos Rebate wrote:

 in the three applications receive the same error
 error cc either not exit or no work,
>>>
>>> First check that gcc is in the path, something like this (in mintty):
>>> $ which gcc
>>> /usr/bin/gcc
>>> $ which cc
>>> /usr/bin/cc

 but this is not true, when I call to gcc works correctly, todod
 tutorials tell me that do the following ./configure --cc=gcc or
 ./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3
>>>
>>> Wrong, useless, tutorials.  What you really do, if needed (and it really
>>> shouldn't be needed, see above).
>>> ./configure CC=gcc
>>> In fact you can learn that by simply running:
>>> ./configure --help
>>
>> no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is
>> vygwin error because the whole development category is installed
>
>
> On Unix most executables have no extension, so Cygwin does not always
> show the .exe following a program name, and /usr/bin/gcc is the normal
> Cygwin output for the compiler gcc.exe, and is not a folder name.
> If you look for the file under Windows Explorer, you will see the
> directory entry forgcc.exe, unless you hide extensions.
>
> Please run Cygwin using the Cygwin Terminal Start Menu Entry;
> in that window, cd to the directory where the program configure script
> was downloaded; run the following command:
> ./configure && make
> without adding any other options, and post the output in a reply here.
>
jc@DESKTOP-A72U7VL ~/qemu
$  ./configure && make

ERROR: "cc" either does not exist or does not work

--
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: falled compilations

2016-10-18 Thread Brian Inglis

On 2016-10-18 20:10, juan carlos Rebate wrote:

2016-10-19 3:50 GMT+02:00 Brian Inglis :

On 2016-10-18 19:15, juan carlos Rebate wrote:

2016-10-19 2:31 GMT+02:00 René Berber :

On 10/18/2016 7:04 PM, juan carlos Rebate wrote:

in the three applications receive the same error
error cc either not exit or no work,

First check that gcc is in the path, something like this (in mintty):
$ which gcc
/usr/bin/gcc
$ which cc
/usr/bin/cc

but this is not true, when I call to gcc works correctly, todod
tutorials tell me that do the following ./configure --cc=gcc or
./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3

Wrong, useless, tutorials.  What you really do, if needed (and it really
shouldn't be needed, see above).
./configure CC=gcc
In fact you can learn that by simply running:
./configure --help

On Unix most executables have no extension, so Cygwin does not always
show the .exe following a program name, and /usr/bin/gcc is the normal
Cygwin output for the compiler gcc.exe, and is not a folder name.
If you look for the file under Windows Explorer, you will see the
directory entry forgcc.exe, unless you hide extensions.
Please run Cygwin using the Cygwin Terminal Start Menu Entry;
in that window, cd to the directory where the program configure script
was downloaded; run the following command:
./configure && make
without adding any other options, and post the output in a reply here.

jc@DESKTOP-A72U7VL ~/qemu
$  ./configure && make

ERROR: "cc" either does not exist or does not work


Okay you said earlier:


no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is
vygwin error because the whole development category is installed


which implies you installed MinGW, not Cygwin, tools, causing the issue.

You should ask about using these tools on the MinGW mailing list, see:

https://sourceforge.net/p/mingw/mailman/mingw-users/

after reading and following:

http://www.mingw.org/wiki/Getting_Started
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
http://www.mingw.org/wiki/MinGW_for_First_Time_Users_HOWTO

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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: falled compilations

2016-10-18 Thread Brian Inglis

On 2016-10-18 20:10, juan carlos Rebate wrote:

2016-10-19 3:50 GMT+02:00 Brian Inglis :

On 2016-10-18 19:15, juan carlos Rebate wrote:

2016-10-19 2:31 GMT+02:00 René Berber :

On 10/18/2016 7:04 PM, juan carlos Rebate wrote:

in the three applications receive the same error
error cc either not exit or no work,

First check that gcc is in the path, something like this (in mintty):
$ which gcc
/usr/bin/gcc
$ which cc
/usr/bin/cc

but this is not true, when I call to gcc works correctly, todod
tutorials tell me that do the following ./configure --cc=gcc or
./configure --cc="gcc-3 -mno-cygwin" --host-cc=gcc-3

Wrong, useless, tutorials.  What you really do, if needed (and it really
shouldn't be needed, see above).
./configure CC=gcc
In fact you can learn that by simply running:
./configure --help

On Unix most executables have no extension, so Cygwin does not always
show the .exe following a program name, and /usr/bin/gcc is the normal
Cygwin output for the compiler gcc.exe, and is not a folder name.
If you look for the file under Windows Explorer, you will see the
directory entry forgcc.exe, unless you hide extensions.
Please run Cygwin using the Cygwin Terminal Start Menu Entry;
in that window, cd to the directory where the program configure script
was downloaded; run the following command:
./configure && make
without adding any other options, and post the output in a reply here.

jc@DESKTOP-A72U7VL ~/qemu
$  ./configure && make

ERROR: "cc" either does not exist or does not work


Okay you said earlier:


no on C:\cygwin\usr no gcc folder but if the mingw32 folder, this is
vygwin error because the whole development category is installed


which implies you installed MinGW, not Cygwin, tools, causing the issue.

You should ask about using these tools on the MinGW mailing list, see:

https://sourceforge.net/p/mingw/mailman/mingw-users/

after reading and following:

http://www.mingw.org/wiki/Getting_Started
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compiler_Suite
http://www.mingw.org/wiki/MinGW_for_First_Time_Users_HOWTO

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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