Cygwin

Cygwin

  • All Sites

3 answers

Groovy scripts no longer work under Cygwin?

In older versions of Groovy, I could run Groovy as a shell script under Cygwin, following their own instructions for doing so: $ cat ~/bin/hiworld #!/usr/bin/env groovy println("Hello world") This ...

3 answers | 4 hours ago by Tim W on Stack Overflow stackoverflow.com
2 answers

How to configure Beyond compare with Git command line

I have been trying to figure out how configure beyond compare to be used via command line when using Git on windows (cygwin). Based on beyond compare's documentation they ask you to just use "path" to ...

2 answers | 7 hours ago by learner on Stack Overflow stackoverflow.com
20 answers

How do you copy and paste into Git Bash

I'm using msysgit running on Windows XP. Tried Ctrl+V, Right click, Middle click, google... no luck.

1 answer

Install older version of gfortran on windows (cygwin x64)

I'm using cygwin 64bit for windows. It offers all the packages you could want in the setup, but I can't find a way to get an older version of a package (gcc fortran compiler in my case). I have ...

1 answers | 11 hours ago by James Wierzba on Super User superuser.com
0 answers

How can I build and test libffi under cygwin with mingw32?

After checking (most recent) tag v3.2.1: % sh autogen.sh % ./configure CC=i686-pc-mingw32-gcc % make check All tests appear to fail. Using CC=gcc, tests seem to work properly. Unfortunately I ...

0 answers

Shell script to get IPV4 address dynamically and add to route table using cygwin console for windows

I am writing a shell script which runs on cygwin console for windows, my scritp looks like this #!/usr/bin/bash cmd /c start /d "C:\cygwin\bin" ipconfig | findstr /R /C:"IPv4 Address" ipconfig #to ...

3 answers

SSH Fails Due to Key File Permissions When I Try to Provision a Vagrant VM with Anisble on Windows/Cygwin

I’m using Cygwin (CYGWIN_NT-6.3-WOW64) under Windows 8. I’m also running Vagrant (1.7.2) and Ansible (1.8.4). To be complete, my Virtualbox is 4.3.22. Cygwin and Vagrant have been installed from ...

3 answers | 16 hours ago by Michael J on Stack Overflow stackoverflow.com
5 answers

Is there an auto increment in sqlite?

I am trying to create a table with an auto-incrementing primary key in Sqlite3. I am not sure if this is really possible, but I am hoping to only have to designate the other fields. For example: ...

5 answers | 20 hours ago by ewok on Stack Overflow stackoverflow.com
0 answers

gmock Segmentationfault on EXPECT_CALL

On cygwin, EXPECT_CALL gives segmentation fault. Back trace shows: Program received signal SIGSEGV, Segmentation fault. 0x004538e2 in join (ptr=0x61230494 <vtable for pthread_key+12>, ...

1 answer

Unable to build eglibc under cygwin for raspberry pi cross-toolchain

I am using Mikhail Kupchik's tutorial to build a raspberry pi cross-toolchain for Windows. For avoiding problems related to usage of too recent packages I used Cygwin Time Machine. The packages I got ...

1 answer

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...

1 answers | yesterday by UmaN on Super User superuser.com
1 answer

Windows 7: Introduce commands for the run-command

Given Windows 7, you can press Win+R to open the command prompt. How I introduce short cuts to execute commands? For example, I use Cygwin and would like to open a Cygwin terminal simpy by writing ...

1 answers | yesterday by shuhalo on Super User superuser.com
2 answers

How to exclude a directory when zipping files

I'm trying to exclude a certain directory when building an archive using zip. Here's what I have tried: $ zip home.zip -y -r HOME -x '/AppData' -x '/AppData*' -x '/AppData/*' -x 'AppData' -x ...

2 answers | yesterday by GreenGiant on Unix & Linux unix.stackexchange.com
0 answers

“Relocation truncated to fit” only with -static

I've never asked a question, but I use this site all the time for programming help. This time, I could not find another question matching my problem. If this is a repeat, I apologize. I'm using ...

5 answers

'\r': command not found - .bashrc / .bash_profile

I have windows, using Cgywin, trying to set JAVA_HOME permanently through my .bashrc file. .bashrc: export PATH="$JAVA_HOME/bin:$PATH" export JAVA_HOME=$JAVA_HOME:"/cygdrive/c/Program Files ...

5 answers | yesterday by Jasmine on Stack Overflow stackoverflow.com
0 answers

Vagrant VM mysteriously disappearing after rebooting host

I am running Vagrant on Windows 7. I use cygwin to run Vagrant up and halt, etc... I noticed that if I do a vagrant halt, and then restart my host computer (the physical box), my vagrant VM ...

3 answers

Git Bash Shell fails to create symbolic links

When I try to create a symbolic link from the Git Bash shell, it fails every time all the time: $ ln -s /c/Users/bzisad0/Work testlink ln: creating symbolic link `testlink' to ...

3 answers | 2 days ago by iconoclast on Stack Overflow stackoverflow.com
3 answers

Can't login to Cygwin sshd server with a non-administrator user account

I'm having some difficulties logging in to my Windows 2008 server (a DC) running Cygwin sshd. I can log in fine with an account that is a member of the Domain Admins group, but when I try with a ...

1 answer

Boost not finding file

I want to use Boost's filesystem functions. I try cout << boost::filesystem::file_size(fname.c_str()) << endl; where fname="file.txt"; and I get the error boost::filesystem::file_size: ...

5 answers

How do I install cygwin components from the command line?

Is there a tool in the Cygwin package similar to apt-get on Debian or yum on redhat that allows me to install components from the command line?

5 answers | 2 days ago by vy32 on Stack Overflow stackoverflow.com
6 answers

apt-get for cygwin?

Is there any apt-get like for use with cygwin? I already tried the cyg-apt but when I try I get this error: cyg-apt: downloading: http://cygwin.mirrors.pair.com/setup-2.bz2 cyg-apt: downloading: ...

6 answers | 2 days ago by Hyztname on Stack Overflow stackoverflow.com
8 answers

How to change the title of the mintty window?

MinTTY is the new default Console for Cygwin. What's a shell command (something I can put in .bashrc, or even better, in .zshrc) to change the title of the MinTTY window ? I'd like the title of the ...

8 answers | 2 days ago by Leonel on Super User superuser.com
1 answer

Executing a unix command in cygwin launched from ant in eclipse

I have an ant build for a java project that I would like to trigger from within eclipse, that in turn launches a cygwin window that executes a deployment script. Is it possible to implement this ...

1 answers | 2 days ago by bakoyaro on Stack Overflow stackoverflow.com
0 answers

Unable to export environment variables in cygwin within a shell script

I created a setenvj1.6 shell script in my /usr/local/bin directory, in cygwin (Windows 7). setenvj1.6: export PATH=/cygdrive/c/bea/bea10/bea10g3/jdk160_05/bin:$PATH export ...

1 answer

Git blame with wildcard

I have a file in my repository I want to use git blame on, but I'm not sure what its path is. I've managed to use git log like this: git log -- '**/somefile' But I can't seem to do the same with ...

5 answers

How do I use Notepad++ (or other) with msysgit?

How do I use Notepad++ (or any other editor besides vim) with msysgit? I tried all of the following to no avail: git config --global core.editor C:\Program Files\Notepad++\notepad++.exe git config ...

1 answer

PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0

I've recently installed Cygwin to my new work laptop and ever since I've being bombarded with the above Warning message like commercial advertisements whenever I execute commands that involves php ...

1 answers | 2 days ago by dale on Stack Overflow stackoverflow.com
1 answer

java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory

I install Hadoop-0.20.2 in windows using cygwin. If i run $ bin/hadoop version Hadoop 0.20.2 Subversion https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20 -r 911707 Compiled by ...

1 answers | 2 days ago by Siddhu on Stack Overflow stackoverflow.com
3 answers

Ruby - fork, exec, detach … do we have a race condition here?

Simple example, which doesn't work on my platform (Ruby 2.2, Cygwin): #!/usr/bin/ruby backtt = fork { exec('mintty','/usr/bin/zsh','-i') } Process.detach(backtt) exit This tiny program (when ...

3 answers | 2 days ago by user1934428 on Stack Overflow stackoverflow.com
0 answers

How to build OpenLDAP source code in windows?

I downloaded OpenLDAP source code from http://www.openldap.org/software/download/. For windows, as per build instructions I downloaded cygwin and try to build the same. But after successful completion ...

15 30 50 per page
1 2 3