qtox
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
qtox [2017/10/11 13:40] – simon | qtox [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== qTox ====== | ||
- | [[|qTox]] est un client pour le protocole de communication [[https:// | ||
- | ===== Compilation ===== | ||
- | La [[https:// | ||
- | |||
- | ==== ToxCore ==== | ||
- | Avant de compiler qTox, il faut compiler ToxCore. | ||
- | |||
- | Installation des dépendances, | ||
- | <code bash> | ||
- | # apt-get install libtool autotools-dev automake checkinstall check \ | ||
- | libopus-dev libvpx-dev libsodium-dev libavdevice-dev | ||
- | </ | ||
- | |||
- | Je crée un dossier " | ||
- | <code bash> | ||
- | $ mkdir Programmes | ||
- | |||
- | $ cd Programmes/ | ||
- | |||
- | $ git clone https:// | ||
- | Clonage dans ' | ||
- | remote: Counting objects: 22397, done. | ||
- | remote: Total 22397 (delta 0), reused 0 (delta 0), pack-reused 22397 | ||
- | Réception d' | ||
- | Résolution des deltas: 100% (15662/ | ||
- | </ | ||
- | |||
- | Je continue avec la procédure détaillée sur le [[https:// | ||
- | <code bash> | ||
- | $ cd toxcore/ | ||
- | |||
- | $ git checkout v0.1.10 | ||
- | Note : extraction de ' | ||
- | |||
- | Vous êtes dans l' | ||
- | expérimentales et les valider. Il vous suffit de faire une autre extraction pour | ||
- | abandonner les commits que vous faites dans cet état sans impacter les autres branches | ||
- | |||
- | Si vous voulez créer une nouvelle branche pour conserver les commits que vous créez, | ||
- | il vous suffit d' | ||
- | |||
- | git checkout -b < | ||
- | |||
- | HEAD est maintenant sur 6295d28a... Release v0.1.10 | ||
- | |||
- | $ autoreconf -if$libtoolize: | ||
- | </ | ||
- | < | ||
- | <code bash> | ||
- | libtoolize: copying file ' | ||
- | libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, | ||
- | libtoolize: copying file ' | ||
- | libtoolize: copying file ' | ||
- | libtoolize: copying file ' | ||
- | libtoolize: copying file ' | ||
- | libtoolize: copying file ' | ||
- | configure.ac: | ||
- | configure.ac: | ||
- | configure.ac: | ||
- | configure.ac: | ||
- | configure.ac: | ||
- | configure.ac: | ||
- | build/ | ||
- | parallel-tests: | ||
- | root@laptop:/ | ||
- | checking for a BSD-compatible install... / | ||
- | checking whether build environment is sane... yes | ||
- | checking for a thread-safe mkdir -p... /bin/mkdir -p | ||
- | checking for gawk... gawk | ||
- | checking whether make sets $(MAKE)... yes | ||
- | checking whether make supports nested variables... yes | ||
- | checking whether UID ' | ||
- | checking whether GID ' | ||
- | checking how to create a ustar tar archive... gnutar | ||
- | checking whether make supports nested variables... (cached) yes | ||
- | checking for pkg-config... / | ||
- | checking pkg-config is at least version 0.9.0... yes | ||
- | checking for style of include used by make... GNU | ||
- | checking for gcc... gcc | ||
- | checking whether the C compiler works... yes | ||
- | checking for C compiler default output file name... a.out | ||
- | checking for suffix of executables... | ||
- | checking whether we are cross compiling... no | ||
- | checking for suffix of object files... o | ||
- | checking whether we are using the GNU C compiler... yes | ||
- | checking whether gcc accepts -g... yes | ||
- | checking for gcc option to accept ISO C89... none needed | ||
- | checking whether gcc understands -c and -o together... yes | ||
- | checking dependency style of gcc... gcc3 | ||
- | checking how to run the C preprocessor... gcc -E | ||
- | checking for grep that handles long lines and -e... /bin/grep | ||
- | checking for egrep... /bin/grep -E | ||
- | checking for ANSI C header files... yes | ||
- | checking for sys/ | ||
- | checking for sys/ | ||
- | checking for stdlib.h... yes | ||
- | checking for string.h... yes | ||
- | checking for memory.h... yes | ||
- | checking for strings.h... yes | ||
- | checking for inttypes.h... yes | ||
- | checking for stdint.h... yes | ||
- | checking for unistd.h... yes | ||
- | checking linux/ | ||
- | checking linux/ | ||
- | checking for linux/ | ||
- | checking for Linux epoll(7) interface... yes | ||
- | checking for gcc option to accept ISO C99... none needed | ||
- | checking for ar... ar | ||
- | checking the archiver (ar) interface... ar | ||
- | checking build system type... x86_64-pc-linux-gnu | ||
- | checking host system type... x86_64-pc-linux-gnu | ||
- | checking how to print strings... printf | ||
- | checking for a sed that does not truncate output... /bin/sed | ||
- | checking for fgrep... /bin/grep -F | ||
- | checking for ld used by gcc... /usr/bin/ld | ||
- | checking if the linker (/ | ||
- | checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B | ||
- | checking the name lister (/ | ||
- | checking whether ln -s works... yes | ||
- | checking the maximum length of command line arguments... 1572864 | ||
- | checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop | ||
- | checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop | ||
- | checking for /usr/bin/ld option to reload object files... -r | ||
- | checking for objdump... objdump | ||
- | checking how to recognize dependent libraries... pass_all | ||
- | checking for dlltool... dlltool | ||
- | checking how to associate runtime and link libraries... printf %s\n | ||
- | checking for archiver @FILE support... @ | ||
- | checking for strip... strip | ||
- | checking for ranlib... ranlib | ||
- | checking command to parse /usr/bin/nm -B output from gcc object... ok | ||
- | checking for sysroot... no | ||
- | checking for a working dd... /bin/dd | ||
- | checking how to truncate binary pipes... /bin/dd bs=4096 count=1 | ||
- | checking for mt... mt | ||
- | checking if mt is a manifest tool... no | ||
- | checking for dlfcn.h... yes | ||
- | checking for objdir... .libs | ||
- | checking if gcc supports -fno-rtti -fno-exceptions... no | ||
- | checking for gcc option to produce PIC... -fPIC -DPIC | ||
- | checking if gcc PIC flag -fPIC -DPIC works... yes | ||
- | checking if gcc static flag -static works... yes | ||
- | checking if gcc supports -c -o file.o... yes | ||
- | checking if gcc supports -c -o file.o... (cached) yes | ||
- | checking whether the gcc linker (/ | ||
- | checking whether -lc should be explicitly linked in... no | ||
- | checking dynamic linker characteristics... GNU/Linux ld.so | ||
- | checking how to hardcode library paths into programs... immediate | ||
- | checking whether stripping libraries is possible... yes | ||
- | checking if libtool supports shared libraries... yes | ||
- | checking whether to build shared libraries... yes | ||
- | checking whether to build static libraries... yes | ||
- | checking for LIBSODIUM... yes | ||
- | checking arpa/inet.h usability... yes | ||
- | checking arpa/inet.h presence... yes | ||
- | checking for arpa/ | ||
- | checking fcntl.h usability... yes | ||
- | checking fcntl.h presence... yes | ||
- | checking for fcntl.h... yes | ||
- | checking netdb.h usability... yes | ||
- | checking netdb.h presence... yes | ||
- | checking for netdb.h... yes | ||
- | checking netinet/ | ||
- | checking netinet/ | ||
- | checking for netinet/ | ||
- | checking for stdint.h... (cached) yes | ||
- | checking for stdlib.h... (cached) yes | ||
- | checking for string.h... (cached) yes | ||
- | checking sys/ | ||
- | checking sys/ | ||
- | checking for sys/ | ||
- | checking sys/time.h usability... yes | ||
- | checking sys/time.h presence... yes | ||
- | checking for sys/ | ||
- | checking for unistd.h... (cached) yes | ||
- | checking for stdbool.h that conforms to C99... yes | ||
- | checking for _Bool... yes | ||
- | checking for int16_t... yes | ||
- | checking for int32_t... yes | ||
- | checking for pid_t... yes | ||
- | checking for size_t... yes | ||
- | checking for uint16_t... yes | ||
- | checking for uint32_t... yes | ||
- | checking for uint64_t... yes | ||
- | checking for uint8_t... yes | ||
- | checking whether byte ordering is bigendian... no | ||
- | checking vfork.h usability... no | ||
- | checking vfork.h presence... no | ||
- | checking for vfork.h... no | ||
- | checking for fork... yes | ||
- | checking for vfork... yes | ||
- | checking for working fork... yes | ||
- | checking for working vfork... (cached) yes | ||
- | checking for gettimeofday... yes | ||
- | checking for memset... yes | ||
- | checking for socket... yes | ||
- | checking for strchr... yes | ||
- | checking for malloc... yes | ||
- | checking for clock_gettime in -lrt... yes | ||
- | checking for the pthreads library -lpthreads... no | ||
- | checking whether pthreads work without any flags... no | ||
- | checking whether pthreads work with -Kthread... no | ||
- | checking whether pthreads work with -kthread... no | ||
- | checking for the pthreads library -llthread... no | ||
- | checking whether pthreads work with -pthread... yes | ||
- | checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE | ||
- | checking if more special flags are required for pthreads... no | ||
- | checking for PTHREAD_PRIO_INHERIT... yes | ||
- | checking for pthread_self in -lpthread... yes | ||
- | checking for OPUS... yes | ||
- | checking for VPX... yes | ||
- | checking for CHECK... yes | ||
- | checking that generated files are newer than configure... done | ||
- | configure: creating ./ | ||
- | config.status: | ||
- | config.status: | ||
- | config.status: | ||
- | config.status: | ||
- | config.status: | ||
- | config.status: | ||
- | config.status: | ||
- | config.status: | ||
- | </ | ||
- | <code bash> | ||
- | $ make -j$(nproc) | ||
- | </ | ||
- | < | ||
- | <code bash> | ||
- | make all-recursive | ||
- | make[1] : on entre dans le répertoire « / | ||
- | Making all in build | ||
- | make[2] : on entre dans le répertoire « / | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CC | ||
- | CCLD | ||
- | ar: `u' modifier ignored since `D' is the default (see `U') | ||
- | CCLD | ||
- | CCLD | ||
- | ar: `u' modifier ignored since `D' is the default (see `U') | ||
- | ar: `u' modifier ignored since `D' is the default (see `U') | ||
- | CCLD | ||
- | CCLD | ||
- | CCLD | ||
- | ar: `u' modifier ignored since `D' is the default (see `U') | ||
- | CCLD | ||
- | CCLD | ||
- | CCLD | ||
- | CCLD | ||
- | make[2] : on quitte le répertoire « / | ||
- | make[2] : on entre dans le répertoire « / | ||
- | make[2] : on quitte le répertoire « / | ||
- | make[1] : on quitte le répertoire « / | ||
- | </ | ||
- | </ | ||
- | <code bash> | ||
- | # make install | ||
- | </ | ||
- | < | ||
- | <code bash> | ||
- | make install-recursive | ||
- | make[1] : on entre dans le répertoire « / | ||
- | Making install in build | ||
- | make[2] : on entre dans le répertoire « / | ||
- | make[3] : on entre dans le répertoire « / | ||
- | / | ||
- | / | ||
- | libtool: install: / | ||
- | libtool: install: (cd / | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: warning: relinking ' | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: install: (cd / | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: warning: relinking ' | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: install: (cd / | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: warning: relinking ' | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: install: (cd / | ||
- | libtool: install: (cd / | ||
- | libtool: install: / | ||
- | libtool: install: / | ||
- | libtool: install: chmod 644 / | ||
- | libtool: install: ranlib / | ||
- | libtool: install: / | ||
- | libtool: install: chmod 644 / | ||
- | libtool: install: ranlib / | ||
- | libtool: install: / | ||
- | libtool: install: chmod 644 / | ||
- | libtool: install: ranlib / | ||
- | libtool: install: / | ||
- | libtool: install: chmod 644 / | ||
- | libtool: install: ranlib / | ||
- | libtool: finish: PATH="/ | ||
- | ---------------------------------------------------------------------- | ||
- | Libraries have been installed in: | ||
- | / | ||
- | |||
- | If you ever happen to want to link against installed libraries | ||
- | in a given directory, LIBDIR, you must either use libtool, and | ||
- | specify the full pathname of the library, or use the ' | ||
- | flag during linking and do at least one of the following: | ||
- | - add LIBDIR to the ' | ||
- | | ||
- | - add LIBDIR to the ' | ||
- | | ||
- | - use the ' | ||
- | - have your system administrator add LIBDIR to '/ | ||
- | |||
- | See any operating system documentation about shared libraries for | ||
- | more information, | ||
- | ---------------------------------------------------------------------- | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | make[3] : on quitte le répertoire « / | ||
- | make[2] : on quitte le répertoire « / | ||
- | make[2] : on entre dans le répertoire « / | ||
- | make[3] : on entre dans le répertoire « / | ||
- | make[3]: rien à faire pour « install-exec-am ». | ||
- | / | ||
- | / | ||
- | make[3] : on quitte le répertoire « / | ||
- | make[2] : on quitte le répertoire « / | ||
- | make[1] : on quitte le répertoire « / | ||
- | </ | ||
- | </ | ||
- | <code bash> | ||
- | $ echo '/ | ||
- | / | ||
- | |||
- | # ldconfig | ||
- | </ | ||
- | |||
- | ==== qTox ==== | ||
- | Une fois ToxCore installé, on peut s' | ||
- | |||
- | Dépendances : | ||
- | <code bash> | ||
- | sudo apt-get install build-essential cmake ffmpeg libexif-dev libgdk-pixbuf2.0-dev \ | ||
- | libglib2.0-dev libgtk2.0-dev libopenal-dev libqrencode-dev libqt5opengl5-dev \ | ||
- | libqt5svg5-dev libsqlcipher-dev libxss-dev pkg-config qrencode qt5-default \ | ||
- | qttools5-dev qttools5-dev-tools yasm | ||
- | </ |