From f632254f9384f66e66f36857d99dd0669bc251db Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 18 Nov 2009 05:44:37 +0000 Subject: [PATCH] Added installation instructions for missing libraries --- README | 45 ++++++++++++++++++++++++++++++++++++++------- src/configfile.c | 2 +- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/README b/README index eca05be..90776dc 100644 --- a/README +++ b/README @@ -1,12 +1,9 @@ - Wmnotify + Wmnotify + Dockable email notification program for single POP3 or IMAP4 account. Wmnotify now supports SSL. -If you want to have support for audio notification using WAV or AU sound files, -you must install the 'libsndfile' library: - http://www.zip.com.au/~erikd/libsndfile/ - Program launch: If you want wmnotify to produce sounds even when another program is using the sound card (MP3 player for example), you must use the eSound (ESD) @@ -28,8 +25,42 @@ Project website: This program was tested on the following systems: "Linux From Scratch 4.0" + +For recent project news, see the "NEWS" file. -For installation instructions, see the INSTALL file. +Building wmnotify: +------------------ + +For generic installation instructions, see the "INSTALL" file. + +If you are building from the subversion repository, first run the "autogen.sh" script. -For recent project news, see the NEWS file. +If you are seeing this error message during configure: + "Can't find X11 library" +it means you are missing some libX11 files. +On Debian-based systems, install libX11-dev with this command: + apt-get install libX11-dev + +If you are seeing this error message during configure: + "Can't find header file for library Xpm" +it means you are missing some libxpm files. +On Debian-based systems, install libxpm-dev with this command: + apt-get install libxpm-dev + +If you are seeing this error message during configure: + "Can't find header file for library Xext" +it means you are missing some libxext files. +On Debian-based systems, install libxext-dev with this command: + apt-get install libxext-dev + +If you want to use SSL for your POP or IMAP account, you must install openssl: + http://www.openssl.org/ +On Debian-based systems, install libsndfile with this command: + apt-get install libssl-dev + +If you want to have support for audio notification using WAV or AU sound files, +you must install the 'libsndfile' library: + http://www.zip.com.au/~erikd/libsndfile/ +On Debian-based systems, install libsndfile with this command: + apt-get install libsndfile1-dev diff --git a/src/configfile.c b/src/configfile.c index f2e5a2b..604080c 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -225,7 +225,7 @@ ParseConfigurationFile( FILE *file ) #endif } else { - fprintf( stderr, "%s: Invalid value for for parameter 'use_ssl' in\n" \ + fprintf( stderr, "%s: Invalid value for parameter 'use_ssl' in\n" \ "configuration file (must be 0 or 1): %d\n", PACKAGE, number ); exit( EXIT_FAILURE ); } -- 2.20.1