cygwin

Cygwin make can't find cygwin commands

While trying to install a build server I've run into a funny problem where all cygwin commands can be run from a DOS box but sometimes do not work when called from make. What's even more weird is some make targets, like 'clean', work and others, like 'all', do not. Here's a representative makefile extract. The quoting has hosed the fo...

Can't run Rails under Cygwin, due to LoadError: No such process from digest/md5

In trying to run Rails under Cygwin, the ./script/server command is producing a load error that I can't find a solution for searching on Google. I can reproduce this error in irb as follows: irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'digest/md5' LoadError: No such process - /usr/lib/ruby/1.8/i386-cygwin/digest...

Accessing a cygwin symlink from windows

Hi there, I am quite new to cygwin. I created a symlink as follows $ ln -s /var/www /cygdrive/d/foo and when I check the d drive via windows, I see a system file called foo. Is there a way to make foo act as a folder for windows instead of the system file? Thanks B ...

python win32api in cygwin-1.75

Hello, when i run fabric-0.9.1 in cygwin, it say following error: $ fab test.py Traceback (most recent call last): File "/usr/bin/fab", line 8, in <module> load_entry_point('Fabric==0.9.1', 'console_scripts', 'fab')() File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 318, in load_ent...

Compiling node.js on Cygwin

Hi. I'm trying to build node.js on my Windows XP box (Yes, it IS painful, thanks.) using Cygwin following Ryans instructions here. Sadly calling "./configure" from the node source directory barfs up this: $ ./configure /home/LWE/sources/node.js/wscript: error: Traceback (most recent call last): File "/home/LWE/sources/node.js/tools/w...

Python to recognize UNC path on cygwin

All machines are on Windows Server 2003. If I only install cygwin on one of the machine and run my python script on it to manipulate files from all remote hosts. How can I access to those files via UNC path? ...

Problem installing sqlite3-ruby on cygwin

Hey, I'm getting error while trying to install sqlite3-ruby gem: gem install sqlite3-ruby-1.3.1.gem Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby-1.3.1.gem: ERROR: Failed to build gem native extension. /usr/bin/ruby.exe extconf.rb Gem files will remain installed in /usr/lib/ru...

Communicate via Cygwin SSH (in windows) from a C# app

I have written a C# program in Windows but instead of using the Granados C# SSH Lib (or similar library) to communicate to a client via SSH, is it possible for the C# program to use the SSH in cygwin to talk to the client directly? Thanks in advance ...

cygwin sshd service not starting on windows 2003

HI; I get following error when tried to start cygwin sshd windows service: $ cygrunsrv.exe -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. I used 'ssh-host-config to install the service with privilege separation. The script created two users - sshd, sshd_server. ...

Using mingw/msys just for its posix tools: mount point question

I write cross-platform software, so I like my Windows environment to be Un*x-like (I'm an old Unix/IRIX/Linux geek). I just care about shells and tools, not so much about compilers or the build environment (I have a real industrial-strength build system that doesn't depend on mingw or cygwin). I just want a shell window on my Windows b...

Program won't run in NetBeans, but runs on the command line!

So, I'm starting a C++ class right now, and I've configured NetBeans (which I use normally for PHP and Java Development) to use the Cygwin compiler/debugger. This is my first structured experience with C++, and I'm running into a slight issue. When I attempt to run a program within NetBeans (F11 or the Green Triangle) the project builds ...

use linux shell script in window cygwin.

Hello: I have a shell script written in lunix environment. I am using clearcase as my source control. I also map the clearcase view in linux to my window xp network drive. I can go to the view by "cd /cygdrive/drive_letter". But how can I use the shell script from liunx in Cygwin on windows? I try to add the location of the shell script...

getting vi and rxvt to work in cygwin

I am trying to use rxvt on my cygwin w win XP but the terminal appears and disappears. What could be wrong? This is true for all except rxvt-native . I have tried a few commands found online but with no success. I include 2 I have tried: start C:\cygwin\bin\rxvt.exe -sb -sl 3000 -fg gray -bg black -fn "Lucida Console-14" -e /bin/bash --...

Help with explaining profiler results [STL]

Hi guys, I'm profiling a recent program that is dominated with File read. I'm kind of confused on how to interpret the results. If someone could explain to me what these top four functions are, it would help me a lot. Thanks in advance! % cumulative self self total time seconds seconds calls ...

How to check if running in Cygwin, Mac or Linux?

I have a shell script that is used both on Windows/Cygwin and Mac and Linux. It needs slightly different variables for each versions. How can a shell/bash script detect whether it is running in Cygwin, on a Mac or in Linux? ...

Eclipse CDT error: "make: *** [src/test2.o] Error 127"

On Windows XP I've installed Eclipse CDT. I've installed cygwin including make, gcc, g++, and gdb. I've added C:\cygwin\bin to the windows path variable. When I create the default HelloWorld project in Eclipse and try to build, I get the following text in the console: make all make: echo: Command not found make: * [src/...

git error : ssh: Could not resolve hostname ?

ssh: Could not resolve hostname C: hostname nor servname provided, or not known fatal: The remote end hung up unexpectedly ? ive set up a git repo useing --bare ( i even dont know what it mean ) im following the http://stackoverflow.com/questions/1960799/using-gitdropbox-together-effectively and when i do $ git clone C:\Users\DAMS\Docu...

createing wamp server with cygwin ?

i notice that in cygwin we can install apache2. can we make a wamp with cgywin ? ( php mysql and apache ) better with phpmyadmin ? or we cant do that ? if we can, please give me a tutorial to learn on. Thanks Adam Ramadhan ...

bash: ssh-host-config: command not found

Does anyone have ANY ideas what could be causing this. I am on win 7. I have successfully setup everything using this tutorial: http://www.kgx.net.nz/2010/03/cygwin-sshd-and-windows-7/ I am up to this command: ssh-host-config ..but I receive the error in the title. I have searched google and many other places. I cannot find one inst...

Cygwin top command - See processes for all users

Does anybody know how to see the processes for all users using top command in cygwin (part of procps library under System). I know this can be done in *nix but I am struggling in Cygwin. I have tried using pslist but it does not behave in a putty ssh console. I need to have a solution where I can see a top like dialog using ssh. I do n...