vmime
This is an old revision of the document!
Table of Contents
VMime
Introduction
VMime is the library we intend to use in Mail2Voice Next. It supports emails protocols such as IMAP and SMTP. Visit http://vmime.org for more informations.
Compiling
GNU/Linux (Ubuntu)
Prerequisites
Packages needed:
- git
- cmake
- build-essential
- pkg-config
- libgsasl7
- libgsasl7-dev
- libgnutls-dev
- libssl-dev
- sendmail
- doxygen
One can install all the stuff needed with the following command:
sudo apt-get install -y git cmake build-essential pkg-config libgsasl7 libgsasl7-dev libgnutls-dev libssl-dev sendmail doxygen
Building
git clone https://github.com/kisli/vmime.git mkdir vmime/build cd vmime/build cmake -DVMIME_BUILD_SAMPLES=OFF -DVMIME_SHARED_PTR_USE_BOOST=OFF -DVMIME_SHARED_PTR_USE_CXX=ON -DVMIME_SENDMAIL_PATH=/run/sendmail -DCMAKE_BUILD_TYPE=RELEASE .. make sudo make install
Windows (MSYS + MinGW64)
Prerequisites
- Download and install MinGW64 from sourceforge (https://sourceforge.net/projects/mingw-w64/).
- Use the following settings:
- Version: latest (6.2.0 on 2016-09-21)
- Architecture: x86_64
- Threads: win32
- Exception: seh
- Build revision: 1
- And install it on “C:\” (it will create a mingw64 directory)
- Download MSYS (https://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20(Win64%20hosted)/MSYS%20(32-bit)/). On 2016-09-21, the latest version is MSYS-20111123.zip.
- Extract the msys folder to “C:\”
- Run C:\msys\msys.bat, it will open a unix-like terminal
- From this terminal, run: sh /postinstall/pi.sh
- Answer “y” for the two first questions.
- Enter the path to your mingw64 installation (C:\mingw64) in our case.
- It should “Normalizing your MSYS environment”.
vmime.1474457239.txt.gz · Last modified: 2023/04/25 16:52 (external edit)