cygwin

Python (pip) throwing [SSL: CERTIFICATE_VERIFY_FAILED] even if certificate chain updated

江枫思渺然 提交于 2020-01-01 06:36:14
问题 This is a followup to a previous SO post. I am using Windows/cygwin and I have the need for python to understand a custom CA certificate, as the network infrastructure resigns all SSL requests with its own certificate. If I try to run pip search SimpleHTTPServer , I get the following error message: ... File "c:\users\erbe\appdata\local\programs\python\python35-32\lib\ssl.py", line 633, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate

Android NDK debugging: armeabi-v7a not working

社会主义新天地 提交于 2020-01-01 04:55:14
问题 Eclipse / Cygwin NDK 8c Building a shared library I can't get gdbserver to start anymore after switching to armeabi-v7a. I've searched online for hours but can't find a topic that deals specifically with armeabi-v7a debugging issues. I have no choice to switch to armeabi-v7a due to using a third party library which depends on it. Without it, I get these kind of errors: D:\TEMP\ccnnGAqD.s:10427: Error: selected processor does not support Thumb mode `ldrex r6,[r3]' D:\TEMP\ccnnGAqD.s:10429:

How do I manually install an old cygwin package?

雨燕双飞 提交于 2020-01-01 04:33:06
问题 A project I am working on requires an old version of SLAPD (the LDAP server) and must run on Windows, hence I am using cygwin packages: I've found a binary package of slapd version I need 2.2.x here: http://www.mirrorservice.org/sites/sourceware.org/pub/cygwin/release/... How do I manually install it in cygwin? It does not seem to be a package-manager file format (like an RPM or a Deb), but is there a tool to install it for me? FYI, I'm operating behind a corporate firewall that prevents me

gcc fails with spawn: No such file or directory

南笙酒味 提交于 2020-01-01 04:18:07
问题 I downloaded Ruben’s build of Cygwin GCC. However upon running it seems unable to compile any files $ touch foo.c $ gcc foo.c gcc: error: spawn: No such file or directory As a workaround, I found this to work i686-w64-mingw32-gcc foo.c 回答1: I had this same problem on Cygwin64, and the solution was PATH related..kinda. Turns out, there are copies of gcc in /usr/bin and /bin (at least, there is in my install). Executing /bin/gcc failed with the error above -- I'm guessing due to incorrectly

i really would like sbt and its console to work under cygwin any way you think it can be done?

你离开我真会死。 提交于 2020-01-01 02:29:27
问题 i have this issue (https://github.com/sbt/sbt/issues/562) basically when I try to get a console it says: [ERROR] Failed to construct terminal; falling back to unsupportedjava.lang.IllegalArgumentException: Invalid terminal type: jline.UnixTerminal also you cant use backspace you basically cannot use sbt in cygwin (in dos is fine but cygwin is a much nicer environment) and have voiced my concern there i have tried several workaround i found on the net but they are all for old releases and no

How do I tell whether my cygwin installation is 32 or 64 bit?

僤鯓⒐⒋嵵緔 提交于 2019-12-31 17:37:32
问题 How do I tell whether my cygwin installation is 32 or 64 bit? I don't remember which setup.exe to download. And I would hate to mess up my cygwin installation. 回答1: uname -m And it should say x86_64 in the output if it's 64-bit, or i686 if 32-bit. 回答2: Run uname -m . If your cygwin install is 64-bit, the output will be x86_64 . If it's 32-bit, you will instead see i386 , i486 , i586 , or i686 . 回答3: The other answers address the OP's question, but if you're like me and use both flavors of

VS Code - Cygwin as Integrated Terminal

血红的双手。 提交于 2019-12-31 08:46:28
问题 I would like to use Cygwin as the integrated terminal on Visual Studio Code on my Windows laptop (as this would give me use of the Linux terminal commands git and G++, etc.) but when I set the value for "terminal.integrated.shell.windows": to the address of the Cygwin application ( .exe ) then it opens a new Cygwin terminal rather than remaining in VS Code. So my question is: can I use Cygwin integrated into the VS Code terminal and use that to use commands on it ( mkdir , rm , etc.) but also

Using anaconda environments with cygwin on windows

大城市里の小女人 提交于 2019-12-31 08:45:32
问题 Trying to set up environments with anaconda through the cygwin interface on Windows NT, and failing. Creating environments ( conda create -n test_env ) works fine. But activate test_env fails. I tried hacking it with: export PATH=/cygdrive/c/users/nick/anaconda3/envs/test:$PATH This fixes some behavior ( which python points to the right python). But if I then do a "conda install" command, it installs into the root anaconda directory, not the environment. Perhaps the export is local to the

Building HTK without X11

强颜欢笑 提交于 2019-12-31 07:20:57
问题 I am trying to install HTK using Cygwin (32 bit) on a x86_64 computer build. This is part of the error I get when running ./configure make all gcc = 5.4.0, g++ = 5.4.0, perl = 5; I have X11 folder in C:/cygwin/usr/share Let me know if I should post the entire error of the make file. HSLab.c: In function ‘FileExists’: HSLab.c:1209:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable] Boolean isEXF; /* File name is extended */ ^ /tmp/ccZO1TK3.o: In function InitBar':

Run GCC preprocessor non-C files

▼魔方 西西 提交于 2019-12-31 01:59:04
问题 I'm using a proprietary development environment that compiles code written in C , as well as the IEC 61131 languages. For the C compilation, it uses GCC 4.1.2 with these build options: -fPIC -O0 -g -nostartfiles -Wall -trigraphs -fno-asm The compilation is done by a program running on windows utilizing Cygwin. My issue is, IEC language preprocessor is not that useful (doesn't support #define at all) and I want to use macros! I don't see why the GCC preprocessor would really care what language