Tag Archives: windows

Install Cygwin (Lullabot)

Install Cygwin on Windows XP, by Addison Berry.

Lullabot is a great place to look for software and webdev tutorials.
The Install Cygwin tutorial is part of a vast library of free video tutorials they put out regularly.
So, in addition to our own Install Fontforge on Windows, we recommend you check out this great video tutorial. You also subscribe to their tutorials/podcasts using your favourite client like iTunes.

Windows XP doesn’t come with native tools for working with some common development tasks such as creating and applying patches. In the *nix world the tools diff and patch are standard in a dev toolbox. Cygwin will give Windows users a Linux-like command line and the ability to install a number of common Linux tools. This video will show you how to install the Cygwin base as well as diff, patch and CVS, which is the version control system that drupal.org uses for all of the core and contributed code.

The advantage to using the command line tools is that many online references for these tasks, including the drupal.org handbook, tend to use this rather than GUI instructions because they can depend on the command line being the same across systems, while various GUI tools will have many different ways to accomplish the same thing. Command line may seem scary to those that haven’t used it but it really is as easy as typing in some words and watching magic happen.

Source: http://www.lullabot.com/videocast/install-cygwin-windows-xp

(Originally published on 2007-11-14)

Cygwin1.dll

Sometimes you boot Cygwin, try to start-up X by invoking the “$ startx” command and you get this annoying message:

This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version.  The most recent version *should* reside in x:\cygwin\bin, where ‘x’ is the drive on which you have installed the cygwin distribution.  Rebooting is also suggested if you are unable to find another cygwin DLL.

cygwin1.dll error - incompatible versions of the cygwin DLL

You look for a duplicate cygwin1.dll and nothing shows up!… (hurray for windows search…)
Here’s my quickfix:
First of all you really have a duplicate cygwin1.dll.

One in the right place:

And another in the wrong place…

Don’t worry if actually don’t see the dll inside the system32 folder, THAT IS the problem (I faked things a bit to do the printscreens)

First, navigate to your computer drive into th System32 folder inside the Windows folder:

C:\WINDOWS\system32

Then turn on the option to see invisible files. It should appear.
If it doesn’t work (like it happened to me) use a file manager from another program like Filezilla (the FTP manager) and turn on the option to see invisible files.

Filezilla see invisible files

Navigate to that folder and then locate the duplicate and delete it from the System32 folder:

Filezilla navigate to system32 folder inside Windows system

Remove the cygwin1.dll from the system32 folder using Filezilla file manager:

Remove the cygwin1.dll from the system32 folder using Filezilla file manager

(Originally published on 2007-09-14, updated on 2007-11-08)

Installing Fontforge under Windows

Some people have been complainting about using linux to develop type design, specially people closer to me. Sometimes it really is a pain to reboot your computer and boot linux to do it and then boot it again to Windows to continue other work, so I decided to try and do it under Windows. Here is a small tutorial on how to do it the EASY way!

The original and CORRECT tutorial on How to install Fontforge under Windows can be found at Fontforge official website:

http://fontforge.sourceforge.net/ms-install.html

So, for people like me that don’t like to waste so much time trying to perfect out technical problems, here’s a working solution:

  1. First, you need to install a linux-like enviroment – Cygwin Enviroment
    Download the cygwin setup.
  2. Run the setup.exe and first choose your download mirror. I recommend the ftp://mirrors.kernel.org. It’s fast and reliable, at least where I’m standing – PT

  3. Then choose the packages to be installed in the Cygwin Enviroment.
    As it’s said in the Fontforge website you need the Base components, the X window system, xorg-x11-base, and xterm.
    Nevertheless, in order to guarantee better results in the future (as being able to compile usefull programs to use with Fontforge like Potrace) I recommend installing the following packages:

  4. It will take a while to download all the packages as it may reach a 225MB Download. Let the installer finish download and installing.
  5. Then you’ll need the Fontforge program.
    Download the latest cygwin binary at:

    http://sourceforge.net/project/showfiles.php?group_id=103338

  6. Unpack the file(s) with your favorite unpacking program (like Winrar) into an easy to remember directory inside Cygwin Enviroment.
    Eg. C:\cygwin\Home\User\Fontforge\
  7. Run Cygwin (by clicking the shortcuts. Yes, you should have installed them! ;P)

  8. Run the X Window System required by Fontforge. Just type in the Cygwin Bash:

    $ startx

  9. Then (in the X Terminal) just run Fontforge from the unpacked folder:

    $ run /home/user/fontforge/fontforge.exe

  10. And here it is!

(Originally published on 2005-11-02, updated 2006-02-07)