Open Shidouuu opened 3 years ago
Did you install mlterm to the directory where emerge installed mlterm? If so, ABI mismatch between some libraries (libmlterm_core*.so, libpobl.so, libmef.so) which emerge installed and those that you manually installed may cause this problem. (If you build mlterm with different ./configure script options or different version from the one installed by emerge, ABI mismatch can happen.)
If you want to install mlconfig while avoiding dynamic link library issues, --disable-shared option of ./configure script may be useful.
I did it using make's default install location, which would be /usr/local. I might be stupid, since make installs it to path, doesn't it? So it would already be breaking things. I did install the make one with options, I'm not really sure how that compares to the emerge install though since it uses use flags and not all of the ./configure options are available.
How does mlconfig change the config settings? It seems weird to me that it isn't changing the ones in /etc/mlterm. What would happen if you were to then change them? What about the changes before using mlconfig? Would it still apply?
mlconfig reads current settings from mlterm, and sends sequences which make mlterm save settings to files in ~/.mlterm/. USER <-> mlconfig <-> mlterm <-> config files
In addition, mlterm uses config files in $prefix/etc/mlterm ($prefix is /usr/local by default) unless you specify --sysconfdir option in executing ./configure script.
If you manually edit config files in /etc/mlterm (/usr/local/etc/mlterm) or ~/.mlterm, mlterm reads them in startup and send these settings to mlconfig. If you edit them after starting mlterm, it doesn't apply.
Using i3 on Gentoo.
For some reason using mlconfig from a make install also affected my install using
emerge
, despite not changing any of the config files in/etc/mlconfig
. Although it opens, after entering anything it briefly closes, reopens, closes again and says there's a segmentation fault. The mlterm from the make install however, worked just fine.Excerpt from
strace mlterm
(full output):emerge --info
:emerge --info mlterm
: