не может включить поддержку xft и freetype для emacs 25.2

Просто у меня была аналогичная проблема с одним приложением. Проблема с принятым ответом заключается в том, что файлы рабочего стола могут храниться во многих других местах, например, не только в списке, например ~/.kde/share/apps/RecentDocuments/.

Поэтому я могу предложить использовать find полезности в таком случае. Нужно выяснить, какая строка, как гарантируется, является частью имени файла рабочего стола для рассматриваемого приложения, и эта строка должна быть довольно длинной, чтобы избежать слишком большого объема вывода.

Например ( «iname» означает нечувствительное к регистру имя, * является подстановочным знаком, это означает любой символ (-ы) вместо него):

sudo find / -iname '*tweet*'

Также следует попробовать, если необходимо, поиска какой-либо определенной строки в все файлы рабочего стола в системе:

sudo find / -name '*.desktop' -exec grep -i '*tweet*' {} +

Затем удалите все найденные файлы и выйдите из системы.

Это должно помочь OP удалить эти значки из меню .

1
задан 8 June 2017 в 14:14

2 ответа

Holy moly molly

Оказывается, это потому, что configure может найти некоторые зависимости под моим $HOME/.linuxbrew, то есть .linuxbrew/Cellar/libxml2/2.9.4/include/libxml2, чтобы он продолжал искать другие зависимости в том же каталоге. Вот почему, несмотря на то, что установлено множество зависимостей, они не могут быть найдены. После удаления $HOME/.linuxbrew, потому что я больше не использую linuxbrew, все работает отлично, как ожидалось. BTW, linuxbrew дал мне тяжелое время даже из его могилы на моем компьютере. Он намного менее стабилен по сравнению с домашним ходом Mac OSX.

Configured for 'x86_64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -g3 -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK3 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng12 Does Emacs use -lrsvg-2? yes Does Emacs use cairo? no Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lgconf? yes Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? yes -lacl Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? no Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets (requires gtk3)? no
0
ответ дан 18 July 2018 в 11:58

Holy moly molly

Оказывается, это потому, что configure может найти некоторые зависимости под моим $HOME/.linuxbrew, то есть .linuxbrew/Cellar/libxml2/2.9.4/include/libxml2, чтобы он продолжал искать другие зависимости в том же каталоге. Вот почему, несмотря на то, что установлено множество зависимостей, они не могут быть найдены. После удаления $HOME/.linuxbrew, потому что я больше не использую linuxbrew, все работает отлично, как ожидалось. BTW, linuxbrew дал мне тяжелое время даже из его могилы на моем компьютере. Он намного менее стабилен по сравнению с домашним ходом Mac OSX.

Configured for 'x86_64-unknown-linux-gnu'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -g3 -O2 Should Emacs use the GNU version of malloc? yes (Using Doug Lea's new malloc from the GNU C Library.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? x11 What toolkit should Emacs use? GTK3 Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng12 Does Emacs use -lrsvg-2? yes Does Emacs use cairo? no Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? yes Does Emacs use -ldbus? yes Does Emacs use -lgconf? yes Does Emacs use GSettings? yes Does Emacs use a file notification library? yes -lglibc (inotify) Does Emacs use access control lists? yes -lacl Does Emacs use -lselinux? yes Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? yes Does Emacs use -lm17n-flt? yes Does Emacs use -lotf? yes Does Emacs use -lxft? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? no Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets (requires gtk3)? no
0
ответ дан 24 July 2018 в 19:53

Другие вопросы по тегам:

Похожие вопросы: