четвъртък, април 08, 2010

Cygwin problem with E editor

Extract from a forum on how to setup cygwin for E text editor:

- Download the latest setup.exe from the Cygwin website. ??? not sure if this should be done, I made it only with the legacy file
- Download setup-legacy.exe from http://cygwin.com/setup-legacy.exe
- Run setup-legacy.exe from its download location and install Cygwin. Install to C:\cygwin and save packages locally to C:\cygpkg
- Open up E Text Editor. Go to Edit Menu -> Settings. Go to the 'UNIX' tab. Click 'Initialize Now'. Click to 'Install from Local Directory' then select C:\cygpkg as your locally saved location.
- Look at the error displayed. Setup should say there is an unregconized line in the setup.ini. Please check the line number. It should be 2571 as of the post but if Cygwin gets updated once again it MAY very well change. Remember this and open setup.ini in an editor that supports UNIX line breaks (E will work, Notepad will not). Find the following at line 2571 or what it said for you:

Code:

message: new-cygwin-version "This is the first time you've installed Cygwin 1.7.1.
Please be advised that this is a major release.
If you have not done so already, please check out
the documentation at ... to see how
the upgrade could potentially affect any existing
Cygwin installation.

If this is the first time you've installed Cygwin on
this system then you can ignore this message."

- Delete everything above! and save the file.
- Once again, open up E Text Editor. Go to Edit Menu -> Settings. Go to the 'UNIX' tab. Click 'Initialize Now'. Click to 'Install from Local Directory' then select C:\cygpkg as your locally saved location. This time it should go through and install properly with a few warnings. Afterwards, E should recognize that Cygwin is setup.

Optional (if you want to use the officially supported Cygwin version for E, which I would recommend):
- Delete C:\Cygwin and C:\Cygpkg
- Download setup-legacy.exe
- Run setup-legacy.exe from its download location.
- Install exactly Cygwin to the place it was before. C:\cygwin and local packages at C:\cygpkg
- You should not have to reinitialize Cygwin in E because it still thinks and knows it is there.

Reason for installing non-legacy first is because it worked for me and cygwin-setup-p.exe doesnt seem to recognize setup-legacy.ini as the legacy setup runs. I did not try to rename it.

1 коментар:

Albert каза...

Thanks, this is my solution for my new Windows 64 bits, and reinstaling e TextEditor