Build Alpine email client on and for Cygwin

The main website is at: http://alpine.x10host.com/alpine/

Releases are at: http://alpine.x10host.com/alpine/release/

And as of today (August 2019), this gets the current version of the source (you can just go there in a browser if you prefer):

$ wget http://alpine.x10host.com/alpine/release/src/alpine-2.21.tar.xz

And build instructions are at:

http://alpine.x10host.com/alpine/alpine-info/build/index.html

But, for cutting edge, we can always explore the git repository:

$ git clone https://repo.or.cz/alpine.git
$ cd alpine
$ ./configure --help
$ ./configure --with-passfile=.pine-passfile

But it throws an error:

checking Openssl library version >= 1.0.0c... configure: error: Install openssl version >= 1.0.0c

OK, install some extra development packages , ca-certificates, etc (what’s missing will depend on what you’ve got installed — this is just my experience — the Cygwin package search page can be helpful here) — either using apt-cyg or Cygwin’s setup.exe program (I found apt-cyg worked better):

$ apt-cyg install libssl1.0-devel openssl-devel
$ ./configure --with-passfile=.pine-passfile
$ make

Note openssl-devel is obsoleted, and may need to uncheck the ‘hide obsolete box in setup.exe, and try version 1.0.2 or whatever it is.

But there’s another error, this time when makeing:

sdep.c:43:10: fatal error: crypt.h: No such file or ...

So install some more development libraries — I am not clever, so I just did all the ones with ‘crypt-devel’ in the name:

$ apt-cyg install libcrypt-devel libgcrypt-devel libmcrypt-devel
$ make
$ make install
$ alpine
screen shot
Alpine running on Cygwin in MATE terminal

Then we configurate it.

Success!

Published by

Darren

I'm a scientist by training, currently working as a writer, trainer and editor.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.