Posts Tagged ‘cygwin’

Mp3 tag manipulation in cygwin

Monday, May 26th, 2008

I couldn´t find any mp3 tagging utility using the cygwin setup.exe. So I google a bit and found this post about installing id3.

To summarize, download id3 here and unpack it.

wget http://home.wanadoo.nl/squell/files/id3-0.78.tar.gz
tar xvzf id3-0.78.tar.gz
cd id3-0.78
sed -ibak -e 's/^\(CFLAGS.*=.*$\)/\1 -mno-cygwin/' makefile
sed -ibak -e 's/\($(CXX)\) \($(OBJECTS:=.o)\)/\1 $(CXXFLAGS) \2/' makefile
make
make install

There are some issue with carriage returns when printing the tags on screen that you can fix with the instructions in here.

Cygwin/X: disappering mouse pointer

Thursday, November 15th, 2007

Remember to start the X system using startxwin.bat not startx. With startx I lose the mouse cursor/pointer when I´m over a X window.

cygwin: setup.exe crashes whem upgrading packages

Monday, November 5th, 2007

I´ve run into a very strange problem.

Every time I run setup.exe and try to upgrade bash package

setup.exe crashes with the familiar “setup.exe has generated errors and will be close by windows. you will need to restart the program. An error log is beign created”. The solution I found is for bash package but I guess it also work for other packages as well

After googling a bit I found the this mail thread . But there was no solution posted into the thread so I tried to contact the Mario Frasca (one of the participants in the mail thread) to see if he found any solution to the problem. Well, he did. He sent me a mail telling me that William Crosmun resolved his problem.

It seems that /etc/setup/bash.lst.gz become corrupted

and if you delete it

and retry the upgrade now everything should work.

UPDATE: Please make a backup of the file before deleting it. If deleting the file solve the issue then please fill a bug report at cygwin and include that file. Or post a comment here and I will try to take care of it.

Hope it helps. Remember that if your setup.exe crashes while upgrading a package other than bash you should try to delete otherpackage.lst.gz instead of bash.lst.gz.

bash: clear: command not found

Wednesday, September 26th, 2007

If your are getting “bash: clear: command not found” on you first install of cygwin you have to make sure that you include ncurses packages in your cygwin installation. clear.exe doesn´t come in the standard installation. You must include ncurses to get clear.exe in your system. If you are using bash you can use Ctrl-L and get the same result though.

UPDATE: ncurses is a cygwin package in libs category. You can install it using the the Cygwin Setup utility (just run setup.exe again). See screenshot below

Cygwin: Cannot read c: drive

Sunday, January 14th, 2007

If you are getting

ls: reading directory /cygdrive/c: No such file or directory

it’s probably because you installed Altiris Sofware Virtualization (SVS). The solution is to uninstall Altiris or use ProgramIgnoreList feature of Altiris. Read the following messages to the cygwin mailist list to know more.

original message

solution

Take a look to this altiris forum post also if you need more information about the issue

Cygwin problem: Can’t access /cygdrive/c

Monday, September 4th, 2006

I’ve lost my ability to see my c: drive from cygwin. when I do

cd c:

or

cd /cygdrive/c

all goes ok. But if I do

ls

then it complains

ecerulm@rlm-ecb4fe6cda1 /cygdrive/c $ ls ls: reading directory .: No such file or directory

I found something at this forum and also here So it seems that I screwed up permission (maybe it related to some automatic windows update). So after checking my username and group are the right on with

id

I notice that I can perform

cd /cygdrive/c/Documents\ And\ Settings

and see the contents of that directory so I must be some problem with the permission at the root folder c:

So I right-click the c drive and click on Properties. In the security tab added permission to “Read & execute” to Everyone but I didn’t solve the problem so I guess I have to live with this little anoyance.