====== Check out, build & install paclink-unix ====== * [[https://groups.yahoo.com/neo/groups/paclink-unix/conversations/topics/331 | setup for getting paclink-unix working on Ubuntu]] - from paclink-unix forum on Yahoo. * These instructions are old & use the un-maintained code from SourceForge. Keep reading to see how to get the latest code from the github repository. ===== Get current source code for paclink-unix ===== * To get a copy of the current repository use [[https://github.com/nwdigitalradio/paclink-unix | this link]]: git clone https://github.com/nwdigitalradio/paclink-unix * Old notes for reference only from [[plu:install_plu:oldnotes | deprecated SourceForge repo]] ===== Satisfy all paclink-unix build requirements ===== * Install required build tools sudo apt-get install build-essential autoconf automake libtool * During the installs shown below if any prompts come up just choose default * postfix will prompt for the type of installation you want but for this case the config files are manually edited so your choice is not critical. ==== On Debian (6.x) Squeeze ==== * Required packages for Debian Squeeze sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb4.8-dev libgmime-2.4-dev ==== On Debian (7.x) Wheezy ==== * Required packages for Debian Squeeze sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.1-dev libgmime-2.6-dev ===== On Raspian Wheezy ==== * Note that the RPi Raspian install is identical to Debian Wheezy sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.1-dev libgmime-2.6-dev ===== On Raspian Jessie, Stretch or Buster ==== * Note that the RPi Raspian install is identical to Debian Jessie sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.3-dev libgmime-2.6-dev ===== On Debian bullseye ==== * Even though libgmime 3.0 is available, use the older libgmime 2.6 until port to 3.0 is complete. sudo apt-get install postfix libdb-dev libglib2.0-0 zlib1g-dev libncurses5-dev libdb5.3-dev libgmime-2.6-dev ===== Build paclink-unix ===== * Before you build paclink-unix you need to know which [[plu:before_you_start#mta | MTA]] is installed & configure the build for that package * Set the proper command line args for sendmail * postfix & exim4 //sendmail// program use %%-bm%% * sendmail //sendmail// program uses -ba * See Makefile.am * no argument selects sendmail MTA --enable-postfix selects postfix MTA * find the version of //automake// you are using & copy the //missing// script locally * The version I have installed is 1.14 ls -l /usr/share/automake* cp /usr/share/automake-1.14/missing . ./autogen.sh --enable-postfix ** ./configure not required if autogen.sh is run -> ./configure --enable-postfix * **Note:** if after running ./autogen.sh or ./configure and you see this line on the console: config.status: error: cannot find input file: `Makefile.in' * then run these commands: automake --add-missing ./configure --enable-postfix * Obviously only use the --enable-postfix if that is the [[plu:before_you_start#mta | MTA]] you selected (my preference). * Continue the build make sudo make install * need to run 'make install' as root * mail.wl2k should be in /usr/local/libexec * Verify both wl2ktelnet & wl2kax25 are installed whereis wl2ktelnet whereis wl2kax25 ===== A note about wl2kserial ===== * Nick n2qz, the founder of paclink-unix, developed //wl2kserial// to interface to an SCS-PTC-IIpro modem using PACTOR III ====== After install need to do some config ====== * Add user to the following groups, change username //// to something appropriate. usermod -a -G postdrop usermod -a -G mail usermod -a -G adm * verify that user is in group //mail// by executing: groups * As root set permissions in the outbox directory: * change //// to something appropriate. cd /usr/local/var/ chown -R :mail wl2k * Edit paclink-unix config file in /usr/local/etc/wl2k.conf * uncomment lines that you edit * set //mycall// to your callsign & **use uppercase** * set //timeout// to 190 * set //email// to @localhost * set //wl2k-password// * For official Winlink documentation go [[https://www.winlink.org/tags/password | here]] and look for the section that starts with: If you’re using a different Winlink e-mail client program, you must follow these steps: * set ax25port to the //portname// in /etc/ax25/axports * All the rest of the defaults should be fine