Articles Tagged: cygwin

Perl Tk on Cygwin June 28, 2007

Getting Perl/Tk running under cygwin seems to be a constant pain. Until the recent perl release which went to a site/5.8 directory for modules, this was something that I went through every time I upgraded perl. I think I found the secret though. Apparently they dropped cygwin support in Tk804. You need to get Tk800.025 from cpan. Make test still reports a few errors, but the installation works for me.

Imagemagick and PerlMagick on Cygwin June 28, 2007

PerlMagick is another one I always struggle to install under cygwin. I have gotten it to work under cygwin 1.15.18-1. First, don’t use the ImageMagick package distributed with cygwin. Get version 5.5.7 binary, cygwin distribution originally from www.imagemagick.org but since they have moved to version 6.

Install ImageMagick into /usr/local with the following commands:

$ cd /tmp
$ tar -xvzf ImageMagick-i686-pc-cygwin.tar.gz
$ cd ImageMagick-5.5.7
$ tar -cvzf install.tgz *
$ cd /usr/local
$ tar -xvzf /tmp/ImageMagick-5.5.7/install.tgz
$ rm -rf /tmp/ImageMagick-5.5.7

More...

Installing CRM114 on Cygwin June 28, 2007

As is typical with installing anything in cygwin, CRM114 took some tweaking to get it to install properly. The CRM114 Discriminator is a “Controllable Regex Mutilator” according to their website. In engilish it is an complex and interesting tool to “examine incoming e-mail, system log streams, data files or other data streams, and to sort, filter, or alter the incoming files or data streams according to the user’s wildest desires.” Mostly it is used to sort spam.

Anyway, here is what I needed to do to install crm114 under cygwin. I used the 20040231-BlameYokohama version of CRM114. First, get the libiconv, gettext and procmail from cygwin. Then get the Mew from www.Mew.org (I used version 3.3.) Install mew-3.3 with cd bin && ./configure && make && make install. This will give you mewdecode and mewencode. From the CRM114 package cd into tre directory and install with ./configure && make && make install. Now, back in the main CRM114 dir, edit the Makefile to add the following lines somewhere after the initial definitions.

CFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib
LIBS += -lintl -liconv

More...

License

The contents of this blog are licensed under the Creative Commons “Attribution-Noncommercial-Share Alike 3.0″ license.