LE через cmake
2021-07-25 00:46![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Переделал редактор LE на сборку через cmake, вместо тормозного autoconf. Теперь собирается на ура, быстро и без плясок с бубном.
Исходники здесь: https://github.com/sergev/le-editor

Исходники здесь: https://github.com/sergev/le-editor

no subject
Date: 2021-07-25 09:15 (UTC)no subject
Date: 2021-07-25 19:14 (UTC)Но он представляет собой скорее историческую ценность, память про Ache.
no subject
Date: 2021-07-25 14:19 (UTC)no subject
Date: 2021-07-25 19:20 (UTC)no subject
Date: 2021-07-27 06:39 (UTC)/usr/include/wchar.h:284:31: error: expected initializer before ‘throw’
extern wint_t btowc (int __c) __THROW;
^
/usr/include/wchar.h:318:1: error: expected initializer before ‘throw’
__NTH (btowc (int __c))
^
In file included from /usr/include/c++/7/bits/postypes.h:40:0,
from /usr/include/c++/7/bits/char_traits.h:40,
from /usr/include/c++/7/string:40,
from /home/alex/le-editor/src/highli.cc:39:
/usr/include/c++/7/cwchar:141:11: error: ‘::btowc’ has not been declared
using ::btowc;
^~~~~
no subject
Date: 2021-07-27 06:52 (UTC)no subject
Date: 2021-07-27 18:11 (UTC)Linux Bella 4.15.0-142-generic #146-Ubuntu SMP Tue Apr 13 01:11:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
please help! I want LE.
Tried a binary, but
ldd /usr/bin/le
linux-vdso.so.1 (0x00007ffc501c4000)
libncursesw.so.6 => not found
libtinfo.so.6 => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe840be3000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe840845000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe84062d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe84023c000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe841251000)
no subject
Date: 2021-07-27 18:43 (UTC)Linux Bella звучит почти как "телефон Белла". :)
no subject
Date: 2021-07-27 19:36 (UTC)Спасибо. Там вроде проблема не с библиотекой а с инклудами.
/usr/include/wchar.h:284:31: error: expected initializer before ‘throw’
extern wint_t btowc (int __c) __THROW;
^
/usr/include/wchar.h:318:1: error: expected initializer before ‘throw’
__NTH (btowc (int __c))
no subject
Date: 2021-07-28 02:11 (UTC)no subject
Date: 2021-07-28 05:41 (UTC)no subject
Date: 2021-07-28 05:48 (UTC)Когда я работаю на Х, emacs меня полностью устраивает. А vi не люблю, а что то надо через ssh работать. Может это оно.
no subject
Date: 2021-07-28 08:39 (UTC)no subject
Date: 2021-07-28 21:23 (UTC)PS1="\[\033[47m\](\h) \W\[\033[m\033[1m\] \\\$\[\033[m\] "
Месье понимает толк в извращениях :)
А вообще bashc не имеет своего дефолтного файла? Чтобы не писать в .bashrc
. /usr/local/etc/bash_commander
Что бы bashc при старте самому этот фаил не прочитать?
no subject
Date: 2021-07-28 21:51 (UTC)Но может быть я перемудрил, и ты прав. Я подумаю.
А чо, нормальное приглашение. :)
Везде работает вроде.
no subject
Date: 2021-08-02 07:09 (UTC)no subject
Date: 2021-08-02 07:30 (UTC)no subject
Date: 2021-08-02 07:36 (UTC)no subject
Date: 2021-08-02 07:47 (UTC)