alterrebe / docker-mail-relay

Postfix Mail Relay in a Docker container
MIT License
70 stars 40 forks source link

Enabling C extension compilation for j2cli #4

Closed temujin9 closed 8 years ago

temujin9 commented 8 years ago

Fixes the following warning:

Installing collected packages: j2cli, jinja2, MarkupSafe
  Running setup.py install for MarkupSafe

    building 'markupsafe._speedups' extension
    x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c markupsafe/_speedups.c -o build/temp.linux-x86_64-2.7/markupsafe/_speedups.o
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    ==========================================================================
    WARNING: The C extension could not be compiled, speedups are not enabled.
    Failure information, if any, is above.
    Retrying the build without the C extension now.

    ==========================================================================
    WARNING: The C extension could not be compiled, speedups are not enabled.
    Plain-Python installation succeeded.
    ==========================================================================
alterrebe commented 8 years ago

Thanks for the patch! In fact jinja2 is used during the configuration only, so the performance isn't important, but the warnings may be disturbing.