mailing-list for TeXmacs Users

Text archives Help


Re: Compiling TeXmacs on Debian Buster


Chronological Thread 
  • From: Frank <address@hidden>
  • To: address@hidden
  • Subject: Re: Compiling TeXmacs on Debian Buster
  • Date: Mon, 29 Jul 2019 20:28:40 +0800

Hello,

Could you please add more details about the deprecated uses? And it seems to me that casting from (int *) to (size_t *) breaks the strict aliasing rule and it is definitively an undefined behavior (in both C and C++), therefore it seems better for you to report the bug at http://savannah.gnu.org/bugs/?func=addbug&group=texmacs

Best wishes,

On 29/07/2019, Ingolf Schäfer wrote:
Hi,

just a short write up on my experience to compile TeXmacs from source on Debian Buster. I was on ARM, so I couldn't use prebuilt .debs or statically compiled binaries.

My first problem: guile 1.8 is not in Debian anymore and the version that that is mirrored for Texmacs here [1] did not produce debs since a unit test failed. Guile works fine tough, but I had to install it with make install directly.

Next problem: Freetype does not support freetype-conf on Debian Buster anymore, so I could use the TeXmacs configure script. So, I went for cmake.

But cmake failed as well, since GCC 8.3 complains very much about deprecated use of language elements and invalid (int *) to (size_t *) conversions. I had to manually insert "-fpermissive" into CMakeLists.txt which is far from optimal.

Hope this helps other people struggling with TeXmacs on ARM.


Yours,

Ingolf Schäfer



[1] https://github.com/texmacs/guile
--
Ingolf Schaefer
-- 
Best wishes!
Yours,



Archive powered by MHonArc 2.6.19.

Top of page